<div dir="ltr">Configure an ODBC connection to the database, then use freeswitch.Dbh from lua<div><br></div><div><a href="https://wiki.freeswitch.org/wiki/DSN">https://wiki.freeswitch.org/wiki/DSN</a><div><a href="https://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh">https://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.Dbh</a><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 September 2014 18:41, Aqs Younas <span dir="ltr">&lt;<a href="mailto:aqsyounas@gmail.com" target="_blank">aqsyounas@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello, Users<br><br></div>i am newbie to freeswitch.I want to write lua script for querying data for mysql database that i could use in lua script.<br><br></div>Could someone please specify me how to do this with small exemplary lua script code.<br></div><div>or<br></div><br></div>1.) How to make freeswitch connect to mysql for querying data<br><br></div>2.) All steps in this regard.<br><br></div>Thanks <br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>