Asterisk 1.6.2.9-2+squeeze3, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
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.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.6.2.9-2+squeeze3 currently running on linux4 (pid = 8617)
Verbosity was 0 and is now 2
linux4*CLI>
! ael agent agi cdr channel cli config console
core dahdi database devstate dialplan dnsmgr dundi features file
group gtalk hangup help http iax2 indication jabber jingle
keys local logger manager meetme mfcr2 mgcp minivm mixmonitor
module moh no odbc originate parkedcalls phoneprov pri queue
realtime reload rtcp rtp say sip skinny sla sqlite
ss7 stun timing transcoder udptl ulimit unistim voicemail
linux4*CLI> sip show peer
peers peer
linux4*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
linux4*CLI> sip reload
Reloading SIP
linux4*CLI> dialplan
add debug reload remove save set show
linux4*CLI> dialplan show
[ Context 'app_dial_gosub_virtual_context' created by 'app_dial' ]
's' => 1. NoOp() [app_dial]
[ Context 'ael-dundi-e164-canonical' created by 'pbx_ael' ]
[ Context 'ael-dundi-e164-customers' created by 'pbx_ael' ]
[ Context 'ael-dundi-e164-via-pstn' created by '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-switch' created by 'pbx_ael' ]
Alt. Switch => 'DUNDi/e164' [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' created by 'pbx_ael' ]
's' => 1. MSet(LOCAL(exten)=${ARG1}) [pbx_ael]
2. Goto(${exten},1) [pbx_ael]
3. Return() [pbx_ael]
[ Context 'ael-iaxtel700' created by 'pbx_ael' ]
'_91700XXXXXXX' => 1. Dial(IAX2/${IAXINFO-AEL}@iaxtel.com/${EXTEN:1}@iaxtel) [pbx_ael]
[ Context 'ael-iaxprovider' created by 'pbx_ael' ]
[ Context 'ael-trunkint' created by 'pbx_ael' ]
'_9011.' => 1. Gosub(ael-dundi-e164,s,1(${EXTEN:4})) [pbx_ael]
2. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
Include => 'ael-dundi-e164-lookup' [pbx_ael]
[ Context 'ael-trunkld' created by 'pbx_ael' ]
'_91NXXNXXXXXX' => 1. Gosub(ael-dundi-e164,s,1(${EXTEN:1})) [pbx_ael]
2. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
Include => 'ael-dundi-e164-lookup' [pbx_ael]
[ Context 'ael-trunklocal' created by 'pbx_ael' ]
'_9NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
[ Context 'ael-trunktollfree' created by 'pbx_ael' ]
'_91800NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
'_91866NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
'_91877NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [pbx_ael]
'_91888NXXXXXX' => 1. Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}) [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-longdistance' created by 'pbx_ael' ]
Include => 'ael-local' [pbx_ael]
Include => 'ael-trunkld' [pbx_ael]
Ignore pattern => '9' [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-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(LOCAL(~~EXTEN~~)=${EXTEN}) [pbx_ael]
4. MSet(LOCAL(~~EXTEN~~)=${~~EXTEN~~}) [pbx_ael]
5. Dial(${dev}/${ext},20) [pbx_ael]
6. Goto(sw-1-${DIALSTATUS},10) [pbx_ael]
7. NoOp(Finish switch-ael-std-exten-ael-1) [pbx_ael]
8. Return() [pbx_ael]
'sw-1-' => 10. Goto(sw-1-.,10) [pbx_ael]
'sw-1-BUSY' => 10. Voicemail(${ext},b) [pbx_ael]
11. Goto(s,7) [pbx_ael]
'_sw-1-.' => 10. Voicemail(${ext},u) [pbx_ael]
11. Goto(s,7) [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-default' created by 'pbx_ael' ]
Include => 'ael-demo' [pbx_ael]
[ Context 'app_queue_gosub_virtual_context' created by 'app_queue' ]
's' => 1. NoOp() [app_queue]
[ Context 'parkedcalls' created by 'features' ]
'700' => 1. Park() [features]
[ Context 'ani' created by 'pbx_config' ]
'_X.' => 40000. NoOp(ANI: ${EXTEN}) [pbx_config]
40001. Wait(0.25) [pbx_config]
40002. Answer() [pbx_config]
40003. Playback(vm-from) [pbx_config]
40004. SayDigits(${CALLERID(ani)}) [pbx_config]
40005. Wait(1.25) [pbx_config]
40006. SayDigits(${CALLERID(ani)}) [pbx_config]
40007. Return() [pbx_config]
[ Context 'time' created by 'pbx_config' ]
'_X.' => 30000. NoOp(Time: ${EXTEN} ${timezone}) [pbx_config]
30001. Wait(0.25) [pbx_config]
30002. Answer() [pbx_config]
30003. Set(FUTURETIME=$[${EPOCH} + 12]) [pbx_config]
30004. SayUnixTime(${FUTURETIME},Zulu,HNS) [pbx_config]
30005. SayPhonetic(z) [pbx_config]
30006. SayUnixTime(${FUTURETIME},${timezone},HNS) [pbx_config]
30007. Playback(spy-local) [pbx_config]
30008. WaitUntil(${FUTURETIME}) [pbx_config]
30009. Playback(beep) [pbx_config]
30010. Return() [pbx_config]
[ Context 'default' created by 'pbx_config' ]
Include => 'demo' [pbx_config]
[ Context 'page' created by 'pbx_config' ]
'_X.' => 1. Macro(page,SIP/${EXTEN}) [pbx_config]
[ 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(${EXTEN},stdexten(${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 'macro-page' created by 'pbx_config' ]
's' => 1. ChanIsAvail(${ARG1},s) [pbx_config]
2. GoToIf([${AVAILORIGCHAN} = ""]?fail:autoanswer) [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]
[ 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]
'_stde[x]te[n]-.' => 1. Goto(stdexten-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(stdexten-${DIALSTATUS},1) [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]
'_stde[x]te[n]-.' => 1. Goto(stdexten-NOANSWER,1) [pbx_config]
'_X.' => 50000. NoOp(Start stdexten) [pbx_config]
50001. Set(LOCAL(ext)=${EXTEN}) [pbx_config]
50002. Set(LOCAL(dev)=${ARG1}) [pbx_config]
50003. Set(LOCAL(cntx)=${ARG2}) [pbx_config]
50004. Set(LOCAL(mbx)="${ext}"$["${cntx}" ? "@${cntx}" :: ""]) [pbx_config]
50005. Dial(${dev},20) [pbx_config]
50006. Goto(stdexten-${DIALSTATUS},1) [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 'outbound-freenum2' created by 'pbx_config' ]
'fn-BUSY' => 1. Busy() [pbx_config]
'_f[n]-.' => 1. NoOp(ISN: ${DIALSTATUS}) [pbx_config]
2. Congestion() [pbx_config]
'_X!' => 1. Verbose(2,Performing ISN lookup for ${EXTEN}) [pbx_config]
2. Set(SUFFIX=${CUT(EXTEN,*,2-)}) [pbx_config]
3. GotoIf($["${FILTER(0-9,${SUFFIX})}" != "${SUFFIX}"]?fn-CONGESTION,1) [pbx_config]
4. Set(TIMEOUT(absolute)=10800) [pbx_config]
5. Set(isnresult=${ENUMLOOKUP(${EXTEN},sip,,1,freenum.org)}) [pbx_config]
6. GotoIf($["${isnresult}" != ""]?from) [pbx_config]
7. Set(DIALSTATUS=CONGESTION) [pbx_config]
8. Goto(fn-CONGESTION,1) [pbx_config]
[from] 9. Set(SIPFROMUSER=${CALLERID(num)}) [pbx_config]
10. GotoIf($["${GLOBAL(FREENUMDOMAIN)}" = ""]?dial) [pbx_config]
11. Set(SIPFROMDOMAIN=${GLOBAL(FREENUMDOMAIN)}) [pbx_config]
[dial] 12. Dial(SIP/${isnresult},40) [pbx_config]
13. Goto(fn-${DIALSTATUS},1) [pbx_config]
[ Context 'outbound-freenum' created by 'pbx_config' ]
'_X*X!' => 1. Goto(outbound-freenum2,${EXTEN},1) [pbx_config]
'_XX*X!' => 1. Goto(outbound-freenum2,${EXTEN},1) [pbx_config]
'_XXX*X!' => 1. Goto(outbound-freenum2,${EXTEN},1) [pbx_config]
'_XXXX*X!' => 1. Goto(outbound-freenum2,${EXTEN},1) [pbx_config]
'_XXXXX*X!' => 1. Goto(outbound-freenum2,${EXTEN},1) [pbx_config]
'_XXXXXX*X!' => 1. Goto(outbound-freenum2,${EXTEN},1) [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 'longdistance' created by 'pbx_config' ]
Include => 'local' [pbx_config]
Include => 'trunkld' [pbx_config]
Ignore pattern => '9' [pbx_config]
[ Context 'international' created by 'pbx_config' ]
Include => 'longdistance' [pbx_config]
Include => 'trunkint' [pbx_config]
Ignore pattern => '9' [pbx_config]
[ 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 'trunklocal' created by 'pbx_config' ]
'_9NXXXXXX' => 1. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config]
[ Context 'trunkld' created by 'pbx_config' ]
'_91NXXNXXXXXX' => 1. Macro(dundi-e164,${EXTEN:1}) [pbx_config]
2. Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}}) [pbx_config]
[ Context 'trunkint' created by 'pbx_config' ]
'_9011.' => 1. Macro(dundi-e164,${EXTEN:4}) [pbx_config]
2. Dial(${GLOBAL(TRUNK)}/${FILTER(0-9,${EXTEN:${GLOBAL(TRUNKMSD)}})}) [pbx_config]
[ Context 'iaxprovider' created by 'pbx_config' ]
[ Context 'iaxtel700' created by 'pbx_config' ]
'_91700XXXXXXX' => 1. Dial(IAX2/${GLOBAL(IAXINFO)}@iaxtel.com/${EXTEN:1}@iaxtel) [pbx_config]
[ Context 'macro-dundi-e164' created by 'pbx_config' ]
's' => 1. Goto(${ARG1},1) [pbx_config]
Include => 'dundi-e164-lookup' [pbx_config]
[ Context 'dundi-e164-lookup' created by 'pbx_config' ]
Include => 'dundi-e164-local' [pbx_config]
Include => 'dundi-e164-switch' [pbx_config]
[ Context 'dundi-e164-switch' created by 'pbx_config' ]
Alt. Switch => 'DUNDi/e164' [pbx_config]
[ 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]
[ Context 'dundi-e164-via-pstn' created by 'pbx_config' ]
[ Context 'dundi-e164-customers' created by 'pbx_config' ]
[ Context 'dundi-e164-canonical' created by 'pbx_config' ]
-= 82 extensions (200 priorities) in 49 contexts. =-
linux4*CLI> quit
Executing last minute cleanups