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] Dial string transformation on outgoing fax.



Quoting James Werkowski <jwerkowski@attglobal.net>:

> If I enter a dial string that is outside the local area code (212), and
> does not have a "1" as the first character, Hylafax inserts "1212"
> before 
> the dial string. E.g: 914-963-4236 translates to 12129149634236, and of
> course the call fails.

That's what the dialrules dictate.

> If I enter the dial string e.g., 212-265-1250, the 212 is stripped and
> the local call goes through correctly.
> 
> Is it a Hylafax rule that the dial string must include the "1" for calls
> outside the local area code? Or is there a config issue I need to
> address?

Look at the dialrules file and change the CanonicalNumber so that the last
line is replaced by those two:

^[0-9]{7}$      = +${Country}${Area}&   ! otherwise, insert canon form
^[^+]           = +${Country}&          ! otherwise, insert canon form

And change your DialString to do something similar according to your own setup.

-- 
Patrice Fournier
pfournier@loups.net

____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions