SHARE
TWEET

Untitled

a guest Apr 3rd, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [mycontext]
  2. ; Make sure to include inbound prior to outbound because the _NXXNXXXXXX handler will match the incoming call and create a loop
  3. include => voipms-inbound
  4. include => voipms-outbound
  5.  
  6.  
  7. [voipms-outbound]
  8. exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@voipms)
  9. exten => _1NXXNXXXXXX,n,Hangup()
  10.  
  11. exten => _NXXNXXXXXX,1,Dial(SIP/1${EXTEN}@voipms)
  12. exten => _NXXNXXXXXX,n,Hangup()
  13.  
  14. exten => _00.,1,Dial(SIP/${EXTEN}@voipms)
  15. exten => _00.,n,Hangup()
  16.  
  17. [voipms-inbound]
  18. exten => 1234567890,1,Answer() ;your DID
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