[Asterisk-Users] res_mysql.conf & DNS SRV lookup
Douglas Garstang
dgarstang at oneeighty.com
Tue Mar 7 10:12:44 MST 2006
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 at 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
More information about the asterisk-users
mailing list