HylaFAX The world's most advanced open source fax server

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

litle problem with dialrules



Hi all!
I have the HylaFAX software
version 4.0pl2, running on an FreeBSD system , one multitech modem.

I hope you can help me out...
heres the thing...
if i type at the server:

echo hi |sendfax -n -d 1228260

the fax its sended to the 9,,1228260 phone, and thats ok...the
/etc/dialrules do the job converting numbers to the 9,, etc...
if i run the dialtest and put a number that have more than 7 digits, the
result is

-----------------------------------------------------------
ready> 12282601
Apply CanonicalNumber rules to "12282601"
--> match rule "^1", result now "+12282601"
--> return result "+12282601"
Apply DialString rules to "12282601"
--> match rule "[0-9]{8,}", result now ""
--> return result ""
Apply DisplayNumber rules to "12282601"
--> return result "12282601"
canonical = "+12282601"
dial-string = ""
display = "12282601"
ready>
-----------------------------------------------------------

i can see that my rules are ok, cause the dial-string its empty.
But the server try to send the fax, and i dont want to send fax to
numbers that have more than 7 digits.

Any ideas???

Thank you very much.

-Leonardo

p.s i saw in the FAQ something about "DestControl file" but i dont know
how to configure it




Project hosted by iFAX Solutions