[Asterisk-Users] Re: Fax receive issues and NVFaxDetect

Justin Newman jnewman at newmantelecom.com
Sun Mar 27 13:49:33 MST 2005


>> I removed everything but what I needed to get the fax and email it to
>> myself.  So this is all I have, Thanks..
>Well, then you need to renumber the priorities! Below is a start. Your
>code does not do any emailing, by the way... what happens when you set
>the EMAILADDR variable? Nothing... you need to add a handler script to
>send the email.
>
>[macro-faxreceive]
>exten => s,1,SetVar(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID}.tif)
>exten => s,2,rxfax(${FAXFILE})
>exten => s,3,SetVar([EMAIL PROTECTED])
>exten => s,3,System(SOME EMAILING CODE HERE)
>exten => s,5,Goto(1)
>
>--Luki

Or you can use NVFaxEmail to eliminate the scripting, however it still
requires SpanDSP and RxFax.
Look on the wiki for more information. It's either NVFaxEmail or
NVEmailFax - can't remember right now.

[context]
exten => s,1,NVFaxDetect
exten => fax,1,NVFaxEmail(somebody at somewhere.com)

Justin Newman
Newman Telecom, Inc.




More information about the asterisk-users mailing list