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 <[email protected]> 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/
-- 
_____________________________________________________________________
-- 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

Reply via email to