On Tue, Nov 11, 2014 at 1:43 PM, Israel Gottlieb <[email protected]> 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
