Guest User

Untitled

a guest
Aug 4th, 2017
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. exten => 0317998975,1,Answer()
  2. exten => 0317998975,n,Set(filename=/var/spool/asterisk/fax/${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${CALLERID(num)}-0317998975)
  3. exten => 0317998975,n,ReceiveFAX(${filename}.tiff)
  4. exten => 0317998975,n,NoOp(${FAXSTATUS})
  5. exten => 0317998975,n,NoOp(${FAXPAGES})
  6. exten => 0317998975,n,NoOp(${FAXRESOLUTION})
  7. exten => 0317998975,n,System(tiff2pdf -p A4 ${filename}.tiff > ${filename}.pdf)
  8. exten => 0317998975,n,NoOp(${SYSTEMSTATUS})
  9.  
  10. -- Attempting call on Local/[email protected] for application SendFax(/root/fax.tiff) (Retry 1)
  11. -- Executing [[email protected]:1] Answer("Local/[email protected];2", "") in new stack
  12. -- Channel 'Local/[email protected];1' sending FAX:
  13. -- /root/fax.tiff
  14. -- Executing [[email protected]:2] Set("Local/[email protected];2", "filename=/var/spool/asterisk/fax/20110316-180828-0317998985-0317998975") in new stack
  15. -- Executing [[email protected]:3] ReceiveFAX("Local/[email protected];2", "/var/spool/asterisk/fax/20110316-180828-0317998985-0317998975.tiff") in new stack
  16. -- Channel 'Local/[email protected];2' receiving FAX '/var/spool/asterisk/fax/20110316-180828-0317998985-0317998975.tiff'
  17. [Mar 16 18:08:40] WARNING[14710]: res_fax_spandsp.c:367 spandsp_log: WARNING T.30 ECM carrier not found
  18. -- Executing [[email protected]:4] NoOp("Local/[email protected];2", "SUCCESS") in new stack
  19. -- Executing [[email protected]:5] NoOp("Local/[email protected];2", "1") in new stack
  20. -- Executing [[email protected]:6] NoOp("Local/[email protected];2", "8031x7700") in new stack
  21. -- 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
  22. [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