[asterisk-users] odbc connection timeout varable

Israel Gottlieb isrlgb at gmail.com
Wed Nov 12 12:18:43 CST 2014


thanks for the reply

On Wed, Nov 12, 2014 at 8:03 PM, Matthew Jordan <mjordan at digium.com> wrote:

> 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
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141112/ceb3602e/attachment.html>


More information about the asterisk-users mailing list