[Asterisk-Users] res_mysql.conf & DNS SRV lookup
Ramin Nikaeen
rnikaeen at goldline.net
Tue Mar 7 09:53:48 MST 2006
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
More information about the asterisk-users
mailing list