Summary:ASTERISK-08352: Goto Exten fails when used as a step in Voice Menus
Reporter:Mathew Jones (matjones)Labels:
Date Opened:2006-12-14 11:07:31.000-0600Date Closed:2006-12-18 14:41:31.000-0600
Versions:Frequency of
Description:Code generated by Asterisk GUI in extensions.conf
comment = Website Support
alias_exten = 421
exten = s,1,Answer
exten = s,2,Playback(bibliopolis-website-welcome)
exten = s,3,Goto(301|1)

Error Message on console
[Dec 14 05:03:24] WARNING[2682]: pbx.c:2405 __ast_pbx_run: Channel 'SIP/201-081b1060' sent into invalid extension '301' in context 'voicemenu-custom-3', but no invalid handler

I selected extension 301 from the dropdown list of extensions that appears next to the Goto Extension option in 'Add a new Step'. Extension 301 resides in my default context. As you can see, the Goto() is not specifying a context to send the call into, so it is trying to send it to ext. 301 in the context [voicemenu-custom-3]. The extension doesn't exist in the context.

The correct context should be added to the line in extensions.conf when an extension is selected.

exten = s,3,Goto(default|301|1)
Comments:By: Pari Nannapaneni (pari) 2006-12-18 14:41:31.000-0600

This has been fixed in commit 171