Greetings...
One of our customers is reporting a problem when transferring calls. All of their calls come in via queue, and when the call needs to be transferred to another extension, the call never goes to voicemail. I think the problem is in extensions.conf around macro-exten-vm,dolocaldial,1 -- this is getting called from a GotoIf? in the s exten, which probably serves a particularly important purpose yet doesn't work well in this particular place.
I've implemented a quick extensions_custom.conf workaround, but can't think of a good way to fix this in extensions.conf.
Here's what the console says. Thanks! -rt
-- Executing Set("SIP/xxx.xxx.xxx.35-b69f71e8", "FROM_DID=1npanxxxx20") in new stack
-- Executing Goto("SIP/xxx.xxx.xxx.35-b69f71e8", "ext-queues|505|1") in new stack
-- Goto (ext-queues,505,1)
-- Executing Answer("SIP/xxx.xxx.xxx.35-b69f71e8", "") in new stack
-- Executing GotoIf("SIP/xxx.xxx.xxx.35-b69f71e8", "0?USERCID:SETCID") in new stack
-- Goto (ext-queues,505,4)
-- Executing Set("SIP/xxx.xxx.xxx.35-b69f71e8", "CALLERID(name)=Test:ISP Direct") in new stack
-- Executing Set("SIP/xxx.xxx.xxx.35-b69f71e8", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q505-20060914-084949-1158238189.89897") in new stack
-- Executing Queue("SIP/xxx.xxx.xxx.35-b69f71e8", "505|t||") in new stack
-- Started music on hold, class 'default', on SIP/xxx.xxx.xxx.35-b69f71e8
-- Called Local/20@from-internal/n
-- Executing Macro("Local/20@from-internal-783c,2", "exten-vm|20|20") in new stack
-- Executing Macro("Local/20@from-internal-783c,2", "user-callerid") in new stack
-- Executing GotoIf("Local/20@from-internal-783c,2", "1?report") in new stack
-- Goto (macro-user-callerid,s,9)
-- Executing NoOp("Local/20@from-internal-783c,2", "Using CallerID "Test:ISP Direct" <npanxxxx00>") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "FROMCONTEXT=exten-vm") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "VMBOX=20") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "EXTTOCALL=20") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "CFUEXT=") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "RT=15") in new stack
-- Executing Macro("Local/20@from-internal-783c,2", "record-enable|20|IN") in new stack
-- Executing GotoIf("Local/20@from-internal-783c,2", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("Local/20@from-internal-783c,2", "recordingcheck|20060914-084949|1158238189.89899") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060914-084949|1158238189.89899: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Local/20@from-internal-783c,2", "No recording needed") in new stack
-- Executing GotoIf("Local/20@from-internal-783c,2", "1?dolocaldial|1") in new stack
-- Goto (macro-exten-vm,dolocaldial,1)
-- Executing Macro("Local/20@from-internal-783c,2", "dial||trwW|20") in new stack
-- Executing AGI("Local/20@from-internal-783c,2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
-- dialparties.agi: priority is 1
dialparties.agi: Caller ID name is 'Test:ISP Direct' number is 'npanxxxx00'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 20 to extension map
-- dialparties.agi: Extension 20 cf is disabled
-- dialparties.agi: Extension 20 do not disturb is disabled
== 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
== Manager 'admin' logged off from 127.0.0.1
-- dialparties.agi: Checking CW and CFB status for extension 20
-- dialparties.agi: DbSet CALLTRACE/20 to npanxxxx00
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("Local/20@from-internal-783c,2", "SIP/20||trwW") in new stack
-- Called 20
-- Local/20@from-internal-783c,1 is ringing
-- SIP/20-094dd900 is ringing
-- Playing 'vm-intro' (language 'en')
-- SIP/20-094dd900 answered Local/20@from-internal-783c,2
-- Local/20@from-internal-783c,1 answered SIP/xxx.xxx.xxx.35-b69f71e8
-- Stopped music on hold on SIP/xxx.xxx.xxx.35-b69f71e8
-- Started music on hold, class 'default', on Local/20@from-internal-783c,2
-- Playing 'beep' (language 'en')
-- Recording the message
-- x=0, open writing: /var/spool/asterisk/voicemail/default/304/tmp/RrheU4 format: wav49, 0x9466f78
-- x=1, open writing: /var/spool/asterisk/voicemail/default/304/tmp/RrheU4 format: wav, 0x94dc2f8
-- Stopped music on hold on Local/20@from-internal-783c,2
== Spawn extension (from-internal, 300, 0) exited non-zero on 'Local/20@from-internal-783c,2' in macro 'dial'
== Spawn extension (from-internal, 300, 0) exited non-zero on 'Local/20@from-internal-783c,2' in macro 'exten-vm'
== Spawn extension (from-internal, 300, 0) exited non-zero on 'Local/20@from-internal-783c,2'
-- Executing Macro("Local/20@from-internal-783c,2", "exten-vm|300|300") in new stack
-- Executing Macro("Local/20@from-internal-783c,2", "user-callerid") in new stack
-- Executing GotoIf("Local/20@from-internal-783c,2", "1?report") in new stack
-- Goto (macro-user-callerid,s,9)
-- Executing NoOp("Local/20@from-internal-783c,2", "Using CallerID "Test:ISP Direct" <npanxxxx00>") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "FROMCONTEXT=exten-vm") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "VMBOX=300") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "EXTTOCALL=300") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "CFUEXT=") in new stack
-- Executing Set("Local/20@from-internal-783c,2", "RT=15") in new stack
-- Executing Macro("Local/20@from-internal-783c,2", "record-enable|300|IN") in new stack
-- Executing GotoIf("Local/20@from-internal-783c,2", "15 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,2)
-- Executing ResetCDR("Local/20@from-internal-783c,2", "w") in new stack
-- Executing StopMonitor("Local/20@from-internal-783c,2", "") in new stack
-- Executing AGI("Local/20@from-internal-783c,2", "recordingcheck|20060914-085000|1158238189.89899") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060914-085000|1158238189.89899: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("Local/20@from-internal-783c,2", "No recording needed") in new stack
-- Executing GotoIf("Local/20@from-internal-783c,2", "1?dolocaldial|1") in new stack
-- Goto (macro-exten-vm,dolocaldial,1)
-- Executing Macro("Local/20@from-internal-783c,2", "dial||trwW|300") in new stack
-- Executing AGI("Local/20@from-internal-783c,2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
-- dialparties.agi: priority is 1
dialparties.agi: Caller ID name is 'Test:ISP Direct' number is 'npanxxxx00'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 300 to extension map
-- dialparties.agi: Extension 300 cf is disabled
-- dialparties.agi: Extension 300 do not disturb is disabled
== 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
== Manager 'admin' logged off from 127.0.0.1
-- dialparties.agi: Checking CW and CFB status for extension 300
-- dialparties.agi: DbSet CALLTRACE/300 to npanxxxx00
-- AGI Script dialparties.agi completed, returning 0
-- Executing Dial("Local/20@from-internal-783c,2", "SIP/300||trwW") in new stack
-- Called 300
-- SIP/300-094e36a8 is ringing
-- User hung up
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/4.68.250.81-b6799800' in macro 'vm'
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/4.68.250.81-b6799800' in macro 'exten-vm'
== Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/4.68.250.81-b6799800'