HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Question about FaxDispatch



Hi all,
I would like not to generate the notification to FaxMaster for incoming
faxes.
I see that adding 

NOTIFY_FAXMASTER=never;

into FaxDispatch

works great.

But my FaxDispatch is a bit complex, and I am a lazy boy, so it looks
like....

 case "$DEVICE" in
        tty2697IAX)
                SENDTO=a.b@xxxxxxxxxxxxxxx;
                FILETYPE=pdf;;
        tty05821IAX)
                SENDTO=c.d@xxxxxxxxxxxxxxx;
                FILETYPE=pdf;;
        tty20021IAX)
                SENDTO=e.f@xxxxxxxxxxxxxxx;
                FILETYPE=pdf;;
        tty16720IAX)
                SENDTO=g.h@xxxxxxxxxxxxxxx;
                FILETYPE=pdf;;
   .....
...a lot of other devices...

 esac

adding in this way works
 case "$DEVICE" in
        tty2697IAX)
		    NOTIFY_FAXMASTER=never;
                SENDTO=a.b@xxxxxxxxxxxxxxx;
                FILETYPE=pdf;;
        tty05821IAX)
....

but I have to add it to all devices !!!

I tried (without any success...)
NOTIFY_FAXMASTER=never;;
 case "$DEVICE" in
        tty2697IAX)
                SENDTO=a.b@xxxxxxxxxxxxxxx;
                FILETYPE=pdf;;
        tty05821IAX)
                SENDTO=c.d@xxxxxxxxxxxxxxx;

The question is: Is there a way to only input given line somewhere, or
should I add it to all "cases" ?
moreover: the same thing for 
FILETYPE=pdf;; 
Now I am repeating it in all cases: Can I compact this ?

thanks all in advance,

Andrea

Attachment: smime.p7s
Description: S/MIME cryptographic signature




Project hosted by iFAX Solutions