HylaFAX The world's most advanced open source fax server

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

[hylafax-users] FaxDispatch Issue



Hi All

I am having a little problem with the FaxDispatch.

I have faxes coming from 2 locations. Fax01 and Fax02.

I have checked the logs and I can see the TSI for Fax01 and Fax02

Oct 16 14:46:01.37: [ 1913]: SESSION BEGIN 00000041 4408707709102
Oct 16 14:46:01.37: [ 1913]: HylaFAX (tm) Version 4.1.7
Oct 16 14:46:01.37: [ 1913]: <-- [4:ATA\r]
Oct 16 14:46:04.52: [ 1913]: --> [7:CONNECT]
Oct 16 14:46:04.52: [ 1913]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyS0'
Oct 16 14:46:04.52: [ 1913]: RECV FAX: begin
Oct 16 14:46:04.52: [ 1913]: <-- data [23]
Oct 16 14:46:04.52: [ 1913]: <-- data [2]
Oct 16 14:46:06.16: [ 1913]: --> [7:CONNECT]
Oct 16 14:46:06.16: [ 1913]: <-- data [10]
Oct 16 14:46:06.16: [ 1913]: <-- data [2]
Oct 16 14:46:06.65: [ 1913]: --> [2:OK]
Oct 16 14:46:06.65: [ 1913]: <-- [9:AT+FRH=3\r]
Oct 16 14:46:06.86: [ 1913]: --> [7:CONNECT]
Oct 16 14:46:08.66: [ 1913]: --> [2:OK]
Oct 16 14:46:08.66: [ 1913]: REMOTE TSI "Fax01"



I have added the following to the FaxDispatch file

case "$SENDER" in
    Fax01)
        SENDTO=sales@xxxxxxxxxxxxx;
        FILETYPE=tif;
        MIMENCODE=mimencode;
        ENCODING=base64;;

    Fax02)
        SENDTO=dispatch@xxxxxxxxxxxxx;
        FILETYPE=tif;
        MIMENCODE=mimencode;
        ENCODING=base64;;
esac

The faxes then fail to the FaxMaster, if I change the FaxDispatch to:

        SENDTO=sales@xxxxxxxxxxxxx;
        FILETYPE=tif;
        MIMENCODE=mimencode;
        ENCODING=base64;;

Then the sales get an email with an attached .tif and a subject including
the TSI of the sending fax i.e Fax01

Any ideas please??

Rgds
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@xxxxxxxxxxxx*




Project hosted by iFAX Solutions