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] calling card use with hylafax



Bob Gamble wrote:
Thanks for the response Lee. I'll explain it like this. When I use a brother fax machine or similar for long distance, I start by dialing my calling card's 1-800-xxx-xxxx number. I can listen to the prompts, which ask for my card number, then for the fax number.

Once the remote fax answers, I push the "Start" button on the fax machine and it happily sends my fax. I thought there might be a way to send this 1-800 number using dial rules. I am very new to hylafax so I can only tell you I assumed there was a way.

Well, I've looked into the dialrules "strip calling card info" stuff, and I can't see what it's actually supposed to do. In testing with it it certainly does nothing like what you've suggested, and I know that in the code there's nothing special to do what you've suggested.


The way that you do what you're asking is to determine how much time must be waited for an automated process to accomplish the dialing, and then simply to insert commas as-needed into the dialstring. This could be done with dialrules to automate the application, but it could also be done at the client-level.

So if after dialing the calling card's toll-free number you have to wait at least 10 seconds for the phone company to connect you, and if you have to wait 2 seconds between entering the card number and the fax number, then you'd do something like this with sendfax...

sendfax -d 1800xxxxxxx,,,,,<card number>,<fax number>

So basically, looking at the documentation, dial rules can do things based on numbers at the start of a given dial string. So, in my case, if the fax number given starts with a 1, treat it as a long distance number and prefix 1-800-xxx-xxxx with my calling card number, then the fax number.

You can automate that in typerules (which is used for sendfax) with something like this:


^1 = 1800xxxxxxx,,,,<card number>,

If I can't do that with hylafax natively, I have found that hylafsp's client can do it; for a price. I don't mind paying for useful software, but I heard it may not be too difficult to develop my own. Or maybe hylafax does this in some way.

I'm not even sure what HylaFSP could possibly be doing to help here different from what I've shown with sendfax.


Thanks,

Lee.


____________________ 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*




Project hosted by iFAX Solutions