[asterisk-users] shared mysql connection in dialplan
Rizwan Hisham
rizwanhasham at gmail.com
Wed Aug 6 04:12:47 CDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080806/08562916/attachment.htm
More information about the asterisk-users
mailing list