[asterisk-users] shared mysql connection in dialplan

Rizwan Hisham rizwanhasham at gmail.com
Thu Aug 7 02:00:11 CDT 2008


have done it, and its working fine. but still expecting to receive some new
ideas.

On Wed, Aug 6, 2008 at 2:12 PM, Rizwan Hisham <rizwanhasham at gmail.com>wrote:

> hi all,
> i just finished developing some incoming call features in a macro. that
> macro gets executed everytime an incoming call is received and a new mysql
> connection is made using the MYSQL cmd in dialplan. i want to use a single
> mysql connection for every incoming call.
>
> my idea of doing it is like this, i want to get a mysql connection in a
> global variable, just to share the connection with different incoming calls.
> Im not sure if this can be done. I am going to try doing it somehow,
> meanwhile i want your suggestions about how i can share a mysql connection
> with different calls in a dialplan.
>
> I am using asterisk1.4.2 and asterisk addon1.4.0 package for mysql
> connectivity.
>
> Thanx in advance
>
> --
> Best Regards
> Rizwan Hisham
>
>


-- 
Best Regards
Rizwan Hisham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080807/3b528898/attachment.htm 


More information about the asterisk-users mailing list