HylaFAX The world's most advanced open source fax server

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

etc/FaxDispatch file format ?!?



Heya All .. 

still working my way through the faxrcvd script ...

With FaxDispatch .. what format is it meant to be in ? anyone know .. i guess it should
be just a simple shell script  .. 

if $SENDER = 123456 then return value ?

this is what faxrcvd does with it ...

    SENDER="`$INFO $FILE | $AWK -F: '/Sender/ { print $2 }' 2>/dev/null`"
    SENDTO=
    if [ -f etc/FaxDispatch ]; then
        . etc/FaxDispatch       # NB: FaxDispatch sets SENDTO based on $SENDER
    fi

Anyone already done a FaxDispatch script they want to share or tell me about? =)

thanks ... 

Regards,
-- 
ninja@hutch.com.au
Anthony Green

Hutchison Internet					Level 1, 40 Pacific Highway
Technical Sales Consultant				St Leonards NSW 2065
Hutchison Telecommunications (Australia) Limited	Phone: +61-2-99644888
Telecommunications from Hutchison Whampoa Limited	Fax:   +61-2-99644848

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT/O d? s: a-- C++$ ULSC++(++++)$ P+P L++++$>+++++ E+ W+$?>+++ N++$ !o
K--? w--- O M+$ !V PS PE Y+ PGP !t !5 X++ !R tv b DI D+++ G+ e>++ h r y?
------END GEEK CODE BLOCK------




Project hosted by iFAX Solutions