[Freeswitch-users] Cannot query mod_db with a variable

Emrah lists at kavun.ch
Tue Jun 14 18:57:11 MSD 2016


Hi list,
When I do this,
<action application=“set” data=“db_data=${db(select/foo/${dialed_number})}” inline=“true”/>
I get this:
SET sofia/internal/user at domain [db_data]=[!err!]

Likewise when I try to evaluate the content of a key in a condition. It works only if I don’t use a variable. I must be screwing up the syntax somewhere…

Any way I could make this work?
Emrah
FreeSWITCH Version 1.7.0-829


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list