All pastes #564996 Raw Edit

Something

public text v1 · immutable
·published 2007-06-13 20:29 UTC
rendered paste body
[ Context 'macro-oldext' created by 'pbx_config' ]
  's' =>            1. Playback(extension)                        [pbx_config]
                    2. SayDigits(${MACRO_EXTEN})                  [pbx_config]
                    3. Playback(has-been-changed-to)              [pbx_config]
                    4. SayDigits(${ARG1})                         [pbx_config]
                    5. Playback(lx-please-hold)                   [pbx_config]
                    6. Goto(internal|${ARG1}|1)                   [pbx_config]

[ Context 'non-DID' created by 'pbx_config' ]
  '_5[0]XX' =>      hint: SIP/${EXTEN}                            [pbx_config]
                    1. Dial(SIP/${EXTEN}|21)                      [pbx_config]
                    2. Voicemail(${EXTEN}@allstaff|u)             [pbx_config]
                    3. Hangup()                                   [pbx_config]
                    102. Voicemail(${EXTEN}@allstaff|b)           [pbx_config]
                    103. Hangup()                                 [pbx_config]

[ Context 'DID-Queues' created by 'pbx_config' ]

[ Context 'DID-Forward' created by 'pbx_config' ]
  '5131' =>         1. Dial(SIP/${EXTEN}|21)                      [pbx_config]
                    2. GotoIfTime(09:00-22:00|mon-sat|*|*?10)     [pbx_config]
                    3. Goto(11)                                   [pbx_config]
                    10. Dial(SIP/paetec/w16462323570|9|tr)        [pbx_config]
                    11. Voicemail(5131@allstaff|u)                [pbx_config]
  '5132' =>         1. Dial(SIP/${EXTEN}|21)                      [pbx_config]
                    2. GotoIfTime(09:00-22:00|mon-sat|*|*?10)     [pbx_config]
                    3. Goto(11)                                   [pbx_config]
                    10. Dial(SIP/paetec/w19086583199|12|tr)       [pbx_config]
                    11. Voicemail(5132@allstaff|u)                [pbx_config]

[ Context 'vm-direct' created by 'pbx_config' ]
  '_*5XXX' =>       1. Answer()                                   [pbx_config]
                    2. Voicemail(${EXTEN:1}@allstaff|u)           [pbx_config]
                    3. Hangup()                                   [pbx_config]

[ Context 'DID' created by 'pbx_config' ]
  '_5[1-2]XX' =>    1. Dial(SIP/${EXTEN}|18)                      [pbx_config]
                    2. NoOp(${CALLERID(num)}---${CALLERID(name)}) [pbx_config]
                    3. GotoIfTime(09:00-22:00|mon-sun|*|*?5)      [pbx_config]
                    4. Goto(6)                                    [pbx_config]
                    5. FollowMe(follow${EXTEN}|san)               [pbx_config]
                    6. Voicemail(${EXTEN}@allstaff|u)             [pbx_config]
                    7. Hangup()                                   [pbx_config]
                    102. Voicemail(${EXTEN}@allstaff|b)           [pbx_config]
                    103. Hangup()                                 [pbx_config]
  Include =>        'vm-direct'                                   [pbx_config]

[ Context 'old-extensions' created by 'pbx_config' ]
  '100' =>          1. Macro(oldext|5190)                         [pbx_config]
  '110' =>          1. Macro(oldext|5132)                         [pbx_config]
  '115' =>          1. Macro(oldext|5123)                         [pbx_config]
  '120' =>          1. Macro(oldext|5120)                         [pbx_config]
  '125' =>          1. Macro(oldext|5151)                         [pbx_config]
  '130' =>          1. Macro(oldext|5131)                         [pbx_config]
  '135' =>          1. Macro(oldext|5121)                         [pbx_config]
  '140' =>          1. Macro(oldext|5051)                         [pbx_config]
  '145' =>          1. Macro(oldext|5052)                         [pbx_config]
  '150' =>          1. Macro(oldext|5201)                         [pbx_config]
  '155' =>          1. Macro(oldext|5153)                         [pbx_config]
  '160' =>          1. Macro(oldext|5146)                         [pbx_config]
  '170' =>          1. Macro(oldext|5176)                         [pbx_config]
  '180' =>          1. Macro(oldext|5196)                         [pbx_config]
  '185' =>          1. Macro(oldext|5132)                         [pbx_config]
  '190' =>          1. Macro(oldext|5152)                         [pbx_config]
  '195' =>          1. Macro(oldext|5122)                         [pbx_config]

[ Context 'prompt-recorder' created by 'pbx_config' ]
  '9100' =>         1. Answer()                                   [pbx_config]
                    2. Wait(1)                                    [pbx_config]
     [record]       3. Set(MEETME_RECORDINGFILE=/usr/local/store/asterisk/conference_recordings/${STRFTIME(${EPOCH}||%Y%m%d-%H%M%S)}) [pbx_config]
                    4. MeetMe(9100|ir|123)                        [pbx_config]
                    5. Hangup()                                   [pbx_config]
  '9101' =>         1. Playback(conf-thereare)                    [pbx_config]
                    2. MeetMeCount(9100)                          [pbx_config]
                    3. Playback(conf-peopleinconf)                [pbx_config]
  '_66XX' =>        1. Wait(2)                                    [pbx_config]
                    2. Record(/tmp/prompts/prompt${EXTEN:2}:wav)  [pbx_config]
                    3. Wait(2)                                    [pbx_config]
                    4. Wait(1)                                    [pbx_config]
                    5. Playback(/tmp/prompts/prompt${EXTEN:2})    [pbx_config]
                    6. Hangup()                                   [pbx_config]
  '_67XX' =>        1. Wait(2)                                    [pbx_config]
                    4. Wait(2)                                    [pbx_config]
                    5. Playback(/tmp/prompts/prompt${EXTEN:2})    [pbx_config]
                    6. Wait(2)                                    [pbx_config]
                    8. Wait(2)                                    [pbx_config]
                    9. Playback(/tmp/prompts/prompt${EXTEN:2})    [pbx_config]
                    10. Hangup()                                  [pbx_config]

[ Context 'outbound' created by 'pbx_config' ]
  '_011.' =>        1. Set(CALLERID(number)=12122136251)          [pbx_config]
                    2. Set(CALLERID(name)=LinkExperts)            [pbx_config]
                    3. DIAL(SIP/paetec/${EXTEN}|60|tr)            [pbx_config]
                    4. GotoIf(${DIALSTATUS} = CHANUNAVAIL|7)      [pbx_config]
                    5. GotoIf(${DIALSTATUS} = CONGESTION|7)       [pbx_config]
                    6. Hangup()                                   [pbx_config]
                    7. Dial(Zap/g2/w${EXTEN})                     [pbx_config]
                    10. Hangup()                                  [pbx_config]
  '_1NXXNXXXXXX' => 1. Set(CALLERID(number)=12122136251)          [pbx_config]
                    2. Set(CALLERID(name)=LinkExperts)            [pbx_config]
                    3. DIAL(SIP/paetec/${EXTEN}|60|tr)            [pbx_config]
                    4. GotoIf(${DIALSTATUS} = CHANUNAVAIL|7)      [pbx_config]
                    5. GotoIf(${DIALSTATUS} = CONGESTION|7)       [pbx_config]
                    6. Hangup()                                   [pbx_config]
                    7. Dial(Zap/g2/w${EXTEN})                     [pbx_config]
                    10. Hangup()                                  [pbx_config]
  '_[2-9]11' =>     1. Dial(SIP/paetec/w${EXTEN})                 [pbx_config]
                    102. Dial(Zap/g1/w${EXTEN})                   [pbx_config]
  Include =>        'prompt-recorder'                             [pbx_config]

[ Context 'internal' created by 'pbx_config' ]
  '*97' =>          1. VoicemailMain(@allstaff)                   [pbx_config]
  '2500' =>         1. VoicemailMain(@allstaff)                   [pbx_config]
  '_*NX' =>         1. Dial(SIP/paetec/w${EXTEN})                 [pbx_config]
                    102. Playback(feature-not-avail-line)         [pbx_config]
  Include =>        'DID'                                         [pbx_config]
  Include =>        'non-DID'                                     [pbx_config]
  Include =>        'outbound'                                    [pbx_config]
  Include =>        'prompt-recorder'                             [pbx_config]

[ Context 'attendant' created by 'pbx_config' ]
  '9921' =>         1. Dial(SIP/5131|12)                          [pbx_config]
                    2. Dial(SIP/5123|20)                          [pbx_config]
                    3. Voicemail(5131@allstaff|u)                 [pbx_config]
                    4. Hangup()                                   [pbx_config]
  '9931' =>         1. Dial(SIP/5151|20)                          [pbx_config]
                    2. Dial(SIP/5120|20)                          [pbx_config]
                    3. Voicemail(5151@allstaff|u)                 [pbx_config]
                    4. Hangup()                                   [pbx_config]
  '9941' =>         1. Voicemail(5121@allstaff|u)                 [pbx_config]
                    2. Hangup()                                   [pbx_config]

[ Context 'inwarddial' created by 'pbx_config' ]
  '0' =>            1. Dial(SIP/5190|15)                          [pbx_config]
                    2. Dial(SIP/5123|15)                          [pbx_config]
                    3. Dial(SIP/5120|15)                          [pbx_config]
                    4. Voicemail(5123@allstaff|u)                 [pbx_config]
  '199' =>          1. VoicemailMain(@allstaff)                   [pbx_config]
  '2' =>            1. Goto(attendant|9921|1)                     [pbx_config]
  '3' =>            1. Goto(attendant|9931|1)                     [pbx_config]
  '4' =>            1. Goto(attendant|9941|1)                     [pbx_config]
  '9' =>            1. Directory(allstaff|DID)                    [pbx_config]
  'i' =>            1. Background(lx-invalid)                     [pbx_config]
                    2. Goto(inwarddial|s|5)                       [pbx_config]
  's' =>            1. Answer()                                   [pbx_config]
                    2. SetMusicOnHold(default)                    [pbx_config]
                    3. Set(TIMEOUT(digit)=5)                      [pbx_config]
                    4. Set(TIMEOUT(response)=10)                  [pbx_config]
                    5. Background(lx-main-menu-new)               [pbx_config]
                    6. WaitExten(5)                               [pbx_config]
                    7. Goto(inwarddial|s|5)                       [pbx_config]
  't' =>            1. Goto(0|1)                                  [pbx_config]
  Include =>        'old-extensions'                              [pbx_config]
  Include =>        'DID'                                         [pbx_config]
  Include =>        'DID-Forward'                                 [pbx_config]
  Include =>        'DID-Queues'                                  [pbx_config]

[ Context 'default' created by 'pbx_config' ]
  '6251' =>         1. Goto(inwarddial|s|1)                       [pbx_config]
  'i' =>            1. Background(lx-invalid)                     [pbx_config]
                    2. Goto(inwarddial|s|5)                       [pbx_config]
  's' =>            1. Goto(inwarddial|s|1)                       [pbx_config]
  Include =>        'inwarddial'                                  [pbx_config]

[ Context 'macro-fastbusy' created by 'pbx_config' ]
  's' =>            1. Answer()                                   [pbx_config]
                    2. Wait 1()                                   [pbx_config]
                    3. Playback(new/all-circuits-busy)            [pbx_config]
                    4. Wait(30)                                   [pbx_config]
                    5. Hangup()                                   [pbx_config]

[ Context 'parkedcalls' created by 'res_features' ]
  '700' =>          1. Park((null))                               [res_features]