SHARE
TWEET

Untitled

a guest Feb 18th, 2020 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [general]
  2. static=yes
  3. writeprotect=no
  4. clearglobalvars=no
  5.  
  6. [default]
  7. include => day,07:00-20:59,*,*,*
  8. include => night,21:00-06:59,*,*,*
  9.  
  10. [day]
  11. include => local
  12. include => secretary
  13. ;я забыл что было в инвалид-3
  14. ;include => invalid-3
  15. include => invalid-2
  16. include => invalid-1
  17. include => invalid-i
  18. include => call-700
  19. include => call-701
  20. exten => t,1,Hangup()
  21.  
  22. [night]
  23. include => security
  24. include => invalid-i
  25. include => call-700
  26. include => call-701
  27. exten => t,1,Hangup()
  28.  
  29. [call-700]
  30. exten => _700,1,Ringing
  31.  same =>        n,Wait(3)
  32.  same =>        n,Answer
  33.  same =>        n,Background(/var/lib/asterisk/sounds/ru/rfp/main)
  34.  same =>        n,WaitExten(5)
  35.  same =>        n,Hangup()
  36.  
  37. [call-701]
  38. exten => _701,1,Ringing
  39.  same =>        n,Wait(3)
  40.  same =>        n,Answer
  41.  same =>        n,Background(/var/lib/asterisk/sounds/ru/rfp/main)
  42.  same =>        n,WaitExten(5)
  43.  same =>        n,Hangup()
  44.  
  45. [secretary]
  46. exten => 1,1,Dial(SIP/cme-peer/2101,15)
  47.  same =>        n,Background(/var/lib/asterisk/sounds/ru/rfp/busy)
  48.  same =>        n,WaitExten(5)
  49.  same =>        n,Hangup()
  50.  
  51. [local]
  52. exten => _2XXX,1,Answer
  53.  same =>        n,Dial(SIP/cme-peer/${EXTEN},15)
  54.  same =>        n,Background(/var/lib/asterisk/sounds/ru/rfp/busy)
  55.  same =>        n,WaitExten(15)
  56.  
  57. [invalid-1]
  58. exten => _[0,3-9],1,Background(/var/lib/asterisk/sounds/ru/rfp/invalid)
  59.  same =>        n,WaitExten(5)
  60.  same =>        n,Hangup()
  61.  
  62. [invalid-2]
  63. exten => _X[0,2-9]XX,1,Background(/var/lib/asterisk/sounds/ru/rfp/invalid)
  64.  same =>        n,WaitExten(5)
  65.  same =>        n,Hangup()
  66.  
  67. [invalid-i]
  68. exten => i,1,Background(/var/lib/asterisk/sounds/ru/rfp/invalid)
  69.  same =>        n,WaitExten(5)
  70.  same =>        n,Hangup()
  71.  
  72. [security]
  73. exten => 2,1,Dial(SIP/cme-peer/2103,30)
  74.  same =>        n,Background(/var/lib/asterisk/sounds/ru/rfp/busy-sec)
  75.  same =>        n,Hangup()
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