I recently rebooted by Asterisk server, MySQL (via ODBC) is also installed on the same machine. After rebooting, Asterisk didn't connect via ODBC, I assume that MySQL wasn't yet running when Asterisk tried to connect. So, how to tell Asterisk to automatically retry to connect via ODBC on failures? And is there a way to start MySQL before Asterisk? Thanks :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120831/b5bbb64a/attachment.htm>
>> So, how to tell Asterisk to automatically retry to connect via ODBC on failures?/etc/asterisk/res_odbc.conf idlecheck Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120831/449dd807/attachment.htm>
Doug, which kind of connection exactly are you using? I am using Adaptive ODBC. 2012/9/3 Doug Lytle <support at drdos.info>> Stefan at WPF wrote: > >> Anyone having any idea? Can post more details like my config etc >> > > With my Asterisk 10 setup, the initial connect may fail and then it does a > retry and succeeds. I also have a 1.4x system setup that does the same. > > I guess you can start with the contents of (Please disguise any passwords): > > /etc/odbc.ini > /etc/asterisk/res_odbc.conf > > > 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<http://lists.digium.com/mailman/listinfo/asterisk-users> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120903/5ced6ca8/attachment.htm>
Thanks, but which Asterisk module? (Iam also using UnixODBC by adaptive odbc) 2012/9/3 Doug Lytle <support at drdos.info>> Stefan at WPF wrote: > >> just tell me, what you use, meaybe the easiest solution >> > > UnixODBC > > > 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<http://lists.digium.com/mailman/listinfo/asterisk-users> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120903/24c14ab6/attachment.htm>
Stefan at WPF wrote:> Thanks, but which Asterisk module? (Iam also using UnixODBC by > adaptive odbc)func_odbc Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."