I have a hylafax server( hylafax 1.4.8) running on RHEL AS 3. It is 
working well on a direct tel line. But I want to send faxes through a PABX by 
dialling 9.
I tried out the options in dialrules,
^[0-9]{7,} =9,& 
and
^.*$ =9,&
and in config.ttyS0,
ModemDialCmd : ATDT9W%s
and
ATDT9,%s
 
All these options didn't work. 
 
Attached is my cofig.ttyS0 and dialrules file
 
config.ttyS0
CountryCode:            
971
AreaCode:         
4
FAXNumber:        
+97142976625
LongDistancePrefix:      
0
InternationalPrefix:      
00
DialStringRules:      
etc/dialrules
ServerTracing:          
1
SessionTracing:   
      
11
RecvFileMode:           
0600
LogFileMode:            
0600
DeviceMode:       
0600
RingsBeforeAnswer:      
3
SpeakerVolume:    
      
medium
GettyArgs:        "-h %l 
dx_%s"
LocalIdentifier:      
"NothingSetup"
TagLineFont:            
etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page 
%%P of %%T"
MaxRecvPages:           
25
ModemType:        Class1            # use this to 
supply a hint
ModemRate:        19200       # rate for 
DCE-DTE communication
ModemFlowControl: 
rtscts      
      # 
default
ModemNoFlowCmd:   
      
AT&K0       # setup no flow 
control
ModemHardFlowCmd: 
AT&K3       # setup hardware 
flow control
ModemSoftFlowCmd: 
AT&K4       # setup software 
flow control
ModemSetupDTRCmd: 
AT&D2       # setup so DTR 
drop resets modem
ModemSetupDCDCmd: 
AT&C1       # setup so DCD 
reflects carrier (or not)
ModemMfrQueryCmd:      
!Rockwell
ModemModelQueryCmd:      
!RC288DPi
ModemRevQueryCmd: 
ATI3        # product 
information
ModemDialCmd:           ATDT%s            # T for tone 
dialing
-------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
dialrules
 
Area=${AreaCode}  
      ! 
local area code
Country=${CountryCode}  
      ! 
local country code
IDPrefix=${InternationalPrefix}      ! prefix for 
placing an international call
LDPrefix=${LongDistancePrefix}      ! prefix for 
placing a long distance call
!
WS=" "                 ! our notion of 
white space
!
! Convert a phone number to a canonical 
format:
!
!    
+<country><areacode><rest>
!
! by (possibly) 
stripping off leading dialing prefixes for
! long distance and/or 
international dialing.
!
CanonicalNumber := [
%.*         
      
=                 ! strip calling 
card stuff
[abcABC]    
      = 
2               ! these convert 
alpha to numbers
[defDEF]    
      = 
3
[ghiGHI]          = 
4
[jklJKL]          = 
5
[mnoMNO]          = 
6
[prsPRS]          = 
7
[tuvTUV]          = 
8
[wxyWXY]          = 
9
[^+0-9]+          =                 ! strip white 
space etc.
^${IDPrefix}            = +               ! replace int. 
dialing code
^${LDPrefix}            = 
+${Country}       ! replace l.d. 
dialing code
^[^+]             = 
+${Country}${Area}&      ! otherwise, 
insert canon form
]
!
! Process a dialing string according to local 
requirements.
! These rules do only one transformation: they convert 
in-country
! international calls to long-distance calls.
!
DialString 
:= [
[-${WS}.]+        =                 ! strip syntactic 
sugar
[abcABC]          = 2               ! these convert 
alpha to numbers
[defDEF]    
      = 
3
[ghiGHI]          = 
4
[jklJKL]          = 
5
[mnoMNO]          = 
6
[prsPRS]          = 
7
[tuvTUV]          = 
8
[wxyWXY]          = 
9
^[+]${Country}    
      = 
${LDPrefix}       ! long distance 
call
^[+]              = 
${IDPrefix}       ! international 
call
^[0-9]{7,}$             
= 9,&
]
 
--------------------------------------------------------------------------------------------------------------------------------------------------------
 
can anyone help me in this issue
Regards,
Jomy