Same effect when calling from internal phone to internal number.
phone1*CLI> database show AMPUSER/2995/vmx
/AMPUSER/2995/vmx/busy/0/context from-internal
/AMPUSER/2995/vmx/busy/0/ext 2001
/AMPUSER/2995/vmx/busy/0/pri 1
/AMPUSER/2995/vmx/busy/1/context ext-findmefollow
/AMPUSER/2995/vmx/busy/1/ext FM2995
/AMPUSER/2995/vmx/busy/1/pri 1
/AMPUSER/2995/vmx/busy/2/context from-internal
/AMPUSER/2995/vmx/busy/2/ext 6677
/AMPUSER/2995/vmx/busy/2/pri 1
/AMPUSER/2995/vmx/busy/loops 1
/AMPUSER/2995/vmx/busy/repeat 1
/AMPUSER/2995/vmx/busy/state disabled
/AMPUSER/2995/vmx/busy/timeout 2
/AMPUSER/2995/vmx/busy/vmxopts/timeout
/AMPUSER/2995/vmx/unavail/0/context from-internal
/AMPUSER/2995/vmx/unavail/0/ext 2001
/AMPUSER/2995/vmx/unavail/0/pri 1
/AMPUSER/2995/vmx/unavail/1/context ext-findmefollow
/AMPUSER/2995/vmx/unavail/1/ext FM2995
/AMPUSER/2995/vmx/unavail/1/pri 1
/AMPUSER/2995/vmx/unavail/2/context from-internal
/AMPUSER/2995/vmx/unavail/2/ext 6677
/AMPUSER/2995/vmx/unavail/2/pri 1
/AMPUSER/2995/vmx/unavail/loops 1
/AMPUSER/2995/vmx/unavail/repeat 1
/AMPUSER/2995/vmx/unavail/state enabled
/AMPUSER/2995/vmx/unavail/timeout 2
/AMPUSER/2995/vmx/unavail/vmxopts/timeout
Here’s the CLI
Connected to Asterisk 1.2.19 currently running on phone1 (pid = 2603)
Verbosity is at least 5
– Accepting call from ‘6016361728’ to ‘6016312995’ on channel 0/1, span 1
– Executing NoOp(“Zap/1-1”, "CALLERID “Ford William A " <6016361728>”) in new stack
– Executing Wait(“Zap/1-1”, “.25”) in new stack
– Executing NoOp(“Zap/1-1”, "CALLERID “Ford William A " <6016361728>”) in new stack
– Executing Goto(“Zap/1-1”, “from-pstn|6016312995|1”) in new stack
– Goto (from-pstn,6016312995,1)
– Executing Set(“Zap/1-1”, “__FROM_DID=6016312995”) in new stack
– Executing Gosub(“Zap/1-1”, “app-blacklist-check|s|1”) in new stack
– Executing LookupBlacklist(“Zap/1-1”, “”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?blacklisted”) in new stack
– Executing Return(“Zap/1-1”, “”) in new stack
– Executing Gosub(“Zap/1-1”, “cidlookup|cidlookup_2|1”) in new stack
– Executing LookupCIDName(“Zap/1-1”, “”) in new stack
– Executing Return(“Zap/1-1”, “”) in new stack
– Executing GotoIf(“Zap/1-1”, “1 ?cidok”) in new stack
– Goto (from-pstn,6016312995,6)
– Executing NoOp(“Zap/1-1”, "CallerID is “Ford William A " <6016361728>”) in new stack
– Executing Set(“Zap/1-1”, “FAX_RX=disabled”) in new stack
– Executing Macro(“Zap/1-1”, “privacy-mgr|”) in new stack
– Executing Set(“Zap/1-1”, “KEEPCID=6016361728”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?CIDTEST2CIDTEST1”) in new stack
– Goto (macro-privacy-mgr,s,3)
– Executing Set(“Zap/1-1”, “TESTCID=6016361729.000000”) in new stack
– Executing Goto(“Zap/1-1”, “TESTRESULT”) in new stack
– Goto (macro-privacy-mgr,s,6)
– Executing GotoIf(“Zap/1-1”, “0?CLEARCIDPRIVMGR”) in new stack
– Goto (macro-privacy-mgr,s,8)
– Executing PrivacyManager(“Zap/1-1”, “”) in new stack
– CallerID Present Skipping
– Executing SetCallerPres(“Zap/1-1”, “allowed_passed_screen”) in new stack
– Executing Set(“Zap/1-1”, “__ALERT_INFO=1”) in new stack
– Executing Goto(“Zap/1-1”, “from-did-direct|2995|1”) in new stack
– Goto (from-did-direct,2995,1)
– Executing GotoIf(“Zap/1-1”, “1?ext-local|2995|1”) in new stack
– Goto (ext-local,2995,1)
– Executing Macro(“Zap/1-1”, “exten-vm|2995|2995”) in new stack
– Executing Macro(“Zap/1-1”, “user-callerid”) in new stack
– Executing NoOp(“Zap/1-1”, “user-callerid Ford William A 6016361728”) in new stack
– Executing Set(“Zap/1-1”, “AMPUSER=6016361728”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?report”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?start”) in new stack
– Executing Set(“Zap/1-1”, “REALCALLERIDNUM=6016361728”) in new stack
– Executing NoOp(“Zap/1-1”, “REALCALLERIDNUM is 6016361728”) in new stack
– Executing Set(“Zap/1-1”, “AMPUSER=”) in new stack
– Executing Set(“Zap/1-1”, “AMPUSERCIDNAME=”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing NoOp(“Zap/1-1”, “TTL ARG1 2995”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?continue”) in new stack
– Executing Set(“Zap/1-1”, “__TTL=64”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing NoOp(“Zap/1-1”, "Using CallerID “Ford William A " <6016361728>”) in new stack
– Executing Set(“Zap/1-1”, “FROMCONTEXT=exten-vm”) in new stack
– Executing Set(“Zap/1-1”, “VMBOX=2995”) in new stack
– Executing Set(“Zap/1-1”, “EXTTOCALL=2995”) in new stack
– Executing Set(“Zap/1-1”, “CFUEXT=”) in new stack
– Executing Set(“Zap/1-1”, “CFBEXT=”) in new stack
– Executing Set(“Zap/1-1”, “RT=20”) in new stack
– Executing Macro(“Zap/1-1”, “record-enable|2995|IN”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?24”) in new stack
– Goto (macro-record-enable,s,4)
– Executing DeadAGI(“Zap/1-1”, “recordingcheck|20070701-134344|1183315424.204”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070701-134344|1183315424.204 Inbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing NoOp(“Zap/1-1”, “No recording needed”) in new stack
– Executing Macro(“Zap/1-1”, “dial|20|rtWw|2995”) in new stack
– Executing AGI(“Zap/1-1”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi Starting New Dialparties.agi
== Parsing ‘/etc/asterisk/manager.conf’ Found
== Parsing ‘/etc/asterisk/manager_custom.conf’ Found
== Manager ‘admin’ logged on from 127.0.0.1
dialparties.agi priority is 1
dialparties.agi Caller ID name is ‘Ford William A’ number is ‘6016361728’
> dialparties.agi USE_CONFIRMATION ‘FALSE’
> dialparties.agi RINGGROUP_INDEX ''
dialparties.agi Methodology of ring is ‘none’
– dialparties.agi Added extension 2995 to extension map
– dialparties.agi Extension 2995 cf is disabled
– dialparties.agi Extension 2995 do not disturb is disabled
> dialparties.agi extnum 2995
> dialparties.agi exthascw 0
> dialparties.agi exthascfb 0
> dialparties.agi extcfb
> dialparties.agi exthascfu 0
> dialparties.agi extcfu
> dialparties.agi ExtensionState 0
dialparties.agi Extension 2995 has ExtensionState 0
– dialparties.agi Checking CW and CFB status for extension 2995
– dialparties.agi dbset CALLTRACE/2995 to 6016361728
== Manager ‘admin’ logged off from 127.0.0.1
– AGI Script dialparties.agi completed, returning 0
– Executing Dial(“Zap/1-1”, “SIP/2995|20|rtWw”) in new stack
– Called 2995
– SIP/2995-0a4719c8 is ringing
Extension Changed 2995 new state Ringing for Notify User 1008
Extension Changed 2995 new state Ringing for Notify User 4552
Extension Changed 2995 new state Ringing for Notify User 4569
Extension Changed 2995 new state Ringing for Notify User 2530
Extension Changed 2995 new state Ringing for Notify User 4568
– Registered SIP ‘2015’ at 10.100.10.15 port 5060 expires 120
– Saved useragent “Aastra 9133i/1.4.0.1048 Brcm Callctrl/1.5.1.0 MxSF/v3.2.6.26” for peer 2015
– Nobody picked up in 20000 ms
– Executing Set(“Zap/1-1”, “DIALSTATUS=NOANSWER”) in new stack
– Executing Set(“Zap/1-1”, “SV_DIALSTATUS=NOANSWER”) in new stack
– Executing GosubIf(“Zap/1-1”, “0?docfu|1”) in new stack
– Executing GosubIf(“Zap/1-1”, “0?docfb|1”) in new stack
– Executing Set(“Zap/1-1”, “DIALSTATUS=NOANSWER”) in new stack
– Executing NoOp(“Zap/1-1”, “Voicemail is 2995”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?s-NOANSWER|1”) in new stack
– Executing NoOp(“Zap/1-1”, “Sending to Voicemail box 2995”) in new stack
– Executing Macro(“Zap/1-1”, “vm|2995|NOANSWER”) in new stack
– Executing Macro(“Zap/1-1”, “user-callerid|SKIPTTL”) in new stack
– Executing NoOp(“Zap/1-1”, “user-callerid Ford William A 6016361728”) in new stack
– Executing Set(“Zap/1-1”, “AMPUSER=6016361728”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?report”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?start”) in new stack
– Goto (macro-user-callerid,s,6)
– Executing NoOp(“Zap/1-1”, “REALCALLERIDNUM is 6016361728”) in new stack
– Executing Set(“Zap/1-1”, “AMPUSER=”) in new stack
– Executing Set(“Zap/1-1”, “AMPUSERCIDNAME=”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?report”) in new stack
– Goto (macro-user-callerid,s,13)
– Executing NoOp(“Zap/1-1”, “TTL 64 ARG1 SKIPTTL”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing NoOp(“Zap/1-1”, "Using CallerID “Ford William A " <6016361728>”) in new stack
– Executing Set(“Zap/1-1”, “VMGAIN=”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?vmx|1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing Set(“Zap/1-1”, “MODE=unavail”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,4)
– Executing NoOp(“Zap/1-1”, “Checking if ext 2995 is enabled enabled”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?s-NOANSWER|1”) in new stack
– Executing Macro(“Zap/1-1”, “get-vmcontext|2995”) in new stack
– Executing Set(“Zap/1-1”, “VMCONTEXT=default”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?200300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing NoOp(“Zap/1-1”, “”) in new stack
– Executing System(“Zap/1-1”, “ls /var/spool/asterisk/voicemail/default/2995/unavail.wav”) in new stack
Extension Changed 2995 new state Idle for Notify User 1008
Extension Changed 2995 new state Idle for Notify User 4552
Extension Changed 2995 new state Idle for Notify User 4569
Extension Changed 2995 new state Idle for Notify User 2530
Extension Changed 2995 new state Idle for Notify User 4568
– Executing NoOp(“Zap/1-1”, “File for mode unavail does not exist| going to normal voicemail”) in new stack
– Executing Goto(“Zap/1-1”, “s-NOANSWER|1”) in new stack
– Goto (macro-vm,s-NOANSWER,1)
– Executing Macro(“Zap/1-1”, “get-vmcontext|2995”) in new stack
– Executing Set(“Zap/1-1”, “VMCONTEXT=default”) in new stack
– Executing GotoIf(“Zap/1-1”, “0?200300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing NoOp(“Zap/1-1”, “”) in new stack
– Executing VoiceMail(“Zap/1-1”, “2995@default|u”) in new stack
– Playing ‘/var/spool/asterisk/voicemail/default/2995/unavail’ (language ‘en’)
– Playing ‘transfer’ (language ‘en’)
– Executing BackGround(“Zap/1-1”, “one-moment-please”) in new stack
– Playing ‘one-moment-please’ (language ‘en’)
– Executing GotoIf(“Zap/1-1”, “0?doopdef”) in new stack
– Executing Set(“Zap/1-1”, “VMX_OPDEST_EXT=2001”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?opcontext”) in new stack
– Goto (macro-vm,o,6)
– Executing Set(“Zap/1-1”, “VMX_OPDEST_CONTEXT=from-internal”) in new stack
– Executing GotoIf(“Zap/1-1”, “1?oppri”) in new stack
– Goto (macro-vm,o,9)
– Executing Set(“Zap/1-1”, “VMX_OPDEST_PRI=1”) in new stack
– Executing Goto(“Zap/1-1”, “from-internal|2001|”) in new stack
== Spawn extension (macro-vm, o, 10) exited non-zero on ‘Zap/1-1’ in macro ‘vm’
== Spawn extension (macro-vm, o, 10) exited non-zero on ‘Zap/1-1’ in macro ‘exten-vm’
== Spawn extension (macro-vm, o, 10) exited non-zero on ‘Zap/1-1’
– Hungup ‘Zap/1-1’
I hit a 1, 2, and then a “0”
Bill