[asterisk-users] How to reuse mysql connection between AGI's

Nasir Iqbal nasir at ictinnovations.com
Fri Aug 6 01:11:53 CDT 2010


Hi Faheem,

You need to build some daemonized application, here FastAGI will help you

Regards

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
>
> Thanks,
> Faheem, M.
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Nasir Iqbal

ICT Innovations
http://www.ictinnovations.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100806/dbd6de4e/attachment.htm 


More information about the asterisk-users mailing list