<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">You need to create a function
is res_odbc for each of required query and then u can use that
function as normal asterisk dialplan function.</font></font><br>
<div class="moz-signature">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Signatures <a class="moz-txt-link-abbreviated" href="mailto:faisal@vopium.com">faisal@vopium.com</a></title>
<p style="font-family: Verdana;" class="MsoNormal"><small><small><small><small><small><small><small><small><span
style="font-size: 10pt;">Regards,<o:p></o:p></span></small></small></small></small></small></small></small></small></p>
<p style="font-family: Verdana;" class="MsoNormal"><small><small><small><small><small><small><small><small><span
style="font-size: 10pt;"><o:p></o:p>Faisal
Hanif<br>
</span></small></small></small></small></small></small></small></small><br>
</p>
</div>
On 7/26/2010 7:02 PM, Bruce McAlister wrote:
<blockquote cite="mid:4C4D9577.2010603@blueface.ie" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Thanks for the quick response, however, how would I access an odbc
dsn
from the pbx_lua dialplan that has been defined in res_odbc.conf
or
related odbc structures? I've not come accross any documentation
on
that feature yet.<br>
<br>
Any tips/info/links would be appreciated.<br>
<br>
On 26/07/10 14:33, Faisal Hanif wrote:
<blockquote cite="mid:4C4D8E97.8010500@vopium.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<font size="-1"><font face="Verdana">you can use all asterisk
dial-plan functions and application in lua plus additional
complete lua
features. so answer is yes.</font></font><br>
<div class="moz-signature">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>Signatures <a class="moz-txt-link-abbreviated"
href=<a class="moz-txt-link-rfc2396E"
href=<a class="moz-txt-link-rfc2396E" href="mailto:faisal@vopium.com">"mailto:faisal@vopium.com"</a>><a class="moz-txt-link-rfc2396E" href="mailto:faisal@vopium.com">"mailto:faisal@vopium.com"</a></a>><a
class="moz-txt-link-abbreviated"
href=<a class="moz-txt-link-rfc2396E" href="mailto:faisal@vopium.com">"mailto:faisal@vopium.com"</a>><a class="moz-txt-link-abbreviated" href="mailto:faisal@vopium.com">faisal@vopium.com</a></a></a></title>
<p style="font-family: Verdana;" class="MsoNormal"><small><small><small><small><small><small><small><small><span
style="font-size: 10pt;">Regards,<o:p></o:p></span></small></small></small></small></small></small></small></small></p>
<p style="font-family: Verdana;" class="MsoNormal"><small><small><small><small><small><small><small><small><span
style="font-size: 10pt;"><o:p></o:p>Faisal
Hanif<br>
</span></small></small></small></small></small></small></small></small><br>
</p>
</div>
On 7/26/2010 5:34 PM, Bruce McAlister wrote:
<blockquote cite="mid:4C4D80E3.8010008@blueface.ie" type="cite">
<pre wrap="">Hi All,
I have a quick question with regards the pbx_lua module.
Would the lua dialplan have direct access to the odbc configuration
within Asterisk, those odbc connections/dsn's that are defined in
res_odbc.conf/extconfig.conf/cdr.conf?
Thanks
Bruce
</pre>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>