>> 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([EMAIL PROTECTED]) Justin Newman Newman Telecom, Inc. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users