Hi friends, I am using Real Time Asterisk Architecture where I have put the Sip users/peers and extensions defining the dialplan in tables in a mysql database. Currently, asterisk points to my single database server as configured: ------------------------------------------ /etc/asterisk/res_mysql.conf ------------------------------------------ [general] dbhost = xxx dbname = asterisk dbuser = asterisk dbpass = xxx dbport = 3306 dbsock = /tmp/mysql.sock But what I want to do is to set "dbhost" in "/etc/asterisk/res_mysql.conf" to point asterisk to a DNS SRV record so that I can implement mysql redundancy. I defined the SRV record in our DNS server and put it in "dbhost" field in "/etc/asterisk/res_mysql.conf" but asterisk wouldn't start up! Can anyone tell me if asterisk mysql drivers support DNS SRV records lookup?! If not, how can I achieve this?! Thanks ramin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060307/e0c76887/attachment.htm
Are you kidding? Asterisk doesn't do SRV. If you read all the VOIP books out there, SRV lookups are _the_ way to achieve redundancy. Digium hasn't gotten to it I guess with their 'enterprise class' product though. -----Original Message----- From: Ramin Nikaeen [mailto:rnikaeen@goldline.net] Sent: Tuesday, March 07, 2006 9:54 AM To: asteriskUsers Subject: [Asterisk-Users] res_mysql.conf & DNS SRV lookup Hi friends, I am using Real Time Asterisk Architecture where I have put the Sip users/peers and extensions defining the dialplan in tables in a mysql database. Currently, asterisk points to my single database server as configured: ------------------------------------------ /etc/asterisk/res_mysql.conf ------------------------------------------ [general] dbhost = xxx dbname = asterisk dbuser = asterisk dbpass = xxx dbport = 3306 dbsock = /tmp/mysql.sock But what I want to do is to set "dbhost" in "/etc/asterisk/res_mysql.conf" to point asterisk to a DNS SRV record so that I can implement mysql redundancy. I defined the SRV record in our DNS server and put it in "dbhost" field in "/etc/asterisk/res_mysql.conf" but asterisk wouldn't start up! Can anyone tell me if asterisk mysql drivers support DNS SRV records lookup?! If not, how can I achieve this?! Thanks ramin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060307/3b7068a6/attachment.htm
My bad. SRV lookups work, but Asterisk only uses the first entry right? This means there's no redundancy. -----Original Message----- From: Olle E Johansson [mailto:oej@edvina.net] Sent: Tuesday, March 07, 2006 10:53 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] res_mysql.conf & DNS SRV lookup 7 mar 2006 kl. 18.12 skrev Douglas Garstang:> Are you kidding? Asterisk doesn't do SRV. If you read all the VOIP > books out there, SRV lookups are _the_ way to achieve redundancy. > Digium hasn't gotten to it I guess with their 'enterprise class' > product though.Are you kidding? We do SRV. I dial with it every day. Even if it's broken, we still do SRV. There is work being done to improve the SRV support. I haven't seen it used for MySQL before. What's the SRV record name for this? Any example? /O _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Yay! -----Original Message----- From: Olle E Johansson [mailto:oej@edvina.net] Sent: Tuesday, March 07, 2006 11:24 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] res_mysql.conf & DNS SRV lookup 7 mar 2006 kl. 19.03 skrev Douglas Garstang:> My bad. SRV lookups work, but Asterisk only uses the first entry > right? This means there's no redundancy.That is correct. That is what we try to fix. /O _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Good grief! I posted the message below at 1:17pm... and it appeared on the list after 8pm. Nice.... -----Original Message----- From: Douglas Garstang Sent: Tue 3/7/2006 1:17 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: RE: [Asterisk-Users] res_mysql.conf & DNS SRV lookup Yay! -----Original Message----- From: Olle E Johansson [mailto:oej@edvina.net] Sent: Tuesday, March 07, 2006 11:24 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] res_mysql.conf & DNS SRV lookup 7 mar 2006 kl. 19.03 skrev Douglas Garstang: > My bad. SRV lookups work, but Asterisk only uses the first entry > right? This means there's no redundancy. That is correct. That is what we try to fix. /O _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Douglas Garstang wrote:> Good grief! I posted the message below at 1:17pm... and it appeared on the list after 8pm. > Nice....I just posted mine and it arrived 30 seconds later...from New Zealand. Maybe your mail servers are b0rk3n: hehe :D It varies from time to time, but the mails do tend to go through! -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
If you read the list, you will see that several people have noted the exceedingly long time for posts to appear in the list today. -----Original Message----- From: Matt Riddell [NZ] [mailto:matt.riddell@sineapps.com] Sent: Wed 3/8/2006 11:47 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject: Re: [Asterisk-Users] res_mysql.conf & DNS SRV lookup Douglas Garstang wrote: > Good grief! I posted the message below at 1:17pm... and it appeared on the list after 8pm. > Nice.... I just posted mine and it arrived 30 seconds later...from New Zealand. Maybe your mail servers are b0rk3n: hehe :D It varies from time to time, but the mails do tend to go through! -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Gabriel Afana
2006-Mar-11 17:20 UTC
[Asterisk-Users] transfering between asterisk servers - MOH drops out
Hi, I remember reading some people talking about making calls betwen Asterisk servers and MOH stopping. I was playing with this today and noticed the same thing. Was there a solution to this? - Gabe