Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exten => 0317998975,1,Answer()
- exten => 0317998975,n,Set(filename=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${CALLERID(num)}-0317998975)
- exten => 0317998975,n,ReceiveFAX(${filename}.tiff)
- exten => 0317998975,n,NoOp(${FAXSTATUS})
- exten => 0317998975,n,NoOp(${FAXPAGES})
- exten => 0317998975,n,NoOp(${FAXRESOLUTION})
- exten => 0317998975,n,System(tiff2pdf -p A4 ${filename}.tiff > ${filename}.pdf)
- exten => 0317998975,n,NoOp(${SYSTEMSTATUS})
- -- Attempting call on Local/[email protected] for application SendFax(/root/fax.tiff) (Retry 1)
- -- Executing [[email protected]:1] Answer("Local/[email protected];2", "") in new stack
- -- Channel 'Local/[email protected];1' sending FAX:
- -- /root/fax.tiff
- -- Executing [[email protected]:2] Set("Local/[email protected];2", "filename=/var/spool/asterisk/fax/20110316-180828-0317998985-0317998975") in new stack
- -- Executing [[email protected]:3] ReceiveFAX("Local/[email protected];2", "/var/spool/asterisk/fax/20110316-180828-0317998985-0317998975.tiff") in new stack
- -- Channel 'Local/[email protected];2' receiving FAX '/var/spool/asterisk/fax/20110316-180828-0317998985-0317998975.tiff'
- [Mar 16 18:08:40] WARNING[14710]: res_fax_spandsp.c:367 spandsp_log: WARNING T.30 ECM carrier not found
- -- Executing [[email protected]:4] NoOp("Local/[email protected];2", "SUCCESS") in new stack
- -- Executing [[email protected]:5] NoOp("Local/[email protected];2", "1") in new stack
- -- Executing [[email protected]:6] NoOp("Local/[email protected];2", "8031x7700") in new stack
- -- Executing [[email protected]:7] System("Local/[email protected];2", "tiff2pdf -p A4 /var/spool/asterisk/fax/20110316-180828-0317998985-0317998975.tiff > /var/spool/asterisk/fax/20110316-180828-0317998985-0317998975.pdf") in new stack
- [Mar 16 18:08:46] NOTICE[14709]: pbx_spool.c:362 attempt_thread: Call completed to Local/[email protected]
Advertisement
Add Comment
Please, Sign In to add comment