Auto fallthrough always failed after the voicemail

Hello there,

I was working on a VoiceMenu demo system.
I would like the caller be able to return to the main menu after leave a voicemail.

However, * always tell me the auto failthrough error after caller press the # after leaving voicemail.

This is my extension.conf

exten =>_10XX,1,SetMusicOnHold(default)
exten =>_10XX,2,Dial(SIP/${EXTEN},30,tr)
exten =>_10XX,3,VoiceMail,u${EXTEN}
exten =>_10XX,103,VoiceMail,b${EXTEN}
exten =>_10XX,104,Goto(mydialextension,s,1)

I am expecting that I can go to the Goto(mydialextension,s,1) after caller left the voicemail menu by press the #. However, the * always hangup the caller after auto fallthrough. Any help will be highly appreciated.

The * executaion log is below.
Executing SetMusicOnHold(“SIP/1111-081b6b08”, “default”) in new stack
– Executing Dial(“SIP/1111-081b6b08”, “SIP/1005|30|tr”) in new stack
Jul 31 23:12:53 NOTICE[21905]: app_dial.c:1049 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 3 - No route to destination)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing VoiceMail(“SIP/1111-081b6b08”, “u1005”) in new stack
– Playing ‘vm-theperson’ (language ‘en’)
– Playing ‘digits/1’ (language ‘en’)
– Playing ‘digits/0’ (language ‘en’)
– Playing ‘digits/0’ (language ‘en’)
– Playing ‘digits/5’ (language ‘en’)
– Playing ‘vm-isunavail’ (language ‘en’)
– Playing ‘vm-intro’ (language ‘en’)
– Playing ‘beep’ (language ‘en’)
– Recording the message
– x=0, open writing: /var/spool/asterisk/voicemail/default/1005/tmp/3Z06Cg format: wav49, 0x816b478
– x=1, open writing: /var/spool/asterisk/voicemail/default/1005/tmp/3Z06Cg format: gsm, 0x816b2e8
– x=2, open writing: /var/spool/asterisk/voicemail/default/1005/tmp/3Z06Cg format: wav, 0x816ae28
– User ended message by pressing #
Playing ‘auth-thankyou’ (language ‘en’)
== [color=red]Auto fallthrough, channel ‘SIP/1111-081b6b08’ status is 'CHANUNAVAIL’
Jul 31 23:13:10 NOTICE[20367]: chan_sip.c:5336 [/color]
– Executing Hangup(“SIP/1111-081b6b08”, “”) in new stack

try this:

exten =>_10XX,1,SetMusicOnHold(default)
exten =>_10XX,2,Dial(SIP/${EXTEN},30,tr[color=red]j[/color])
exten =>_10XX,3,VoiceMail,u${EXTEN}
[color=red]exten =>_10XX,4,Goto(mydialextension,s,1) [/color]
exten =>_10XX,103,VoiceMail,b${EXTEN}
exten =>_10XX,104,Goto(mydialextension,s,1)

priority jumping is no longer considered a good way to deal with things as of 1.2.x. You must use the ‘j’ flag to make it happen.