[asterisk-users] mySQL connection testing

Steve Edwards asterisk.org at sedwards.com
Thu Mar 3 10:22:57 CST 2011


On Thu, 3 Mar 2011, Andrew Thomas wrote:

> Does anybody know of a way to test whether a mySQL connection invoked 
> from the dialplan is current or not?

I've never been a fan of using database commands in the dialplan. I prefer 
to wrap up all the database cruft into a nice little black box, an AGI, 
where I have full access to the database API and real debugging tools.

I think database commands in the dialplan are just ugly.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list