[asterisk-users] How to reuse mysql connection between AGI's
nasir at ictinnovations.com
Fri Aug 6 01:11:53 CDT 2010
You need to build some daemonized application, here FastAGI will help you
On Fri, Aug 6, 2010 at 10:54 AM, Faheem <faheem_imt at yahoo.com> wrote:
> Hey, Is there any way to share MySQL connection between different agi's.
> Actually when call comes to asterisk box it executes various agi scripts
> sequentially. Each script checks various values by making a
> new MySQL connection and then execute query and then disconnects.
> So, Ideally there should be one connection, and it should be reused between
> each agi and when a call is over it should be disconnected. Is there
> any mechanism to reuse single MySQL connection between agi scripts?
> The agi scripts are written in Perl
> Faheem, M.
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users