Hi David,
Im using
[color=green]CentOS 5
Asterisk 1.4.15
Cisco IP-7960 SIP Firmware Version 8.0[/color]
My Asterisk CLI trace:
-- Executing [7222@from-internal:1] Macro("SIP/7223-c4109300", "exten-vm|7222|7222") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/7223-c4109300", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/7223-c4109300", "user-callerid: device 7223") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/7223-c4109300", "AMPUSER=7223") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/7223-c4109300", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/7223-c4109300", "1|Set|REALCALLERIDNUM=7223") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/7223-c4109300", "REALCALLERIDNUM is 7223") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/7223-c4109300", "AMPUSER=7223") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/7223-c4109300", "AMPUSERCIDNAME=7223") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/7223-c4109300", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/7223-c4109300", "AMPUSERCID=7223") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/7223-c4109300", "CALLERID(all)="7223" <7223>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/7223-c4109300", "REALCALLERIDNUM=7223") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/7223-c4109300", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/7223-c4109300", "TTL: ARG1: 7222") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/7223-c4109300", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/7223-c4109300", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/7223-c4109300", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/7223-c4109300", "Using CallerID "7223" <7223>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/7223-c4109300", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/7223-c4109300", "VMBOX=7222") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/7223-c4109300", "EXTTOCALL=7222") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/7223-c4109300", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/7223-c4109300", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/7223-c4109300", "RT=30") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/7223-c4109300", "record-enable|7222|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/7223-c4109300", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/7223-c4109300", "recordingcheck|20090317-125906|1237294746.68141") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20090317-125906|1237294746.68141: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/7223-c4109300", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/7223-c4109300", "dial|30|tr|7222") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/7223-c4109300", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/7223-c4109300", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '7223' number is '7223'
dialparties.agi: USE_CONFIRMATION: 'FALSE'
dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 7222 to extension map
-- dialparties.agi: Extension 7222 cf is disabled
-- dialparties.agi: Extension 7222 do not disturb is disabled
>dialparties.agi: extnum 7222 has: cw: 0; hascfb: 0 [] hascfu: 0 []
>dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 7222 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 7222
-- dialparties.agi: dbset CALLTRACE/7222 to 7223
-- dialparties.agi: Filtered ARG3: 7222
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/7223-c4109300", "SIP/7222|30|tr") in new stack
-- Called 7222
-- SIP/7222-029dd8a0 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [s@macro-dial:8] Set("SIP/7223-c4109300", "DIALSTATUS=CONGESTION") in new stack
-- Executing [s@macro-exten-vm:10] Set("SIP/7223-c4109300", "SV_DIALSTATUS=CONGESTION") in new stack
-- Executing [s@macro-exten-vm:11] GosubIf("SIP/7223-c4109300", "0?docfu|1") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/7223-c4109300", "0?docfb|1") in new stack
-- Executing [s@macro-exten-vm:13] Set("SIP/7223-c4109300", "DIALSTATUS=CONGESTION") in new stack
-- Executing [s@macro-exten-vm:14] NoOp("SIP/7223-c4109300", "Voicemail is 7222") in new stack
-- Executing [s@macro-exten-vm:15] GotoIf("SIP/7223-c4109300", "0?s-CONGESTION|1") in new stack
-- Executing [s@macro-exten-vm:16] NoOp("SIP/7223-c4109300", "Sending to Voicemail box 7222") in new stack
-- Executing [s@macro-exten-vm:17] Macro("SIP/7223-c4109300", "vm|7222|CONGESTION") in new stack
-- Executing [s@macro-vm:1] Macro("SIP/7223-c4109300", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/7223-c4109300", "user-callerid: 7223 7223") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/7223-c4109300", "AMPUSER=7223") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/7223-c4109300", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/7223-c4109300", "0|Set|REALCALLERIDNUM=7223") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/7223-c4109300", "REALCALLERIDNUM is 7223") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/7223-c4109300", "AMPUSER=7223") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/7223-c4109300", "AMPUSERCIDNAME=7223") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/7223-c4109300", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/7223-c4109300", "AMPUSERCID=7223") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/7223-c4109300", "CALLERID(all)="7223" <7223>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/7223-c4109300", "REALCALLERIDNUM=7223") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/7223-c4109300", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/7223-c4109300", "TTL: 64 ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/7223-c4109300", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/7223-c4109300", "Using CallerID "7223" <7223>") in new stack
-- Executing [s@macro-vm:2] Set("SIP/7223-c4109300", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("SIP/7223-c4109300", "1?vmx|1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] GotoIf("SIP/7223-c4109300", "0?s-CONGESTION|1") in new stack
-- Executing [vmx@macro-vm:2] Set("SIP/7223-c4109300", "MODE=unavail") in new stack
-- Executing [vmx@macro-vm:3] GotoIf("SIP/7223-c4109300", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,5)
-- Executing [vmx@macro-vm:5] NoOp("SIP/7223-c4109300", "Checking if ext 7222 is enabled: ") in new stack
-- Executing [vmx@macro-vm:6] GotoIf("SIP/7223-c4109300", "1?s-CONGESTION|1") in new stack
-- Goto (macro-vm,s-CONGESTION,1)
-- Executing [s-CONGESTION@macro-vm:1] Macro("SIP/7223-c4109300", "get-vmcontext|7222") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("SIP/7223-c4109300", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/7223-c4109300", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("SIP/7223-c4109300", "") in new stack
-- Executing [s-CONGESTION@macro-vm:2] VoiceMail("SIP/7223-c4109300", "7222@default|u") in new stack
-- <SIP/7223-c4109300> Playing 'vm-theperson' (language 'en')
-- <SIP/7223-c4109300> Playing 'digits/7' (language 'en')
-- <SIP/7223-c4109300> Playing 'digits/2' (language 'en')
The extension 7222 as shown in the CLI is configured on the Cisco IP phone. I am trying to call from extension 7223.
Many Thanks
Vino