HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] destctrls
Hi. I know this is a so called top 10 subject but I'm not a regexp expert
and everything I've tried didn't work.
In my config.ttySx my FAXnumber look like FAXnumber: +351.12.345.6789.
In DialRules I've included ^[0-9]{9,}$ = 0,&. The 0 is needed to call
line.
My dialtest results (here we use 9 digits):
Apply CanonicalNumber rules to "123456789"
--> match rule "^[^+]", result now "+35112123456789"
--> return result "+35112123456789"
Apply DialString rules to "123456789"
--> match rule "^[0-9]{9,}$", result now "0,123456789"
--> return result "0,123456789"
Apply DisplayNumber rules to "123456789"
--> return result "123456789"
canonical = "+35112123456789"
dial-string = "0,123456789"
display = "123456789"
In destctrls
^[+][0-9]{10,}$ RejectNotice = "Call me" #reject number > 9 digits
^[+][0-9]{0,8}$ RejectNotice = "Call me" #reject number < 9 digits
Not working. Giulio tried to explain how things work but without success. I
must accept that's my fault. I was not able to understand all the issues
so, maybe with more ideas I could understand how I must do the job. Cheers
and thanks in advance for any help
Pedro Roçadas (procadas@creditus.pt)
Dptº Informática,BPN-Créditus Technical Staff
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null