[asterisk-bugs] [JIRA] Commented: (ASTERISK-20313) GotoIf redirection to label not working in included extension
Noah Engelberth (JIRA)
noreply at issues.asterisk.org
Thu Aug 23 19:32:07 CDT 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196151#comment-196151 ]
Noah Engelberth commented on ASTERISK-20313:
--------------------------------------------
Additionally, (at least with the SVN build), Goto and GotoIfTime exhibit the same behavior.
> GotoIf redirection to label not working in included extension
> -------------------------------------------------------------
>
> Key: ASTERISK-20313
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20313
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: SVN, 10.4.2, 11.0.0-beta1
> Environment: CentOS 6.3 VM on CentOS 6.2 KVM cluster; CentOS 6.3 on Dell Optiplex 790
> Reporter: Noah Engelberth
> Severity: Minor
> Attachments: dialplan.txt
>
>
> I run a hotdesking system based on the example from Asterisk: The Definitive Guide. Calls come into the [hotdesk] context, which verifies the phone has a logged in user and sends the call to users,${EXTEN},1 if there is a user logged in. The [users] context then includes several other contexts for internal/external call handling, as attached. In both Asterisk 10 and Asterisk 11, the GotoIf does not work under the circumstances shown, giving me the following error and hanging up the call:
> [Aug 23 15:17:35] WARNING[3558][C-00000565]: pbx.c:11799 pbx_parseable_goto: Priority 'notloggedin' must be a number > 0, or valid label
> I can work around the issue with any of the following:
> - Change the GotoIf to point to internal,${EXTEN},notloggedin
> - Change the GotoIf to point to 9
> - Comment out the DUNDi switch in [users]
> - Unload the pbx_dundi.so module
> In the latter two cases, the call redirects to the notloggedin priority label within [internal],${EXTEN} without me changing the GotoIf - as long as the DUNDi switch is not active in [users]. With the DUNDi switch active, I get the warning message above and the call hangs up.
> I have tried with several other words for the label -- no label works. I've had the target priority at different points in the extension, ranging from 9 to 15 -- if I call it numerically or as a full context,extension,priority it works, but just calling the priority as a label does not as long as the DUNDi switch is active in the original context the call is operating out of ([users]).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list