[asterisk-users] mySQL connection testing

Tilghman Lesher tilghman at meg.abyt.es
Fri Mar 4 02:54:01 CST 2011


On Thursday 03 March 2011 08:42:42 Andrew Thomas wrote:
> Does anybody know of a way to test whether a mySQL connection invoked
> from the dialplan is current or not?

There is no way to test it.  If you want this, you should track the
information yourself or don't disconnect anywhere but in the "h"
extension.

BTW, the disconnect is not strictly needed in all versions of the addons
since 1.4.9.  Due to the possibility of a memory leak, the connections
are tracked and deleted when the channel is destroyed.

See this issue (and the patch) for more information:
https://issues.asterisk.org/view.php?id=14757

-- 
Tilghman



More information about the asterisk-users mailing list