[Chinese Version]
之前因為愛作怪把原本Elastix裡的FreePBX 2.3.x 直接更新成 2.4.x 後沒辦法打內部分機了, 但是卻可以打外部分機....所以一直困惱許久...
主要的錯誤是 「Returned from dialparties with no extensions to call and DIALSTATUS: [0;37;40m") in new stack」然後就會被中斷...如下訊息
-- Executing [2399@from-internal:1] Macro("SIP/2376-081c9e78", "exten-vm|novm|2399") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/2376-081c9e78", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/2376-081c9e78", "user-callerid: device 2376") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/2376-081c9e78", "AMPUSER=2376") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/2376-081c9e78", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/2376-081c9e78", "1|Set|REALCALLERIDNUM=2376") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/2376-081c9e78", "REALCALLERIDNUM is 2376") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/2376-081c9e78", "AMPUSER=2376") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2376-081c9e78", "AMPUSERCIDNAME=wugi") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/2376-081c9e78", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/2376-081c9e78", "AMPUSERCID=2376") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/2376-081c9e78", "CALLERID(all)="wugi" <2376>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/2376-081c9e78", "REALCALLERIDNUM=2376") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/2376-081c9e78", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/2376-081c9e78", "TTL: ARG1: novm") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/2376-081c9e78", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/2376-081c9e78", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/2376-081c9e78", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/2376-081c9e78", "Using CallerID "wugi" <2376>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/2376-081c9e78", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/2376-081c9e78", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/2376-081c9e78", "EXTTOCALL=2399") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/2376-081c9e78", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/2376-081c9e78", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/2376-081c9e78", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/2376-081c9e78", "record-enable|2399|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2376-081c9e78", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/2376-081c9e78", "recordingcheck|20080711-000616|1215705976.11") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080711-000616|1215705976.11: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/2376-081c9e78", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/2376-081c9e78", "dial||tr|2399") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/2376-081c9e78", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/2376-081c9e78", "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_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'wugi' number is '2376'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 2399 to extension map
-- dialparties.agi: Extension 2399 cf is disabled
-- dialparties.agi: Extension 2399 do not disturb is disabled
dialparties.agi: Extension 2399 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 2399
-- dialparties.agi: dbset CALLTRACE/2399 to 2376
-- dialparties.agi: Filtered ARG3: 2399
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:4] NoOp("SIP/2376-081c9e78", "Returned from dialparties with no extensions to call and DIALSTATUS: ") in new stack
-- Executing [s@macro-exten-vm:10] Set("SIP/2376-081c9e78", "SV_DIALSTATUS=") in new stack
-- Executing [s@macro-exten-vm:11] GosubIf("SIP/2376-081c9e78", "0?docfu|1") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/2376-081c9e78", "0?docfb|1") in new stack
-- Executing [s@macro-exten-vm:13] Set("SIP/2376-081c9e78", "DIALSTATUS=") in new stack
-- Executing [s@macro-exten-vm:14] NoOp("SIP/2376-081c9e78", "Voicemail is novm") in new stack
-- Executing [s@macro-exten-vm:15] GotoIf("SIP/2376-081c9e78", "1?s-|1") in new stack
-- Goto (macro-exten-vm,s-,1)
-- Executing [2399@from-internal:2] Hangup("SIP/2376-081c9e78", "") in new stack
== Spawn extension (from-internal, 2399, 2) exited non-zero on 'SIP/2376-081c9e78'
-- Executing [h@from-internal:1] Macro("SIP/2376-081c9e78", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/2376-081c9e78", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/2376-081c9e78", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/2376-081c9e78", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/2376-081c9e78", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/2376-081c9e78", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/2376-081c9e78", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2376-081c9e78' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2376-081c9e78'
想說今天回來再找譣看看有沒有什麼辦法可以解決的, 找呀找無意間在Elastix的討論區裡發現有篇在討論沒辦法撥內部分機的文章, 便試試裡面提供的解決方法...結果我試後...哈哈, 果然可以...可以打內部分機了.... :D
改法如下
1. 開啟 /etc/asterisk/extensions.conf 跳至第69行, 你會看到原本的內容如下
exten => s,10,Dial(${ds}) ; dialparties will set the priority to 10 if $ds is not null
2. 將以上內容取代為下面這個
exten => s,10(normdial),Dial(${ds}) ; dialparties will set the priority to 10 if $ds is not null
3. 接著重新啟動 asterisk
/etc/init.d/asterisk restart
4. 試撥..從分機2376打至2399...哈哈, 成功了...訊息如下
-- Executing [2399@from-internal:1] Macro("SIP/2376-08208218", "exten-vm|novm|2399") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/2376-08208218", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/2376-08208218", "user-callerid: device 2376") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/2376-08208218", "AMPUSER=2376") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/2376-08208218", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/2376-08208218", "1|Set|REALCALLERIDNUM=2376") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/2376-08208218", "REALCALLERIDNUM is 2376") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/2376-08208218", "AMPUSER=2376") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2376-08208218", "AMPUSERCIDNAME=wugi") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/2376-08208218", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/2376-08208218", "AMPUSERCID=2376") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/2376-08208218", "CALLERID(all)="wugi" <2376>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/2376-08208218", "REALCALLERIDNUM=2376") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/2376-08208218", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/2376-08208218", "TTL: ARG1: novm") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/2376-08208218", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/2376-08208218", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/2376-08208218", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/2376-08208218", "Using CallerID "wugi" <2376>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/2376-08208218", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/2376-08208218", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/2376-08208218", "EXTTOCALL=2399") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/2376-08208218", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/2376-08208218", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/2376-08208218", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/2376-08208218", "record-enable|2399|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2376-08208218", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/2376-08208218", "recordingcheck|20080711-000224|1215705744.8") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080711-000224|1215705744.8: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/2376-08208218", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/2376-08208218", "dial||tr|2399") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/2376-08208218", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/2376-08208218", "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_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'wugi' number is '2376'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 2399 to extension map
-- dialparties.agi: Extension 2399 cf is disabled
-- dialparties.agi: Extension 2399 do not disturb is disabled
dialparties.agi: Extension 2399 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 2399
-- dialparties.agi: dbset CALLTRACE/2399 to 2376
-- dialparties.agi: Filtered ARG3: 2399
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:10] Dial("SIP/2376-08208218", "SIP/2399||tr") in new stack
-- Called 2399
[English Version]
In past days, I am curious to update original Freepbx 2.3.x in Elastix to newer version FreePBX. However, after my upgrade to newer version the internal extensions can't be dialed sucussfully but dial-out through trunks is normal.
I found the major error is 「Returned from dialparties with no extensions to call and DIALSTATUS: [0;37;40m") in new stack」and then the dial tone will be interrupted. See below logs.
-- Executing [2399@from-internal:1] Macro("SIP/2376-081c9e78", "exten-vm|novm|2399") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/2376-081c9e78", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/2376-081c9e78", "user-callerid: device 2376") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/2376-081c9e78", "AMPUSER=2376") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/2376-081c9e78", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/2376-081c9e78", "1|Set|REALCALLERIDNUM=2376") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/2376-081c9e78", "REALCALLERIDNUM is 2376") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/2376-081c9e78", "AMPUSER=2376") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2376-081c9e78", "AMPUSERCIDNAME=wugi") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/2376-081c9e78", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/2376-081c9e78", "AMPUSERCID=2376") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/2376-081c9e78", "CALLERID(all)="wugi" <2376>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/2376-081c9e78", "REALCALLERIDNUM=2376") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/2376-081c9e78", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/2376-081c9e78", "TTL: ARG1: novm") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/2376-081c9e78", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/2376-081c9e78", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/2376-081c9e78", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/2376-081c9e78", "Using CallerID "wugi" <2376>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/2376-081c9e78", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/2376-081c9e78", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/2376-081c9e78", "EXTTOCALL=2399") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/2376-081c9e78", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/2376-081c9e78", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/2376-081c9e78", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/2376-081c9e78", "record-enable|2399|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2376-081c9e78", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/2376-081c9e78", "recordingcheck|20080711-000616|1215705976.11") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080711-000616|1215705976.11: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/2376-081c9e78", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/2376-081c9e78", "dial||tr|2399") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/2376-081c9e78", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/2376-081c9e78", "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_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'wugi' number is '2376'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 2399 to extension map
-- dialparties.agi: Extension 2399 cf is disabled
-- dialparties.agi: Extension 2399 do not disturb is disabled
dialparties.agi: Extension 2399 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 2399
-- dialparties.agi: dbset CALLTRACE/2399 to 2376
-- dialparties.agi: Filtered ARG3: 2399
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:4] NoOp("SIP/2376-081c9e78", "Returned from dialparties with no extensions to call and DIALSTATUS: ") in new stack
-- Executing [s@macro-exten-vm:10] Set("SIP/2376-081c9e78", "SV_DIALSTATUS=") in new stack
-- Executing [s@macro-exten-vm:11] GosubIf("SIP/2376-081c9e78", "0?docfu|1") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("SIP/2376-081c9e78", "0?docfb|1") in new stack
-- Executing [s@macro-exten-vm:13] Set("SIP/2376-081c9e78", "DIALSTATUS=") in new stack
-- Executing [s@macro-exten-vm:14] NoOp("SIP/2376-081c9e78", "Voicemail is novm") in new stack
-- Executing [s@macro-exten-vm:15] GotoIf("SIP/2376-081c9e78", "1?s-|1") in new stack
-- Goto (macro-exten-vm,s-,1)
-- Executing [2399@from-internal:2] Hangup("SIP/2376-081c9e78", "") in new stack
== Spawn extension (from-internal, 2399, 2) exited non-zero on 'SIP/2376-081c9e78'
-- Executing [h@from-internal:1] Macro("SIP/2376-081c9e78", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/2376-081c9e78", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/2376-081c9e78", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/2376-081c9e78", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/2376-081c9e78", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/2376-081c9e78", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/2376-081c9e78", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2376-081c9e78' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/2376-081c9e78'
Today, I try to find the google search and related discussion fourms and find some people also found the same issue. I try to use the solution in discussion forum and get sucessful internal extensions dial. :D
The change procedure is below.
1. Open /etc/asterisk/extensions.conf and jump to line 69. You will see original content in below.
exten => s,10,Dial(${ds}) ; dialparties will set the priority to 10 if $ds is not null
2. Change above line to following
exten => s,10(normdial),Dial(${ds}) ; dialparties will set the priority to 10 if $ds is not null
3. Restart Asterisk Service
/etc/init.d/asterisk restart
4. Try to dial internal extensions. Ex. From ext 2376 to ext 2399 ... Haha...Dial sucessfully. See below log.
-- Executing [2399@from-internal:1] Macro("SIP/2376-08208218", "exten-vm|novm|2399") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/2376-08208218", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/2376-08208218", "user-callerid: device 2376") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/2376-08208218", "AMPUSER=2376") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/2376-08208218", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/2376-08208218", "1|Set|REALCALLERIDNUM=2376") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/2376-08208218", "REALCALLERIDNUM is 2376") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/2376-08208218", "AMPUSER=2376") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/2376-08208218", "AMPUSERCIDNAME=wugi") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/2376-08208218", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/2376-08208218", "AMPUSERCID=2376") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/2376-08208218", "CALLERID(all)="wugi" <2376>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/2376-08208218", "REALCALLERIDNUM=2376") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/2376-08208218", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/2376-08208218", "TTL: ARG1: novm") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/2376-08208218", "0?continue") in new stack
-- Executing [s@macro-user-callerid:15] Set("SIP/2376-08208218", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("SIP/2376-08208218", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/2376-08208218", "Using CallerID "wugi" <2376>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/2376-08208218", "FROMCONTEXT=exten-vm") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/2376-08208218", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/2376-08208218", "EXTTOCALL=2399") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/2376-08208218", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/2376-08208218", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/2376-08208218", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/2376-08208218", "record-enable|2399|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/2376-08208218", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/2376-08208218", "recordingcheck|20080711-000224|1215705744.8") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20080711-000224|1215705744.8: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/2376-08208218", "No recording needed") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/2376-08208218", "dial||tr|2399") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/2376-08208218", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/2376-08208218", "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_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is 'wugi' number is '2376'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 2399 to extension map
-- dialparties.agi: Extension 2399 cf is disabled
-- dialparties.agi: Extension 2399 do not disturb is disabled
dialparties.agi: Extension 2399 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 2399
-- dialparties.agi: dbset CALLTRACE/2399 to 2376
-- dialparties.agi: Filtered ARG3: 2399
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:10] Dial("SIP/2376-08208218", "SIP/2399||tr") in new stack
-- Called 2399
Reference Links: