[asterisk-users] odbc connection timeout varable
Matthew Jordan
mjordan at digium.com
Wed Nov 12 12:03:10 CST 2014
On Tue, Nov 11, 2014 at 1:43 PM, Israel Gottlieb <isrlgb at gmail.com> wrote:
> well it should but this morning my database hosted at a remote location was
> down due to conditions at the remote site
>
> the question isnt if it should happen or not
>
> the questions is there a way for me to know that the odbc query retruned
> empty because of a connection timeout?
>
> in curl i could get that info is there a way also for odbc?
>
To just answer your question:
No, there is no channel variable for this, nor anything in Asterisk
that does this automatically.
You would need to have something else monitoring your databases, and
use it to inform Asterisk of the failure.
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
More information about the asterisk-users
mailing list