Hello, I'm having troubles while using the "Goto" function in a realtime extension. Here is the error message : -- Executing Goto("SIP/siemens1-081f56b0", "script_13_0|s|1") -- Goto (script_13_0,s,1) [Feb 7 13:24:21] WARNING[28666]: pbx.c:2455 __ast_pbx_run: Channel 'SIP/siemens1-081f56b0' sent into invalid extension 's' in context 'script_13_0', but no invalid handler And I definitively have a row in my extensions table with context script_13_0, exten s and priority 1 ! I also tried to goto in another context that is in my extensions.conf file, and it works. Is this a restriction or a bug ? It seems that it's not possible to "Goto" to another context within the realtime extensions. Cheers, Yves.
On Thursday 07 February 2008 08:05:40 Yves R?ber wrote:> Hello, > > I'm having troubles while using the "Goto" function in a realtime > extension. Here is the error message : > > -- Executing Goto("SIP/siemens1-081f56b0", "script_13_0|s|1") > -- Goto (script_13_0,s,1) > [Feb 7 13:24:21] WARNING[28666]: pbx.c:2455 __ast_pbx_run: Channel > 'SIP/siemens1-081f56b0' sent into invalid extension 's' in context > 'script_13_0', but no invalid handler > > And I definitively have a row in my extensions table with context > script_13_0, exten s and priority 1 ! > > I also tried to goto in another context that is in my extensions.conf > file, and it works. > > Is this a restriction or a bug ? It seems that it's not possible to > "Goto" to another context within the realtime extensions.It's impossible to guess what might be wrong, because you haven't included a dump from your table. Try a: SELECT * FROM extensions_table WHERE exten='s' AND context='script_13_0' AND priority='1' If that fails, you have your answer. -- Tilghman
> Iwould have been happy ... but it's not that. This query gives me the> rightrow (I double checked). Make sure you don't have any labels on the prioritys. When loading extensions from realtime labels aren't supported. Replace: exten => _X.,1(mylabel),... with exten => _X.,1,... You'll have to make your Goto's use the prioritty instead of the label afterward. Regards, Greyman. Get the name you always wanted with the new y7mail email address. www.yahoo7.com.au/y7mail