daily pastebin goal
33%
SHARE
TWEET

extensions.conf

jnankin Aug 15th, 2011 97 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [general]
  2. static=yes
  3. writeprotect=yes
  4.  
  5. [globals]
  6. FAXCOUNT=0
  7.  
  8. [fax-tx]
  9. exten => s,1,NoOp(**** SENDING FAX : ${FAXFILE} ****)
  10. ;exten => s,n,Wait(6)
  11. exten => s,n,SendFAX(${FAXFILE})
  12. exten => h,n,HangUp
  13.  
  14.  
  15. [flowroute-incoming]
  16. exten => _1NXXNXXXXXX,1,NoOp(**** FAX DETECTED ****)
  17. exten => _1NXXNXXXXXX,n,Answer()
  18. exten => _1NXXNXXXXXX,n,Wait(6)
  19. exten => _1NXXNXXXXXX,n,Set(GLOBAL(FAXCOUNT)=$[ ${GLOBAL(FAXCOUNT)} + 1 ])
  20. exten => _1NXXNXXXXXX,n,Set(FAXCOUNT=${GLOBAL(FAXCOUNT)})
  21. exten => _1NXXNXXXXXX,n,Set(FAXFILE=/tmp/fax-rx.tif)
  22. exten => _1NXXNXXXXXX,n,ReceiveFAX(${FAXFILE})
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top