[Home]

Summary:ASTERISK-03601: Goto and GotoIf do not work with a RealTime extension list
Reporter:muppetmaster (muppetmaster)Labels:
Date Opened:2005-02-28 09:29:55.000-0600Date Closed:2011-06-07 14:10:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) temp.txt
Description:Using Goto or GotoIf in a RealTime config I get this error: Feb 28 16:18:48 WARNING[15561]: pbx.c:5817 ast_parseable_goto: Priority 'from_pstn,s,1' must be a number > 0, or valid label

The same logic works fine in a static extensions.conf text file.

****** ADDITIONAL INFORMATION ******

While the logic in the attached example is not perfect, it is what was used to generate the above error.  This extensions list was created only to recreate the error.
Comments:By: Kevin P. Fleming (kpfleming) 2005-02-28 09:57:30.000-0600

Try separating your fields in the appdata column with '|' instead of ','. That is what the applications use internally to separate arguments, and the normal text-file config replaces them during processing.

By: muppetmaster (muppetmaster) 2005-02-28 10:25:57.000-0600

That did the trick.  I will work with the original developer to make sure that distinction gets added to the Wiki.  Thanks!