HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] How to enable "DialString" processing form dialrules?
- To: Hylafax forum <hylafax-users@xxxxxxxxxxx>
- Subject: [hylafax-users] How to enable "DialString" processing form dialrules?
- From: Tomas Novosad <kbbl@xxxxxxxx>
- Date: Tue, 13 Jan 2009 16:44:37 +0100 (CET)
Hello,
i have hylafax 5.2.8 running with no problem for sime time now.
Today i need to change a bit those default dialrules.
I have my own dialrules file, but Faxq somehow only process "CanonicalNumber" rules
and does not apply "DialString" and "DisplayNumber" rules.
My dialrules file is successfuly loaded,
but when processing new job only "CanonicalNumber" rules are applied
see the log below.
Do "DialString" rules have to be explicitly enabled in "config" file?
Thanks for any help.
Tomáš Novosad
Logs follow:
Submitting of new job:
Jan 13 16:37:46 vmtnv09 FaxQueuer[17227]: SUBMIT JOB 133
Jan 13 16:37:46 vmtnv09 FaxQueuer[17227]: JOB 133 (suspended dest pri 127 tts 0:00:00 killtime 2:59:00): CREATE
Jan 13 16:37:46 vmtnv09 FaxQueuer[17227]: Apply CanonicalNumber rules to "00420972"
Jan 13 16:37:46 vmtnv09 FaxQueuer[17227]: --> match rule "^00", result now "+11420972"
Jan 13 16:37:46 vmtnv09 FaxQueuer[17227]: --> return result "+11420972"
Jan 13 16:37:46 vmtnv09 FaxQueuer[17227]: JOB 133 (suspended dest +11420972 pri 127 tts 0:00:00 killtime 2:59:00): CONTROL
As you can see, only "CanonicalNumber" rules are applied - no "DialString" rules
Here is log of loading my dialrules file
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define AreaCode = "7"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define CountryCode = "420"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define LongDistancePrefix = "0"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define InternationalPrefix = "00"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define Area = "7"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define Country = "420"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define IDPrefix = "00"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define LDPrefix = "0"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: Define WS = " "
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: CanonicalNumber := [
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "%.*" = ""
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[abcABC]" = "2"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[defDEF]" = "3"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[ghiGHI]" = "4"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[jklJKL]" = "5"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[mnoMNO]" = "6"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[prsPRS]" = "7"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[tuvTUV]" = "8"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[wxyWXY]" = "9"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[^+0-9]+" = ""
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^00" = "+11"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^0" = "+420"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^[^+]" = "+4207&"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: ]
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: DialString := [
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "%.*" = ""
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[abcABC]" = "2"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[defDEF]" = "3"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[ghiGHI]" = "4"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[jklJKL]" = "5"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[mnoMNO]" = "6"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[prsPRS]" = "7"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[tuvTUV]" = "8"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[wxyWXY]" = "9"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[^+0-9]+" = ""
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^00" = "+11"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^0" = "+420"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^[^+]" = "+4207&"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: ]
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: DisplayNumber := [
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "%.*" = ""
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[abcABC]" = "2"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[defDEF]" = "3"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[ghiGHI]" = "4"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[jklJKL]" = "5"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[mnoMNO]" = "6"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[prsPRS]" = "7"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[tuvTUV]" = "8"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[wxyWXY]" = "9"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "[^+0-9]+" = ""
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^00" = "+66"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^0" = "+420"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: "^[^+]" = "+4207&"
Jan 13 16:34:55 vmtnv09 FaxQueuer[17227]: ]
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*