Hylafax Mailing List Archives

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

Re: [hylafax-users] FaxDispatch and DDI numbers



Am 2004.11.10 09:35 schrieb(en) Hebrok, Christian (Gem. Leopoldshöhe):

in man faxrcvd it looks like so

case "$??????" in
106) SENDTO=stefan@localhost;FILETYPE=pdf;;
444) SENDTO=daniela@localhost;FILETYPE=pdf;;
555) SENDTO=chris@localhost;FILETYPE=pdf;;
esac

how i can get the DDI in the FaxDispatch script ?

Hello Christian,


look at your faxrcvd script. For some Linux distributions the capi4hylafax installation might modify the existing faxrcvd script.

Normally, Hylafax supplies 6 command line arguments. capi4hylafax provides an additional 7th atgument which ist the MSN or DDI number.

In Debian I had to change the faxrcvd script myself.
At the place where command line arguments are assigned in variables, I added the line 'MSN="$7"'


...
CIDNUMBER="$5"
CIDNAME="$6"
MSN="$7"
...

and I use MSN in place of ?????? in FaxDispatch.

If your faxrcvd script already assigns $7 to a variable, use this, otherwise add an assignment with a variable name you like.


Bodo


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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services