[asterisk-users] PBX Lua with Asterisk ODBC
Faisal Hanif
faisal at vopium.com
Mon Jul 26 09:34:33 CDT 2010
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.
Regards,
Faisal Hanif
On 7/26/2010 7:02 PM, Bruce McAlister wrote:
> 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.
>
> Any tips/info/links would be appreciated.
>
> On 26/07/10 14:33, Faisal Hanif wrote:
>> you can use all asterisk dial-plan functions and application in lua
>> plus additional complete lua features. so answer is yes.
>>
>> Regards,
>>
>> Faisal Hanif
>>
>> On 7/26/2010 5:34 PM, Bruce McAlister wrote:
>>> 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
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100726/b8be538a/attachment.htm
More information about the asterisk-users
mailing list