Check out RealTime. This is how its done. Otherwise..not really..each module has its own memory space and runs in its own "thread" and so you can't share resources like that across memory space.
What are you using to query? -Matthew ----- Original Message ----- From: "Roy Sigurd Karlsbakk" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[EMAIL PROTECTED]> Sent: Monday, December 13, 2004 6:42 AM Subject: [Asterisk-Users] MYSQL cmd - preconnect? > hi > > is it possible to have asterisk connect to mysql with a > username/password in some config file and then, afterwards, just use a > global handle to the db? I don't see the point of connecting every time > I need to query it ... > > roy > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
