I&#39;m pretty sure the stuff you need for mod_sofia is found here:<br><a href="http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core">http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core</a><br><br>However, I&#39;m not sure what exactly you mean about the query in the dialplan. Could you clarify what you mean?<br>
-MC<br><br><div class="gmail_quote">On Sun, May 27, 2012 at 2:18 AM, Samira Mh <span dir="ltr">&lt;<a href="mailto:saami_mh@ymail.com" target="_blank">saami_mh@ymail.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><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>hi guys,</div><div>i have created mysql database name &quot;x&quot; using ODBC in freeswitch,</div><div>now i have the table named &quot;y&quot; in  the &quot;x&quot; databases;</div>
<div>now,how can i connect the sipuser in my direcroty to the &quot;x&quot; database so that use the result of quert for taht user?</div><div><span style="font-size:12pt">and how can i insert query into the dialplan to connect myuser to mysql table</span><br>
</div><div>how can i do that ?</div><div>thanks alot</div></div></div><br></blockquote></div><br>