Andrew Thomas wrote:
The wait is there as a test. This gives the 'tester' the option of
hanging up before the disconnect or not.
And the purpose for that would be to share available connections?
I've always considered it bad to leave a connection open and have always
closed them down after a query.
Either way, I test for mysql connection errors by:
exten => s,n,GotoIf($["${MYSQL_STATUS}" = "-1"]?mysql_failed,s,1)
Doug
--
Ben Franklin quote:
"Those who would give up Essential Liberty to purchase a little Temporary Safety,
deserve neither Liberty nor Safety."
--
_____________________________________________________________________
-- 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