Guest User

Untitled

a guest
Dec 31st, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. [default]
  2. exten => _7X.,1,Dial(Dongle/dongle0/holdother:+${FILTER(0-9,${EXTEN})})
  3. exten => _+7X.,1,Dial(Dongle/dongle0/holdother:+${FILTER(0-9,${EXTEN})})
  4. exten => _8X.,1,Dial(Dongle/dongle0/holdother:+7${FILTER(0-9,${EXTEN:1})})
  5. exten => _007X.,1,Dial(Dongle/dongle0/holdother:+7${FILTER(0-9,${EXTEN:3})})
  6. exten => h,1,Hangup()
  7.  
  8.  
  9. [dongle-incoming-sms]
  10. exten => sms,1,Noop(Incoming SMS from ${CALLERID(num)} ${BASE64_DECODE(${SMS_BASE64})})
  11. exten => sms,n,System(echo ‘${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} — ${DONGLENAME} — ${CALLERID(num)}: ${BASE64_DECODE(${SMS_BASE64})}’ >> /var/log/asterisk/$
  12. exten => sms,n,Hangup()
  13.  
  14. [dongle-incoming-ussd]
  15. exten => ussd,1,Noop(Incoming USSD: ${BASE64_DECODE(${USSD_BASE64})})
  16. exten => ussd,n,System(echo ‘${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} — ${DONGLENAME}: ${BASE64_DECODE(${USSD_BASE64})}’ >> /var/log/asterisk/ussd.txt)
  17. exten => ussd,n,Hangup()
  18.  
  19. [dongle-incoming]
  20. include => dongle-incoming-sms
  21. include => dongle-incoming-ussd
  22.  
  23. exten => _X.,1,Dial(SIP/me)
  24. exten => h,1,Hangup()
Advertisement
Add Comment
Please, Sign In to add comment