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] FaxDispatch - routing - based on called number?
<snip>
Look at 'man hylafax-config' for "SHIELDED_DTMF", and you should see a nice example of how to accomplish what you want. The specific CID mechanism is changing for 4.2.2 (to CallID) from the way it was in 4.2.1, so in 4.2.2 the approach will be like this:
ModemRingResponse: AT+FCLASS=8;H1
CallIDPattern: SHIELDED_DTMF
CallIDAnswerLength: 4
ModemAnswerCmd: <delay:100>AT+FCLASS=1;A
In 4.2.1 you should use CIDNumber instead of CallIDPattern and CIDNumberAnswerLength instead of CallIDAnswerLength, but I think that it's the same otherwise.
To watch the DID come in you'll need to have you ServerTracing set up high enough, and then you'll have to look at your server log. Of course, the DID will get passed on to faxrcvd/FaxDispatch.
Lee.
<snip>
Many thanks for this, this is looking promising. Just a few questions if I may.
Will I have to modify the faxrcvd script? To include the DNIS information. Or is this passed to FaxDispatch already?
This is 4.2.1, in FaxDispatch I had something like:
case '$SENDER" in
*123*456*789*) SENDTO=me@xxxxxxxxxxxx;FILETYPE=pdf;
*987*654*321*) SENDTO=me@xxxxxxxx;filetype=pdf;;
esac
What is the equivalent of $SENDER in this case - $CIDNUMBER ?
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.2/29 - Release Date: 6/27/2005
____________________ 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*