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 = serdb1.goldline.net dbname = asterisk dbuser = asterisk dbpass = asterisk-arcph0n3 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
|
_______________________________________________ --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