HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Re: pardon my ignorance: can hylafax add accountingcodes for long-distance



On Tue, 6 Jun 2000, -bill- wrote:

> I know that I can configure the dialing rules to add the "9," but is  
> there a way to have the rules notice that the number is long distance
> and add the accounting code (",399") too ?
> 
Well, the line we use in dialrules for getting 9 for an outside line is:
^[0-9]{4,}$        = 9,&      ! add 9 for outside calls (4 or more digits)

so the following should do the job for you:
^[0-9]{4,}$        = 9,&,399

(You can test dialrules using the "dialtest" program) 

Hope this helps...
--
Alastair Broom               ValleyT Ltd, Edinburgh, Bonnie Scotland
abroom@valleyt.co.uk



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




Project hosted by iFAX Solutions