[asterisk-dev] Connection Pooling for Database Connection in AGI

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Tue Jul 7 09:38:17 CDT 2009


On Tuesday 07 July 2009 06:10:11 RAJNIKANT VANZA wrote:
> hi friends,
>
> i am a asterisk developer and c,c++ programmer.
> i have written code for C AGI and in this written code for mysql database
> connection and select query.
>
> i want to use connection pooling for database connection in C AGI.
> is it possible to use connection pooling facitlity in C AGI ?

No, it's not possible.  To use the connection pooling facility, you must be
running in the same memory space.  AGI, by definition, is running in a
separate memory space.

-- 
Tilghman & Teryl
with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies)
and Harry, BB, & George (dogs)



More information about the asterisk-dev mailing list