[Asterisk-Users] Mysql cmd with Asterisk Problems

Matthew Boehm mboehm at cytelcom.com
Wed May 18 20:13:27 MST 2005


Hmm..that sounds like a bug to me. Sounds like the parser isn't working on
that variable. Let me give it a go tomorrow and if I can reproduce what you
get then we can open a bug. (Its much better to open a bug when someone else
can verify it.)

-Matthew

> The information that is below is from the CLI window.
> the # for ${resultid} only appears if you using the .conf file. If you
> realtime with mysql resultid has no value and thus is blank.
> 
> I have copied and pasted exact same line from the .conf file to the
> appdata field in mysql and i get the same result. the ${resultid}
> reference is on the fetch line, but it doesnt have a value!
> 
> 
>> pbx at itsngroup.com wrote:
>> 
>>>     -- Executing MYSQL("IAX2/4000 at 129.46.90.210:4569-13", "Fetch
>>> fetchid ivr_password")
>> 
>>>     -- Executing MYSQL("IAX2/4000 at 129.46.90.210:4569-15", "Fetch
>>> fetchid 6 ivr_password") in new stack
>> 
>> 
>>     I don't see the "6" in the realtime extensions debug. Did you forget
>> the
>> ${} reference?
>> 
>> -Matthew





More information about the asterisk-users mailing list