On Tuesday 26 May 2009 21:16:29 Rilawich Ango wrote: > On Tue, May 26, 2009 at 10:33 PM, Tilghman Lesher wrote: > > On Tuesday 26 May 2009 02:52:18 Rilawich Ango wrote: > >> I download asterisk-addon 1.6.1 but the VoIP phone failed to > >> register to the system with the message below. > >> > >> [May 26 15:45:11] WARNING[29665]: res_config_mysql.c:317 > >> realtime_mysql: MySQL RealTime: Invalid database specified: asterisk > >> [May 26 15:45:11] WARNING[29665]: res_config_mysql.c:317 > >> realtime_mysql: MySQL RealTime: Invalid database specified: asterisk > >> sip > >> > >> I use the same configuration file (res_mysql.conf & extconfig.conf) in > >> 1.6.0 but failed. Any big change in 1.6.1? > > > > Please read UPGRADE.txt in the asterisk-addons directory. > > I follow it to set [readhost.asterisk] and [writehost.asterisk] and > extconfig.conf sippeers => > mysql,readhost.asterisk/writehost.asterisk,sipfriends. However the > error message still existed. Can you give me an example of > res_mysql.conf and extconfig.conf?
Using the default res_mysql.conf, you'd specify in extconfig.conf: sippeers => mysql,general,sipfriends since [general] is the default context name in res_mysql.conf. -- Tilghman _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users