[root@XMNC4PVVG02 tmp]# asterisk -r Asterisk 1.6.1.6, Copyright (C) 1999 - 2009 Digium, Inc. and others. Created by Mark Spencer Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.6.1.6 currently running on XMNC4PVVG02 (pid = 9137) Verbosity is at least 3 XMNC4PVVG02*CLI> dialplan show [ Context 'app_dial_gosub_virtual_context' created by 'app_dial' ] 's' => 1. NoOp() [app_dial] XMNC4PVVG02*CLI> [ Context 'dundi-e164-canonical' created by 'pbx_config' ] XMNC4PVVG02*CLI> [ Context 'dundi-e164-customers' created by 'pbx_config' ] [ Context 'dundi-e164-via-pstn' created by 'pbx_config' ] XMNC4PVVG02*CLI> [ Context 'dundi-e164-local' created by 'pbx_config' ] Include => 'dundi-e164-canonical' [pbx_config] Include => 'dundi-e164-customers' [pbx_config] Include => 'dundi-e164-via-pstn' [pbx_config] XMNC4PVVG02*CLI> [ Context 'dundi-e164-switch' created by 'pbx_config' ] Alt. Switch => 'DUNDi/e164' [pbx_config] XMNC4PVVG02*CLI> [ Context 'dundi-e164-lookup' created by 'pbx_config' ] Include => 'dundi-e164-local' [pbx_config] Include => 'dundi-e164-switch' [pbx_config] [ Context 'macro-dundi-e164' created by 'pbx_config' ] 's' => 1. Goto(${ARG1},1) [pbx_config] Include => 'dundi-e164-lookup' [pbx_config] [ Context 'iaxtel700' created by 'pbx_config' ] '_91700XXXXXXX' => 1. Dial(IAX2/${GLOBAL(IAXINFO)}@iaxtel.com/${EXTEN:1}@iaxtel) [pbx_config] [ Context 'iaxprovider' created by 'pbx_config' ] XMNC4PVVG02*CLI> [ Context 'trunkint' created by 'pbx_config' ] '_9011.' => 1. Macro(dundi-e164,${EXTEN:4}) [pbx_config] 2. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config] XMNC4PVVG02*CLI> [ Context 'trunkld' created by 'pbx_config' ] '_91NXXNXXXXXX' => 1. Macro(dundi-e164,${EXTEN:1}) [pbx_config] 2. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config] XMNC4PVVG02*CLI> [ Context 'trunklocal' created by 'pbx_config' ] '_9NXXXXXX' => 1. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config] XMNC4PVVG02*CLI> [ Context 'trunktollfree' created by 'pbx_config' ] '_91800NXXXXXX' => 1. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config] '_91866NXXXXXX' => 1. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config] '_91877NXXXXXX' => 1. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config] '_91888NXXXXXX' => 1. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config] [ Context 'international' created by 'pbx_config' ] Include => 'longdistance' [pbx_config] Include => 'trunkint' [pbx_config] Ignore pattern => '9' [pbx_config] [ Context 'longdistance' created by 'pbx_config' ] Include => 'local' [pbx_config] Include => 'trunkld' [pbx_config] Ignore pattern => '9' [pbx_config] [ Context 'local' created by 'pbx_config' ] Include => 'default' [pbx_config] Include => 'trunklocal' [pbx_config] Include => 'iaxtel700' [pbx_config] Include => 'trunktollfree' [pbx_config] Include => 'iaxprovider' [pbx_config] Include => 'parkedcalls' [pbx_config] Ignore pattern => '9' [pbx_config] [ Context 'macro-trunkdial' created by 'pbx_config' ] 's' => 1. Dial(${ARG1}) [pbx_config] 2. Goto(s-${DIALSTATUS},1) [pbx_config] 's-BUSY' => 1. Hangup() [pbx_config] 's-NOANSWER' => 1. Hangup() [pbx_config] '_s-.' => 1. NoOp() [pbx_config] [ Context 'stdexten' created by 'pbx_config' ] 'a' => 1. VoicemailMain(${mbx}) [pbx_config] 2. Return() [pbx_config] 'stdexten-BUSY' => 1. Voicemail(${mbx},b) [pbx_config] 2. NoOp(Finish stdexten BUSY) [pbx_config] 3. Return() [pbx_config] 'stdexten-NOANSWER' => 1. Voicemail(${mbx},u) [pbx_config] 2. NoOp(Finish stdexten NOANSWER) [pbx_config] 3. Return() [pbx_config] '_stdexten[\-].' => 1. Goto(s-NOANSWER,1) [pbx_config] '_X.' => 50000. NoOp(Start stdexten) [pbx_config] 50001. Set(LOCAL(ext)=${ARG1}) [pbx_config] 50002. Set(LOCAL(dev)=${ARG2}) [pbx_config] 50003. Set(LOCAL(cntx)=${ARG3}) [pbx_config] 50004. Set(LOCAL(mbx)="${ext}"$["${cntx}" ? "@${cntx}" :: ""]) [pbx_config] 50005. Dial(${dev},20) [pbx_config] 50006. Goto(stdexten-${DIALSTATUS},1) [pbx_config] XMNC4PVVG02*CLI> [ Context 'stdPrivacyexten' created by 'pbx_config' ] 'a' => 1. VoicemailMain(${mbx}) [pbx_config] 2. Return() [pbx_config] 'stdexten-BUSY' => 1. Voicemail(${mbx},b) [pbx_config] 2. NoOp(Finish stdPrivacyexten BUSY) [pbx_config] 3. Return() [pbx_config] 'stdexten-DONTCALL' => 1. Goto(${dontcntx},s,1) [pbx_config] 'stdexten-NOANSWER' => 1. Voicemail(${mbx},u) [pbx_config] 2. NoOp(Finish stdPrivacyexten NOANSWER) [pbx_config] 3. Return() [pbx_config] 'stdexten-TORTURE' => 1. Goto(${tortcntx},s,1) [pbx_config] '_stdexten-.' => 1. Goto(s-NOANSWER,1) [pbx_config] '_X.' => 60000. NoOp(Start stdPrivacyexten) [pbx_config] 60001. Set(LOCAL(ext)=${ARG1}) [pbx_config] 60002. Set(LOCAL(dev)=${ARG2}) [pbx_config] 60003. Set(LOCAL(dontcntx)=${ARG3}) [pbx_config] 60004. Set(LOCAL(tortcntx)=${ARG4}) [pbx_config] 60005. Set(LOCAL(cntx)=${ARG5}) [pbx_config] 60006. Set(LOCAL(mbx)="${ext}"$["${cntx}" ? "@${cntx}" :: ""]) [pbx_config] 60007. Dial(${dev},20,p) [pbx_config] 60008. Goto(s-${DIALSTATUS},1) [pbx_config] XMNC4PVVG02*CLI> [ Context 'macro-page' created by 'pbx_config' ] 's' => 1. ChanIsAvail(${ARG1},s) [pbx_config] 2. GoToIf([${AVAILSTATUS} = "1"]?autoanswer:fail) [pbx_config] [autoanswer] 3. Set(_ALERT_INFO="RA") [pbx_config] 4. SIPAddHeader(Call-Info: Answer-After=0) [pbx_config] 5. NoOp() [pbx_config] 6. Dial(${ARG1}) [pbx_config] [fail] 7. Hangup() [pbx_config] XMNC4PVVG02*CLI> [ Context 'demo' created by 'pbx_config' ] '#' => 1. Playback(demo-thanks) [pbx_config] 2. Hangup() [pbx_config] '1000' => 1. Goto(default,s,1) [pbx_config] '1234' => 1. Playback(transfer,skip) [pbx_config] 2. Gosub(stdexten(1234,${GLOBAL(CONSOLE)})) [pbx_config] 3. Goto(default,s,1) [pbx_config] '1235' => 1. Voicemail(1234,u) [pbx_config] '1236' => 1. Dial(Console/dsp) [pbx_config] 2. Voicemail(1234,b) [pbx_config] '2' => 1. BackGround(demo-moreinfo) [pbx_config] 2. Goto(s,instruct) [pbx_config] '3' => 1. Set(LANGUAGE()=fr) [pbx_config] 2. Goto(s,restart) [pbx_config] '500' => 1. Playback(demo-abouttotry) [pbx_config] 2. Dial(IAX2/guest@pbx.digium.com/s@default) [pbx_config] 3. Playback(demo-nogo) [pbx_config] 4. Goto(s,6) [pbx_config] '600' => 1. Playback(demo-echotest) [pbx_config] 2. Echo() [pbx_config] 3. Playback(demo-echodone) [pbx_config] 4. Goto(s,6) [pbx_config] '76245' => 1. Macro(page,SIP/Grandstream1) [pbx_config] '7999' => 1. Set(TIMEOUT(absolute)=60) [pbx_config] 2. Page(Local/Grandstream1@page&Local/Xlite1@page&Local/1234@page/n,d) [pbx_config] '8500' => 1. VoicemailMain() [pbx_config] 2. Goto(s,6) [pbx_config] 'i' => 1. Playback(invalid) [pbx_config] 's' => 1. Wait(1) [pbx_config] 2. Answer() [pbx_config] 3. Set(TIMEOUT(digit)=5) [pbx_config] 4. Set(TIMEOUT(response)=10) [pbx_config] [restart] 5. BackGround(demo-congrats) [pbx_config] [instruct] 6. BackGround(demo-instruct) [pbx_config] 7. WaitExten() [pbx_config] 't' => 1. Goto(#,1) [pbx_config] '_7XXX' => 1. Macro(page,SIP/${EXTEN}) [pbx_config] Include => 'stdexten' [pbx_config] [ Context 'page' created by 'pbx_config' ] '_X.' => 1. Macro(page,SIP/${EXTEN}) [pbx_config] [ Context 'default' created by 'pbx_config' ] '_X.' => 1. goto(test,s,1) [pbx_config] [ Context 'test' created by 'pbx_config' ] 's' => 1. answer() [pbx_config] 2. Set(DYNAMIC_FEATURES=voicemenu) [pbx_config] 3. Set(TRANSFER_CONTEXT=calltransfer) [pbx_config] 4. goto(dialtobridge,s,1) [pbx_config] [ Context 'calltransfer' created by 'pbx_config' ] '2233' => 1. Answer() [pbx_config] 2. goto(dialtobridge,s,1) [pbx_config] [ Context 'dialtobridge' created by 'pbx_config' ] 's' => 1. dial(local/1234@meetme,,TH) [pbx_config] [ Context 'meetme' created by 'pbx_config' ] '1234' => 1. meetme(1234,d) [pbx_config] [ Context 'macro-calltransfer' created by 'pbx_config' ] 's' => 1. Dial(Sip/4575@10.102.90.250,,TH) [pbx_config] [ Context 'parkedcalls' created by 'features' ] '700' => 1. Park() [features] [ Context 'app_queue_gosub_virtual_context' created by 'app_queue' ] 's' => 1. NoOp() [app_queue] [ Context 'ael-default' created by 'pbx_ael' ] Include => 'ael-demo' [pbx_ael] [ Context 'ael-demo' created by 'pbx_ael' ] '#' => 1. Playback(demo-thanks) [pbx_ael] 2. Hangup() [pbx_ael] '1000' => 1. Goto(ael-default,s,1) [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/s@default) [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] '8500' => 1. VoicemailMain() [pbx_ael] 2. 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. MSet(x=$[0]) [pbx_ael] 7. GotoIf($[ ${x} < 3]?8:12) [pbx_ael] 8. Background(demo-instruct) [pbx_ael] 9. WaitExten() [pbx_ael] 10. MSet(x=$[${x} + 1]) [pbx_ael] 11. Goto(7) [pbx_ael] 12. NoOp(Finish for-ael-demo-3) [pbx_ael] 't' => 1. Goto(#,1) [pbx_ael] '_1234' => 1. Gosub(ael-std-exten-ael,s,1(${EXTEN}, "IAX2")) [pbx_ael] [ Context 'ael-std-exten-ael' created by 'pbx_ael' ] 'a' => 1. VoiceMailMain(${ext}) [pbx_ael] 2. Return() [pbx_ael] 's' => 1. MSet(LOCAL(ext)=${ARG1}) [pbx_ael] 2. MSet(LOCAL(dev)=${ARG2}) [pbx_ael] 3. MSet(~~EXTEN~~=${EXTEN}) [pbx_ael] 4. Dial(${dev}/${ext},20) [pbx_ael] 5. Goto(sw-1-${DIALSTATUS},10) [pbx_ael] 6. NoOp(Finish switch-ael-std-exten-ael-1) [pbx_ael] 7. Return() [pbx_ael] 'sw-1-' => 10. Goto(sw-1-.,10) [pbx_ael] 'sw-1-BUSY' => 10. Voicemail(${ext},b) [pbx_ael] 11. Goto(s,6) [pbx_ael] '_sw-1-.' => 10. Voicemail(${ext},u) [pbx_ael] 11. Goto(s,6) [pbx_ael] [ Context 'ael-local' created by 'pbx_ael' ] Include => 'ael-default' [pbx_ael] Include => 'ael-trunklocal' [pbx_ael] Include => 'ael-iaxtel700' [pbx_ael] Include => 'ael-trunktollfree' [pbx_ael] Include => 'ael-iaxprovider' [pbx_ael] Ignore pattern => '9' [pbx_ael] [ Context 'ael-longdistance' created by 'pbx_ael' ] Include => 'ael-local' [pbx_ael] Include => 'ael-trunkld' [pbx_ael] Ignore pattern => '9' [pbx_ael] [ Context 'ael-international' created by 'pbx_ael' ] Include => 'ael-longdistance' [pbx_ael] Include => 'ael-trunkint' [pbx_ael] Ignore pattern => '9' [pbx_ael] [ Context 'ael-trunktollfree' created by 'pbx_ael' ] '_91800NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [pbx_ael] '_91866NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [pbx_ael] '_91877NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [pbx_ael] '_91888NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [pbx_ael] [ Context 'ael-trunklocal' created by 'pbx_ael' ] '_9NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [pbx_ael] [ Context 'ael-trunkld' created by 'pbx_ael' ] '_91NXXNXXXXXX' => 1. Gosub(ael-dundi-e164,s,1(${EXTEN:1})) [pbx_ael] 2. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [pbx_ael] Include => 'ael-dundi-e164-lookup' [pbx_ael] [ Context 'ael-trunkint' created by 'pbx_ael' ] '_9011.' => 1. Gosub(ael-dundi-e164,s,1(${EXTEN:4})) [pbx_ael] 2. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [pbx_ael] Include => 'ael-dundi-e164-lookup' [pbx_ael] [ Context 'ael-iaxprovider' created by 'pbx_ael' ] [ Context 'ael-iaxtel700' created by 'pbx_ael' ] '_91700XXXXXXX' => 1. Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel) [pbx_ael] [ Context 'ael-dundi-e164' created by 'pbx_ael' ] 's' => 1. MSet(LOCAL(exten)=${ARG1}) [pbx_ael] 2. Goto(${exten},1) [pbx_ael] 3. Return() [pbx_ael] [ Context 'ael-dundi-e164-lookup' created by 'pbx_ael' ] Include => 'ael-dundi-e164-local' [pbx_ael] Include => 'ael-dundi-e164-switch' [pbx_ael] [ Context 'ael-dundi-e164-switch' created by 'pbx_ael' ] Alt. Switch => 'DUNDi/e164' [pbx_ael] [ Context 'ael-dundi-e164-local' created by 'pbx_ael' ] Include => 'ael-dundi-e164-canonical' [pbx_ael] Include => 'ael-dundi-e164-customers' [pbx_ael] Include => 'ael-dundi-e164-via-pstn' [pbx_ael] [ Context 'ael-dundi-e164-via-pstn' created by 'pbx_ael' ] [ Context 'ael-dundi-e164-customers' created by 'pbx_ael' ] [ Context 'ael-dundi-e164-canonical' created by 'pbx_ael' ] -= 77 extensions (168 priorities) in 50 contexts. =- XMNC4PVVG02*CLI> features show Builtin Feature Default Current --------------- ------- ------- Pickup *8 *8 Blind Transfer # # Attended Transfer One Touch Monitor Disconnect Call * * Park Call One Touch MixMonitor XMNC4PVVG02*CLI> Dynamic Feature Default Current --------------- ------- ------- voicemenu no def 4 XMNC4PVVG02*CLI> Call parking (Parking lot: default) ------------CLI> Parking extension : 700 Parking context : parkedcalls Parked call extensions: 701-720 XMNC4PVVG02*CLI>