Summary:ASTERISK-15234: pbx_extension_helper cannot find labels in contexts
Reporter:John Hale (john hale)Labels:
Date Opened:2009-11-29 16:12:41.000-0600Date Closed:2011-06-07 14:01:01
Versions:Frequency of
Environment:Attachments:( 0) extensions.conf
Description:In a dialplan in extensions I have a context [hotdesk] which has GotoIf statements. pbx_extension_helper always reports that the goto labels don't exist.
Comments:By: John Hale (john hale) 2009-11-29 16:20:44.000-0600

[Nov 29 21:35:58] NOTICE[3580]: pbx.c:3252 pbx_extension_helper: No such label 'invalid_user' in extension '1011' in context 'hotdesk'
[Nov 29 21:35:58] WARNING[3580]: pbx.c:9017 pbx_parseable_goto: Priority 'invalid_user' must be a number > 0, or valid label
 == Spawn extension (hotdesk, 1011, 7) exited non-zero on 'SIP/1000-00000000'

By: Tilghman Lesher (tilghman) 2009-11-29 22:44:44.000-0600

Please upload your extensions.conf.

By: John Hale (john hale) 2009-11-30 01:08:00.000-0600

I've just uploaded the relevant section of extensions.conf. I have since replaced the pipes with commas in the relevant places and the problem persists.

By: David Woolley (davidw) 2009-11-30 06:45:34.000-0600

There is a configuration error in the GotoIf to invalid_user (missing priority).

There is a configuration error in the Goto in logout_login (non-numeric priority is not the sole parameter).

By: John Hale (john hale) 2009-11-30 07:05:35.000-0600

Thanks for that and apologies for troubling you. I can see it now.