SHARE
TWEET

Untitled

a guest Jul 17th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [voipms]
  2.  
  3. exten = 3055155313,1,Goto(ringroups-custom-1,s,1)
  4.  
  5.  
  6. [local]
  7. exten => _NXXXXXX,1,dial(SIP/voipms/${EXTEN})
  8. exten => _011.,1,Dial(SIP/voipms/${EXTEN})
  9. exten => _011.,n,Hangup()
  10.  
  11. [long-distance]
  12. exten => _NXXNXXXXXX,1,dial(SIP/voipms/1${EXTEN})
  13. exten => _1NXXNXXXXXX,1,dial(SIP/voipms/1${EXTEN})
  14. exten => _011.,1,Dial(SIP/voipms/${EXTEN})
  15. exten => _011.,n,Hangup()
  16.  
  17. [macro-phone]
  18. exten => s,1,dial(SIP/${MACRO_EXTEN},25)
  19. exten => s,n,goto(${DIALSTATUS},1)
  20. exten => ANSWER,1,answer
  21.  
  22. [stations]
  23.  
  24. exten => 400,1,macro(phone)
  25.  
  26.  
  27. [users]
  28. include => stations
  29. include => local
  30. include => long-distance
  31. include => default
  32.  
  33.  
  34.  
  35. [default]
  36. exten = o,1,
  37. exten = 10,1,VoiceMailMain(${CALLERID(num)}@default)
  38. ;include = demo ; This line was commented by ASTERISK GUI
  39. exten => 1111,1,Answer()
  40. exten => 1111,n,Wait(1)
  41. exten => 1111,n,Authenticate(9920,a)
  42. exten => 1111,n,Playback(pin-number-accepted)
  43. exten => 1111,n,Wait(1)
  44. exten => 1111,n,Background(beep)
  45. exten => 1111,n,Read(spyon,,4)
  46. exten => 1111,n,GotoIf($["${spyon}" = "400"]?notallowed)
  47. exten => 1111,n,ChanSpy(SIP/${spyon},q)
  48. exten => 1111,n(notallowed),NoOp(spying on this extension is not allowed)
  49. exten => 1111,n,Hangup
RAW Paste Data
Pastebin PRO Summer Special!
Get 60% OFF on Pastebin PRO accounts!
Top