HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] dialing prefix



I don't have much experience with this, but this variation might work, placed right after the "! International call" line in the dialrules file:

^[0-9]{7,}$                      = 0,&                            ! add 0 for outside calls

 

which I am guessing should take any string of numbers (0-9) that is 7 or more in length and append a "0," to it.

 

 

 

-----Original Message-----
From: Andrew Xenides [mailto:andrew@xxxxxxxxxxxxxxxx]
Sent:
Tuesday, May 03, 2005 2:36 AM
To: 'Donald, Adam'
Cc: hylafax-users@xxxxxxxxxxx
Subject: RE: [hylafax-users] dialing prefix

 

i changed my dialrules to say

 

DialString := [
^[0]{10}$                      = 0,&
[-${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
]

but it still doesnt add the prefix to the number

 

Andrew Xenides
Web Developer
EscapeNet
465 South Road
Keswick SA 5035
T: (08) 8292 5200
F: (08) 8292 5299
E: andrew@xxxxxxxxxxxxxxxx
W: http://www.esc.net.au

 

 


From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Donald, Adam
Sent:
Monday, 2 May 2005 11:28 PM
To: Andrew Xenides
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] dialing prefix

Take a look at ..hylafax/etc/dialrules

We use the following line:

^[0-9]{7,}$                      = 9,&                            ! add 9 for outside calls

 

under the DialString section to append a '9' to any dial string 7 or greater in length.

 

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Andrew Xenides
Sent:
Sunday, May 01, 2005 8:40 PM
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] dialing prefix

 

Hi,

 

When we send a fax, we need to put "0," in front of the fax number to get an external line. however, the coversheet will then show

"To:  0,0912341234"

 

where can i set the dialing rules to put this 0, in so it wont show up on the cover sheet.

 

Andrew Xenides
Web Developer
EscapeNet
465 South Road
Keswick SA 5035
T: (08) 8292 5200
F: (08) 8292 5299
E: andrew@xxxxxxxxxxxxxxxx
W: http://www.esc.net.au

 




Project hosted by iFAX Solutions