[Home]

Summary:ASTERISK-16092: [regression] Operator context execution broken
Reporter:rsw686 (rsw686)Labels:
Date Opened:2010-05-13 10:53:25Date Closed:2010-06-16 16:05:09
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Using Asterisk 1.6.2.7 the voicemail operator context works. With Asterisk 1.6.2.8-rc1 the operator context is not being executed.

Working 1.6.2.7 console output
   -- <SIP/102-00000000> Playing '/var/spool/asterisk/voicemail/default/101/greet.slin' (language 'en')
   -- <SIP/102-00000000> Playing 'transfer.ulaw' (language 'en')
   -- Executing [o@macro-vm:1] Playback("SIP/102-00000000", "one-moment-please") in new stack
   -- <SIP/102-00000000> Playing 'one-moment-please.ulaw' (language 'en')
   -- Executing [o@macro-vm:2] GotoIf("SIP/102-00000000", "0?doopdef") in new stack

Broken 1.6.2.8-rc1 console output
   -- <SIP/102-00000000> Playing '/var/spool/asterisk/voicemail/default/101/greet.slin' (language 'en')
   -- <SIP/102-00000000> Playing 'transfer.ulaw' (language 'en')
 == Spawn extension (macro-vm, o, 0) exited non-zero on 'SIP/102-00000000' in macro 'vm'
 == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/102-00000000' in macro 'exten-vm'
 == Spawn extension (from-internal, 101, 1) exited non-zero on 'SIP/102-00000000'
   -- Executing [h@from-internal:1] Macro("SIP/102-00000000", "hangupcall") in new stack
Comments:By: rsw686 (rsw686) 2010-05-13 11:00:15

Reverting revision 260927 resolves the issue.

By: Mark Michelson (mmichelson) 2010-05-17 14:34:09

I just tried a quick test and it's working fine for me. Can you post your dialplan?

By: rsw686 (rsw686) 2010-05-17 14:44:28

I'm running FreePBX 2.7. Both Asterisk versions were tested on the same system with no additional changes.

By: rsw686 (rsw686) 2010-05-17 15:21:47

I can test any patches on this system. The issue is directly related to 260927. Right now I am running 1.6.2.8-rc1 and pressing 0 doesn't work. As soon as I revert that patch it works.

By: Mark Michelson (mmichelson) 2010-05-17 15:21:58

I tried many different combinations, such as putting voicemail and the 'o' extension in a macro, but this has not helped to reproduce the issue.

I know that FreePBX can create some massive dialplans, so rather than posting that, could you instead post a full log of a successful and failing call? What you have posted shows the point of failure, but it's hard to try to reproduce the behavior without knowing what led to the problem. Thanks!

By: rsw686 (rsw686) 2010-05-17 15:34:43

Non working log. Call from 2028 to 102.

 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
   -- Executing [102@from-internal:1] Macro("SIP/2028-00000004", "exten-vm,102,102") in new stack
   -- Executing [s@macro-exten-vm:1] Macro("SIP/2028-00000004", "user-callerid,") in new stack
   -- Executing [s@macro-user-callerid:1] Set("SIP/2028-00000004", "AMPUSER=2028") in new stack
   -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2028-00000004", "0?report") in new stack
   -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2028-00000004", "1?Set(REALCALLERIDNUM=2028)") in new stack
   -- Executing [s@macro-user-callerid:4] Set("SIP/2028-00000004", "AMPUSER=2028") in new stack
   -- Executing [s@macro-user-callerid:5] Set("SIP/2028-00000004", "AMPUSERCIDNAME=Ryan") in new stack
   -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2028-00000004", "0?report") in new stack
   -- Executing [s@macro-user-callerid:7] Set("SIP/2028-00000004", "AMPUSERCID=2028") in new stack
   -- Executing [s@macro-user-callerid:8] Set("SIP/2028-00000004", "CALLERID(all)="Ryan" <2028>") in new stack
   -- Executing [s@macro-user-callerid:9] GotoIf("SIP/2028-00000004", "0?continue") in new stack
   -- Executing [s@macro-user-callerid:10] Set("SIP/2028-00000004", "__TTL=64") in new stack
   -- Executing [s@macro-user-callerid:11] GotoIf("SIP/2028-00000004", "1?continue") in new stack
   -- Goto (macro-user-callerid,s,18)
   -- Executing [s@macro-user-callerid:18] NoOp("SIP/2028-00000004", "Using CallerID "Ryan" <2028>") in new stack
   -- Executing [s@macro-exten-vm:2] Set("SIP/2028-00000004", "RingGroupMethod=none") in new stack
   -- Executing [s@macro-exten-vm:3] Set("SIP/2028-00000004", "VMBOX=102") in new stack
   -- Executing [s@macro-exten-vm:4] Set("SIP/2028-00000004", "EXTTOCALL=102") in new stack
   -- Executing [s@macro-exten-vm:5] Set("SIP/2028-00000004", "CFUEXT=") in new stack
   -- Executing [s@macro-exten-vm:6] Set("SIP/2028-00000004", "CFBEXT=") in new stack
   -- Executing [s@macro-exten-vm:7] Set("SIP/2028-00000004", "RT=15") in new stack
   -- Executing [s@macro-exten-vm:8] Macro("SIP/2028-00000004", "record-enable,102,IN") in new stack
   -- Executing [s@macro-record-enable:1] GotoIf("SIP/2028-00000004", "1?check") in new stack
   -- Goto (macro-record-enable,s,4)
   -- Executing [s@macro-record-enable:4] ExecIf("SIP/2028-00000004", "0?MacroExit()") in new stack
   -- Executing [s@macro-record-enable:5] GotoIf("SIP/2028-00000004", "0?Group:OUT") in new stack
   -- Goto (macro-record-enable,s,15)
   -- Executing [s@macro-record-enable:15] GotoIf("SIP/2028-00000004", "1?IN") in new stack
   -- Goto (macro-record-enable,s,20)
   -- Executing [s@macro-record-enable:20] ExecIf("SIP/2028-00000004", "1?MacroExit()") in new stack
   -- Executing [s@macro-exten-vm:9] Macro("SIP/2028-00000004", "dial,15,trTwWxX,102") in new stack
   -- Executing [s@macro-dial:1] GotoIf("SIP/2028-00000004", "1?dial") in new stack
   -- Goto (macro-dial,s,3)
   -- Executing [s@macro-dial:3] AGI("SIP/2028-00000004", "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 'Ryan' number is '2028'
dialparties.agi: Methodology of ring is  'none'
   -- dialparties.agi: Added extension 102 to extension map
   -- dialparties.agi: Extension 102 cf is disabled
   -- dialparties.agi: Extension 102 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
   -- dialparties.agi: dbset CALLTRACE/102 to 2028
   -- dialparties.agi: Filtered ARG3: 102
   -- <SIP/2028-00000004>AGI Script dialparties.agi completed, returning 0
   -- Executing [s@macro-dial:7] Dial("SIP/2028-00000004", "SIP/102,15,trTwWxX") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
 == Everyone is busy/congested at this time (1:0/0/1)
   -- Executing [s@macro-dial:8] Set("SIP/2028-00000004", "DIALSTATUS=CHANUNAVAIL") in new stack
   -- Executing [s@macro-dial:9] GotoIf("SIP/2028-00000004", "0?ANSWER,1") in new stack
   -- Executing [s@macro-dial:10] GosubIf("SIP/2028-00000004", "0?CHANUNAVAIL,1") in new stack
   -- Executing [s@macro-exten-vm:10] GotoIf("SIP/2028-00000004", "0?exit,return") in new stack
   -- Executing [s@macro-exten-vm:11] Set("SIP/2028-00000004", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
   -- Executing [s@macro-exten-vm:12] GosubIf("SIP/2028-00000004", "0?docfu,1") in new stack
   -- Executing [s@macro-exten-vm:13] GosubIf("SIP/2028-00000004", "0?docfb,1") in new stack
   -- Executing [s@macro-exten-vm:14] Set("SIP/2028-00000004", "DIALSTATUS=CHANUNAVAIL") in new stack
   -- Executing [s@macro-exten-vm:15] NoOp("SIP/2028-00000004", "Voicemail is '102'") in new stack
   -- Executing [s@macro-exten-vm:16] GotoIf("SIP/2028-00000004", "0?s-CHANUNAVAIL,1") in new stack
   -- Executing [s@macro-exten-vm:17] NoOp("SIP/2028-00000004", "Sending to Voicemail box 102") in new stack
   -- Executing [s@macro-exten-vm:18] Macro("SIP/2028-00000004", "vm,102,CHANUNAVAIL,") in new stack
   -- Executing [s@macro-vm:1] Macro("SIP/2028-00000004", "user-callerid,SKIPTTL") in new stack
   -- Executing [s@macro-user-callerid:1] Set("SIP/2028-00000004", "AMPUSER=2028") in new stack
   -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2028-00000004", "0?report") in new stack
   -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2028-00000004", "0?Set(REALCALLERIDNUM=2028)") in new stack
   -- Executing [s@macro-user-callerid:4] Set("SIP/2028-00000004", "AMPUSER=2028") in new stack
   -- Executing [s@macro-user-callerid:5] Set("SIP/2028-00000004", "AMPUSERCIDNAME=Ryan") in new stack
   -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2028-00000004", "0?report") in new stack
   -- Executing [s@macro-user-callerid:7] Set("SIP/2028-00000004", "AMPUSERCID=2028") in new stack
   -- Executing [s@macro-user-callerid:8] Set("SIP/2028-00000004", "CALLERID(all)="Ryan" <2028>") in new stack
   -- Executing [s@macro-user-callerid:9] GotoIf("SIP/2028-00000004", "1?continue") in new stack
   -- Goto (macro-user-callerid,s,18)
   -- Executing [s@macro-user-callerid:18] NoOp("SIP/2028-00000004", "Using CallerID "Ryan" <2028>") in new stack
   -- Executing [s@macro-vm:2] Set("SIP/2028-00000004", "VMGAIN=""") in new stack
   -- Executing [s@macro-vm:3] GotoIf("SIP/2028-00000004", "1?vmx,1") in new stack
   -- Goto (macro-vm,vmx,1)
   -- Executing [vmx@macro-vm:1] Set("SIP/2028-00000004", "MEXTEN=102") in new stack
   -- Executing [vmx@macro-vm:2] Set("SIP/2028-00000004", "MMODE=CHANUNAVAIL") in new stack
   -- Executing [vmx@macro-vm:3] Set("SIP/2028-00000004", "RETVM=") in new stack
   -- Executing [vmx@macro-vm:4] Set("SIP/2028-00000004", "MODE=unavail") in new stack
   -- Executing [vmx@macro-vm:5] GotoIf("SIP/2028-00000004", "1?chknomsg") in new stack
   -- Goto (macro-vm,vmx,7)
   -- Executing [vmx@macro-vm:7] GotoIf("SIP/2028-00000004", "0?s-CHANUNAVAIL,1") in new stack
   -- Executing [vmx@macro-vm:8] GotoIf("SIP/2028-00000004", "1?notdirect") in new stack
   -- Goto (macro-vm,vmx,10)
   -- Executing [vmx@macro-vm:10] NoOp("SIP/2028-00000004", "Checking if ext 102 is enabled: ") in new stack
   -- Executing [vmx@macro-vm:11] GotoIf("SIP/2028-00000004", "1?s-CHANUNAVAIL,1") in new stack
   -- Goto (macro-vm,s-CHANUNAVAIL,1)
   -- Executing [s-CHANUNAVAIL@macro-vm:1] Macro("SIP/2028-00000004", "get-vmcontext,102") in new stack
   -- Executing [s@macro-get-vmcontext:1] Set("SIP/2028-00000004", "VMCONTEXT=default") in new stack
   -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/2028-00000004", "0?200:300") in new stack
   -- Goto (macro-get-vmcontext,s,300)
   -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/2028-00000004", "") in new stack
   -- Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail("SIP/2028-00000004", "102@default,u") in new stack
   -- <SIP/2028-00000004> Playing 'vm-theperson.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'digits/1.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'digits/0.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'digits/2.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'vm-isunavail.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'vm-intro.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'transfer.ulaw' (language 'en')
 == Spawn extension (macro-vm, o, 0) exited non-zero on 'SIP/2028-00000004' in macro 'vm'
 == Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'SIP/2028-00000004' in macro 'exten-vm'
 == Spawn extension (from-internal, 102, 1) exited non-zero on 'SIP/2028-00000004'
   -- Executing [h@from-internal:1] Macro("SIP/2028-00000004", "hangupcall") in new stack
   -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2028-00000004", "1?skiprg") in new stack
   -- Goto (macro-hangupcall,s,4)
   -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2028-00000004", "1?skipblkvm") in new stack
   -- Goto (macro-hangupcall,s,7)
   -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2028-00000004", "1?theend") in new stack
   -- Goto (macro-hangupcall,s,9)
   -- Executing [s@macro-hangupcall:9] Hangup("SIP/2028-00000004", "") in new stack
 == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2028-00000004' in macro 'hangupcall'
 == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2028-00000004'


Working log. Call from 2028 to 102 with # (directory) set as operator
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
   -- Executing [102@from-internal:1] Macro("SIP/2028-00000004", "exten-vm,102,102") in new stack
   -- Executing [s@macro-exten-vm:1] Macro("SIP/2028-00000004", "user-callerid,") in new stack
   -- Executing [s@macro-user-callerid:1] Set("SIP/2028-00000004", "AMPUSER=2028") in new stack
   -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2028-00000004", "0?report") in new stack
   -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2028-00000004", "1?Set(REALCALLERIDNUM=2028)") in new stack
   -- Executing [s@macro-user-callerid:4] Set("SIP/2028-00000004", "AMPUSER=2028") in new stack
   -- Executing [s@macro-user-callerid:5] Set("SIP/2028-00000004", "AMPUSERCIDNAME=Ryan") in new stack
   -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2028-00000004", "0?report") in new stack
   -- Executing [s@macro-user-callerid:7] Set("SIP/2028-00000004", "AMPUSERCID=2028") in new stack
   -- Executing [s@macro-user-callerid:8] Set("SIP/2028-00000004", "CALLERID(all)="Ryan" <2028>") in new stack
   -- Executing [s@macro-user-callerid:9] GotoIf("SIP/2028-00000004", "0?continue") in new stack
   -- Executing [s@macro-user-callerid:10] Set("SIP/2028-00000004", "__TTL=64") in new stack
   -- Executing [s@macro-user-callerid:11] GotoIf("SIP/2028-00000004", "1?continue") in new stack
   -- Goto (macro-user-callerid,s,18)
   -- Executing [s@macro-user-callerid:18] NoOp("SIP/2028-00000004", "Using CallerID "Ryan" <2028>") in new stack
   -- Executing [s@macro-exten-vm:2] Set("SIP/2028-00000004", "RingGroupMethod=none") in new stack
   -- Executing [s@macro-exten-vm:3] Set("SIP/2028-00000004", "VMBOX=102") in new stack
   -- Executing [s@macro-exten-vm:4] Set("SIP/2028-00000004", "EXTTOCALL=102") in new stack
   -- Executing [s@macro-exten-vm:5] Set("SIP/2028-00000004", "CFUEXT=") in new stack
   -- Executing [s@macro-exten-vm:6] Set("SIP/2028-00000004", "CFBEXT=") in new stack
   -- Executing [s@macro-exten-vm:7] Set("SIP/2028-00000004", "RT=15") in new stack
   -- Executing [s@macro-exten-vm:8] Macro("SIP/2028-00000004", "record-enable,102,IN") in new stack
   -- Executing [s@macro-record-enable:1] GotoIf("SIP/2028-00000004", "1?check") in new stack
   -- Goto (macro-record-enable,s,4)
   -- Executing [s@macro-record-enable:4] ExecIf("SIP/2028-00000004", "0?MacroExit()") in new stack
   -- Executing [s@macro-record-enable:5] GotoIf("SIP/2028-00000004", "0?Group:OUT") in new stack
   -- Goto (macro-record-enable,s,15)
   -- Executing [s@macro-record-enable:15] GotoIf("SIP/2028-00000004", "1?IN") in new stack
   -- Goto (macro-record-enable,s,20)
   -- Executing [s@macro-record-enable:20] ExecIf("SIP/2028-00000004", "1?MacroExit()") in new stack
   -- Executing [s@macro-exten-vm:9] Macro("SIP/2028-00000004", "dial,15,trTwWxX,102") in new stack
   -- Executing [s@macro-dial:1] GotoIf("SIP/2028-00000004", "1?dial") in new stack
   -- Goto (macro-dial,s,3)
   -- Executing [s@macro-dial:3] AGI("SIP/2028-00000004", "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 'Ryan' number is '2028'
dialparties.agi: Methodology of ring is  'none'
   -- dialparties.agi: Added extension 102 to extension map
   -- dialparties.agi: Extension 102 cf is disabled
   -- dialparties.agi: Extension 102 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 4 (UNAVAILABLE)
   -- dialparties.agi: dbset CALLTRACE/102 to 2028
   -- dialparties.agi: Filtered ARG3: 102
   -- <SIP/2028-00000004>AGI Script dialparties.agi completed, returning 0
   -- Executing [s@macro-dial:7] Dial("SIP/2028-00000004", "SIP/102,15,trTwWxX") in new stack
 == Using SIP RTP TOS bits 184
 == Using SIP RTP CoS mark 5
 == Everyone is busy/congested at this time (1:0/0/1)
   -- Executing [s@macro-dial:8] Set("SIP/2028-00000004", "DIALSTATUS=CHANUNAVAIL") in new stack
   -- Executing [s@macro-dial:9] GotoIf("SIP/2028-00000004", "0?ANSWER,1") in new stack
   -- Executing [s@macro-dial:10] GosubIf("SIP/2028-00000004", "0?CHANUNAVAIL,1") in new stack
   -- Executing [s@macro-exten-vm:10] GotoIf("SIP/2028-00000004", "0?exit,return") in new stack
   -- Executing [s@macro-exten-vm:11] Set("SIP/2028-00000004", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
   -- Executing [s@macro-exten-vm:12] GosubIf("SIP/2028-00000004", "0?docfu,1") in new stack
   -- Executing [s@macro-exten-vm:13] GosubIf("SIP/2028-00000004", "0?docfb,1") in new stack
   -- Executing [s@macro-exten-vm:14] Set("SIP/2028-00000004", "DIALSTATUS=CHANUNAVAIL") in new stack
   -- Executing [s@macro-exten-vm:15] NoOp("SIP/2028-00000004", "Voicemail is '102'") in new stack
   -- Executing [s@macro-exten-vm:16] GotoIf("SIP/2028-00000004", "0?s-CHANUNAVAIL,1") in new stack
   -- Executing [s@macro-exten-vm:17] NoOp("SIP/2028-00000004", "Sending to Voicemail box 102") in new stack
   -- Executing [s@macro-exten-vm:18] Macro("SIP/2028-00000004", "vm,102,CHANUNAVAIL,") in new stack
   -- Executing [s@macro-vm:1] Macro("SIP/2028-00000004", "user-callerid,SKIPTTL") in new stack
   -- Executing [s@macro-user-callerid:1] Set("SIP/2028-00000004", "AMPUSER=2028") in new stack
   -- Executing [s@macro-user-callerid:2] GotoIf("SIP/2028-00000004", "0?report") in new stack
   -- Executing [s@macro-user-callerid:3] ExecIf("SIP/2028-00000004", "0?Set(REALCALLERIDNUM=2028)") in new stack
   -- Executing [s@macro-user-callerid:4] Set("SIP/2028-00000004", "AMPUSER=2028") in new stack
   -- Executing [s@macro-user-callerid:5] Set("SIP/2028-00000004", "AMPUSERCIDNAME=Ryan") in new stack
   -- Executing [s@macro-user-callerid:6] GotoIf("SIP/2028-00000004", "0?report") in new stack
   -- Executing [s@macro-user-callerid:7] Set("SIP/2028-00000004", "AMPUSERCID=2028") in new stack
   -- Executing [s@macro-user-callerid:8] Set("SIP/2028-00000004", "CALLERID(all)="Ryan" <2028>") in new stack
   -- Executing [s@macro-user-callerid:9] GotoIf("SIP/2028-00000004", "1?continue") in new stack
   -- Goto (macro-user-callerid,s,18)
   -- Executing [s@macro-user-callerid:18] NoOp("SIP/2028-00000004", "Using CallerID "Ryan" <2028>") in new stack
   -- Executing [s@macro-vm:2] Set("SIP/2028-00000004", "VMGAIN=""") in new stack
   -- Executing [s@macro-vm:3] GotoIf("SIP/2028-00000004", "1?vmx,1") in new stack
   -- Goto (macro-vm,vmx,1)
   -- Executing [vmx@macro-vm:1] Set("SIP/2028-00000004", "MEXTEN=102") in new stack
   -- Executing [vmx@macro-vm:2] Set("SIP/2028-00000004", "MMODE=CHANUNAVAIL") in new stack
   -- Executing [vmx@macro-vm:3] Set("SIP/2028-00000004", "RETVM=") in new stack
   -- Executing [vmx@macro-vm:4] Set("SIP/2028-00000004", "MODE=unavail") in new stack
   -- Executing [vmx@macro-vm:5] GotoIf("SIP/2028-00000004", "1?chknomsg") in new stack
   -- Goto (macro-vm,vmx,7)
   -- Executing [vmx@macro-vm:7] GotoIf("SIP/2028-00000004", "0?s-CHANUNAVAIL,1") in new stack
   -- Executing [vmx@macro-vm:8] GotoIf("SIP/2028-00000004", "1?notdirect") in new stack
   -- Goto (macro-vm,vmx,10)
   -- Executing [vmx@macro-vm:10] NoOp("SIP/2028-00000004", "Checking if ext 102 is enabled: ") in new stack
   -- Executing [vmx@macro-vm:11] GotoIf("SIP/2028-00000004", "1?s-CHANUNAVAIL,1") in new stack
   -- Goto (macro-vm,s-CHANUNAVAIL,1)
   -- Executing [s-CHANUNAVAIL@macro-vm:1] Macro("SIP/2028-00000004", "get-vmcontext,102") in new stack
   -- Executing [s@macro-get-vmcontext:1] Set("SIP/2028-00000004", "VMCONTEXT=default") in new stack
   -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/2028-00000004", "0?200:300") in new stack
   -- Goto (macro-get-vmcontext,s,300)
   -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/2028-00000004", "") in new stack
   -- Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail("SIP/2028-00000004", "102@default,u") in new stack
   -- <SIP/2028-00000004> Playing 'vm-theperson.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'digits/1.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'digits/0.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'digits/2.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'vm-isunavail.ulaw' (language 'en')
   -- <SIP/2028-00000004> Playing 'transfer.ulaw' (language 'en')
   -- Executing [o@macro-vm:1] Playback("SIP/2028-00000004", "one-moment-please") in new stack
   -- <SIP/2028-00000004> Playing 'one-moment-please.ulaw' (language 'en')
   -- Executing [o@macro-vm:2] GotoIf("SIP/2028-00000004", "1?doopdef") in new stack
   -- Goto (macro-vm,o,11)
   -- Executing [o@macro-vm:11] GotoIf("SIP/2028-00000004", "0?nooper:from-internal,#,1") in new stack
   -- Goto (from-internal,#,1)
 == Channel 'SIP/2028-00000004' jumping out of macro 'vm'
 == Channel 'SIP/2028-00000004' jumping out of macro 'exten-vm'
   -- Executing [#@from-internal:1] Answer("SIP/2028-00000004", "") in new stack
   -- Executing [#@from-internal:2] Wait("SIP/2028-00000004", "1") in new stack
   -- Executing [#@from-internal:3] AGI("SIP/2028-00000004", "directory,,from-did-direct,lo") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/directory
directory,,from-did-direct,lo: Notice: vm-context not specified.  Using 'default'
   -- <SIP/2028-00000004> Playing 'dir-intro-oper.gsm' (language 'en')
   -- <SIP/2028-00000004>AGI Script directory completed, returning -1
   -- Executing [h@from-internal:1] Macro("SIP/2028-00000004", "hangupcall") in new stack
   -- Executing [s@macro-hangupcall:1] GotoIf("SIP/2028-00000004", "1?skiprg") in new stack
   -- Goto (macro-hangupcall,s,4)
   -- Executing [s@macro-hangupcall:4] GotoIf("SIP/2028-00000004", "1?skipblkvm") in new stack
   -- Goto (macro-hangupcall,s,7)
   -- Executing [s@macro-hangupcall:7] GotoIf("SIP/2028-00000004", "1?theend") in new stack
   -- Goto (macro-hangupcall,s,9)
   -- Executing [s@macro-hangupcall:9] Hangup("SIP/2028-00000004", "") in new stack
 == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/2028-00000004' in macro 'hangupcall'
 == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/2028-00000004'

By: Mark Michelson (mmichelson) 2010-05-17 15:39:02

Okay, so, here's the deal. I have reproduced the issue. The key here was that I was working under the assumption that if 1.6.2.8-rc1 has the issue, then the tip of the 1.6.2 branch must also have the issue. That was my downfall. I reproduced the issue with 1.6.2.8-rc1, but I cannot do so with the tip of the 1.6.2 branch. Unfortunately, there does not appear to be another tagged rc of 1.6.2 that I can recommend using. If you have the ability to do so, can you try using the tip of the 1.6.2 branch and see if you still have the problem when using it? Thanks!

By: rsw686 (rsw686) 2010-05-17 15:55:31

Sure I am doing testing for a small office deployment on this box. I just checked out SVN-branch-1.6.2-r263590 and can confirm that pressing 0 works correctly. I was under the same assumption and didn't think to checkout the latest svn branch. Good to know this has been resolved.

By: Mark Michelson (mmichelson) 2010-05-17 16:17:14

Thanks for the quick feedback. Since this appears to be fixed already, I am going to close this issue.