All pastes #41949 Raw Edit

Miscellany

public text v1 · immutable
#41949 ·published 2006-02-17 15:14 UTC
rendered paste body
[ Context 'ael-demo' created by 'pbx_ael' ]
  '#' =>            1. Playback(demo-thanks)                      [pbx_ael]
                    2. Hangup()                                   [pbx_ael]
  '2' =>            1. Background(demo-moreinfo)                  [pbx_ael]
                    2. Goto(s|instructions)                       [pbx_ael]
  '3' =>            1. Set(LANGUAGE()=$[ fr ])                    [pbx_ael]
                    2. Goto(s|restart)                            [pbx_ael]
  '500' =>          1. Playback(demo-abouttotry)                  [pbx_ael]
                    2. Dial(IAX2/guest@misery.digium.com)         [pbx_ael]
                    3. Playback(demo-nogo)                        [pbx_ael]
                    4. Goto(s|instructions)                       [pbx_ael]
  '600' =>          1. Playback(demo-echotest)                    [pbx_ael]
                    2. Echo()                                     [pbx_ael]
                    3. Playback(demo-echodone)                    [pbx_ael]
                    4. Goto(s|instructions)                       [pbx_ael]
  'i' =>            1. Playback(invalid)                          [pbx_ael]
  's' =>            1. Wait(1)                                    [pbx_ael]
                    2. Answer()                                   [pbx_ael]
                    3. Set(TIMEOUT(digit)=$[ 5 ])                 [pbx_ael]
                    4. Set(TIMEOUT(response)=$[ 10 ])             [pbx_ael]
     [restart]      5. Background(demo-congrats)                  [pbx_ael]
     [instructions] 6. Set(x=$[ 0 ])                              [pbx_ael]
                    7. GotoIf($[ ${x} < 3 ]?8:12)                 [pbx_ael]
                    8. Set(x=$[ ${x} + 1 ])                       [pbx_ael]
                    9. Background(demo-instruct)                  [pbx_ael]
                    10. WaitExten()                               [pbx_ael]
                    11. Goto(7)                                   [pbx_ael]
                    12. NoOp(Finish for-s-6)                      [pbx_ael]
  't' =>            1. Goto(#|1)                                  [pbx_ael]
  '_1234' =>        1. Macro(std-exten-ael|${EXTEN}| "IAX2")      [pbx_ael]

[ Context 'macro-std-exten-ael' created by 'pbx_ael' ]
  'a' =>            1. VoiceMailMain(${ext})                      [pbx_ael]
                    2. return()                                   [pbx_ael]
  's' =>            1. Set(ext=${ARG1})                           [pbx_ael]
                    2. Set(dev=${ARG2})                           [pbx_ael]
                    3. Dial(${dev}/${ext}|20)                     [pbx_ael]
                    4. Goto(sw-4-${DIALSTATUS}|1)                 [pbx_ael]
                    5. NoOp(Finish switch-4)                      [pbx_ael]
  'sw-4-BUSY' =>    1. Voicemail(b${ext})                         [pbx_ael]
                    2. Goto(s|5)                                  [pbx_ael]
  '_sw-4-.' =>      1. Voicemail(u${ext})                         [pbx_ael]

[ Context 'TT_extensions' created by 'pbx_config' ]
  '1' =>            1. Macro(voicemail)                           [pbx_config]
  '100' =>          1. Macro(extwvm|Simon||100@TT)                [pbx_config]
  '200' =>          1. Macro(extwvm|Hui||200@TT)                  [pbx_config]

[ Context 'TT_outgoing' created by 'pbx_config' ]
  '_X.' =>          1. Macro(callPSTN)                            [pbx_config]

[ Context 'TT_menu1' created by 'pbx_config' ]
  '0' =>            1. Goto(TT_extensions||1)                     [pbx_config]
  '1' =>            1. Goto(TT_extensions||1)                     [pbx_config]
  '2' =>            1. Goto(TT_extensions||1)                     [pbx_config]
  '3' =>            1. Goto(TT_contextNames|accounts|1)           [pbx_config]
  '4' =>            1. Goto(TT_contextNames|default|1)            [pbx_config]
  'i' =>            1. Playback(invalid)                          [pbx_config]
                    2. Goto(s|3)                                  [pbx_config]
  's' =>            1. Answer()                                   [pbx_config]
                    2. Wait(2)                                    [pbx_config]
                    3. Background(TT//)                           [pbx_config]
                    4. DigitTimeout(2)                            [pbx_config]
                    5. ResponseTimeout(5)                         [pbx_config]
  't' =>            1. Goto(s|3)                                  [pbx_config]

[ Context 'macro-queueNext' created by 'pbx_config' ]
  's' =>            1. Queue(${ARG1}|tT)                          [pbx_config]
                    2. SetCIDName(Sales)                          [pbx_config]
                    3. Queue(${ARG2}|tT)                          [pbx_config]

[ Context 'macro-queuewvm' created by 'pbx_config' ]
  's' =>            1. Answer()                                   [pbx_config]
                    2. Queue(${ARG1}|tT)                          [pbx_config]
                    3. Voicemail(u${ARG2})                        [pbx_config]
                    103. Voicemail(u${ARG2})                      [pbx_config]
                    104. Hangup()                                 [pbx_config]

[ Context 'macro-agentLogoff' created by 'pbx_config' ]
  's' =>            1. Answer()                                   [pbx_config]
                    2. RemoveQueueMember(${ARG1}|SIP/${CALLERIDNUM}) [pbx_config]
                    3. Playback(agent-loggedoff)                  [pbx_config]
                    4. Hangup()                                   [pbx_config]

[ Context 'macro-ivrmenu' created by 'pbx_config' ]
  's' =>            1. Goto(${ARG1}|s|1)                          [pbx_config]

[ Context 'macro-queue' created by 'pbx_config' ]
  's' =>            1. Queue(${ARG1}|tT)                          [pbx_config]

[ Context 'macro-directory' created by 'pbx_config' ]
  's' =>            1. Directory(${ARG1})                         [pbx_config]

[ Context 'macro-agentLogin' created by 'pbx_config' ]
  's' =>            1. Answer()                                   [pbx_config]
                    2. AddQueueMember(${ARG1}|SIP/${CALLERIDNUM}) [pbx_config]
                    3. Playback(agent-loginok)                    [pbx_config]
                    4. Hangup()                                   [pbx_config]

[ Context 'macro-callTeliax' created by 'pbx_config' ]
  's' =>            1. Dial(SIP/teliax/${ARG1}||t)                [pbx_config]

[ Context 'macro-callPSTN' created by 'pbx_config' ]
  's' =>            1. SetAccount(${ARG2})                        [pbx_config]
                    2. Dial(g1/${ARG1})                           [pbx_config]
                    3. Busy()                                     [pbx_config]
                    102. Congestion()                             [pbx_config]

[ Context 'macro-extwvm' created by 'pbx_config' ]
  's' =>            1. Dial(IAX/${ARG1}|${ARG2}|t)                [pbx_config]
                    2. Voicemail(u${ARG3}@TT)                     [pbx_config]
                    101. Voicemail(u${ARG3}@TT)                   [pbx_config]

[ Context 'macro-callIntercom' created by 'pbx_config' ]
  's' =>            1. ChanIsAvail(SIP/${ARG1})                   [pbx_config]
                    2. Playback(beep)                             [pbx_config]
                    3. SetVar(_INTERCOM=true)                     [pbx_config]
                    4. Dial(SIP/${ARG1}||tTA(beep))               [pbx_config]
                    102. Busy()                                   [pbx_config]
                    103. Hangup()                                 [pbx_config]

[ Context 'macro-voicemail' created by 'pbx_config' ]
  's' =>            1. VoicemailMain(${CALLERIDNUM})              [pbx_config]

[ Context 'default' created by 'pbx_config' ]

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

-= 38 extensions (91 priorities) in 19 contexts. =-