<div dir="ltr">There&#39;s an example on wiki about fetching data from MySQL and <span style="color:rgb(0,0,0);font-family:sans-serif;font-size:13px;line-height:19.1875px">setting them as channel variables that could be of use to you...</span><div>

<br></div><div><a href="http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh#XML_Dialplan">http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh#XML_Dialplan</a><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Sun, Dec 29, 2013 at 9:42 PM, baskar <span dir="ltr">&lt;<a href="mailto:yudha2008@gmail.com" target="_blank">yudha2008@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">

Hi All,<br>
<br>
How to fetch password from MySQL through dialplan in freeswitch.<br>
<br>
In MySQL i have table name with &quot;ext_passwd&quot; in that 1001 password is 4587.<br>
How to enable outbound call with password protected. If i need to make a<br>
outbound call from extension say 1001 to some toll free number. When i dial<br>
it should prompt for password. If password successful outbound should be<br>
enabled or else it should be Hangup.<br>
<br>
As off now there is no restriction on outbound calls. Through prefix calls<br>
are routed to make outbound calls.<br>
<br>
Can some one assist me how to fetch data from MySQL in dialplan.<br>
<br>
Thanks,<br>
N.Baskar<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Outbound-call-with-password-tp7596034.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Outbound-call-with-password-tp7596034.html</a><br>


Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>