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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to