I've got my res_mysql.conf stating: [general] dbhost = 127.0.0.1 dbname = switchref dbuser = asteriskuser dbpass = xxxxxxx dbport = 3306 and my extconfig.conf stating: sipusers => mysql,switchref,sip_buddies sippeers => mysql,switchref,sip_buddies When Asterisk starts, and I show peers and show users, I don't see anything that is in the database. When looking at the traffic between Asterisk and MySQL, it's obvious that we are not actually sending a select for any data. Can anybody see what I'm doing wrong? Thanks
Sune Kloppenborg Jeppesen
2006-May-15 14:06 UTC
[Asterisk-Users] Getting Realtime running (1.2.7.1)
On Monday 15 May 2006 07:01, Ed Greenberg wrote:> I've got my res_mysql.conf stating: > [general] > dbhost = 127.0.0.1 > dbname = switchref > dbuser = asteriskuser > dbpass = xxxxxxx > dbport = 3306 > > and my extconfig.conf stating: > sipusers => mysql,switchref,sip_buddies > sippeers => mysql,switchref,sip_buddies > > When Asterisk starts, and I show peers and show users, I don't see anything > that is in the database. When looking at the traffic between Asterisk and > MySQL, it's obvious that we are not actually sending a select for any data. > > Can anybody see what I'm doing wrong?Perhaps you forgot to build res_mysql.so like me? HTH /Sune