[asterisk-users] iaxmodem + hylafax w/ DID routing

Doug Lytle support at drdos.info
Sat Apr 5 07:06:59 CDT 2008


Edwin Lam wrote:
> in FaxDispatch:
>
> FILETYPE=pdf
> case "$CALLID4" in
>    1000)
>      SENDTO=addr1 at sample.com
>    1001)
>      SENDTO=addr2 at sample.com
>    *)
>      SENDTO=blackhole at sample.com
> esac
>   

This is also incomplete,

One of my entries with archiving of the PDF and TIF:

case "$CALLID4" in

    '5051')

        #################################################################
        ## Bankers Life/Conseco (Rose Parker) (Previously Louise Taylor)#
        #################################################################

        FILETYPE=pdf;
        SENDTO=emailaddress at here.com;
        /usr/local/bin/tiff2pdf $FULLPATH -p letter -o 
faxdata/$CALLID4/pdf/$FILENAME.pdf
        cp $FULLPATH /var/spool/hylafax/faxdata/$CALLID4/tif/
        ;;

Doug

-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."




More information about the asterisk-users mailing list