[Freeswitch-users] ivr with mysql

Aleksandr Chusov chusov.alexsandr at gmail.com
Fri Dec 6 19:59:52 MSK 2013


Or execute  lua script, something like

session:answer();
session:execute("start_dtmf");
menu_id = session:playAndGetDigits();

.....

query = "SELECT * FROM  ivr_menu WHERE  menu_number = '" ..menu_id.. "'"
assert(dbh:query(query, function(qrow)
.......
.......


2013/12/6 Vik Killa <vipkilla at gmail.com>

> You can use XML_CURL to create the ivr.conf.xml that FS parses
>
>
> On Fri, Dec 6, 2013 at 10:31 AM, Joli Martinez <mrjoli021 at gmail.com>wrote:
>
>> Hello,
>>
>> I would like to know how to connect an IVR to msql db to make the IVR
>> more dynamic.
>>
>> thanks,
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131206/ad9a5a65/attachment.html 


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