HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Notify control Problems ...



Hi,

 

I’m using hylafax 4.3.2 on debian. Sending and receiving faxes works. Now i want to use notify for sending/receiving faxes. FaxDipatch, FaxNotify should help, but now my problem:

 

I have 2 analog modems and I want to control for which modem notify should do something. Nothing themes to work. My sendfax from modem2 -> modem1 internal test:

 

sendfax -S -D -f \"info\@aiel.de\" -h ttyS1\@localhost -i \"anything\" = -n –d 0123456789 test.pdf

 

----

etc/FaxNotify:

empty

 

----

etc/FaxNotify.ttyS0:

NOTIFY_FAXMASTER=no;

if [ "$WHY" != "done" ]; then

        RETURNFILETYPE=pdf;

fi

 

----

etc/FaxNotify.ttyS1:

NOTIFY_FAXMASTER=no;

if [ "$WHY" = "done" ]; then

        RETURNFILETYPE=pdf;

fi

 

----

bin/notify

=snip=

 

if [ -f etc/FaxNotify ]; then

    . etc/FaxNotify

fi

if [ -f etc/FaxNotify.ttyS0 ] && [ "$modem" = "ttyS0" ]; then

    . etc/FaxNotify.ttyS0

fi

if [ -f etc/FaxNotify.ttyS1 ] && [ "$modem" =3D "ttyS1" ]; then

    . etc/FaxNotify.ttyS1

fi

 

=snip=

 




Project hosted by iFAX Solutions