On Jueves 02 Septiembre 2010 13:50:24 Raúl Alexis Betancor Santana escribió: > On Jueves 02 Septiembre 2010 08:59:17 marius zbihlei escribió: > > Raúl Alexis Betancor Santana wrote: > > > Hi ... jus trying Kam 3.0.3 ... I get blocked on this error: > > > > > > ERROR: <core> [db.c:408]: invalid version 0 for table 0 found, expected > > > 6 (check table structure and table "version") > > > ERROR: auth_db [authdb_mod.c:250]: error during table version check. > > > > > > It should be checking agains subscriber table version ... but I don't > > > know why it try to found '0' table ... > > > > > > if I do a: > > > > > > insert into version (table_name,table_version) values('0','6'); > > > > > > It get solved ... but thats only a trick. > > > > Hello, > > > > The check is done once (at fixup time) for the www_authorize and > > proxy_authorize calls. The table name is the second parameter given to > > those calls. > > > > Be sure to use www_authorize("explample.com", "subscriber"); > > I know ... > > if(is_method("REGISTER")) { > # authenticate the REGISTER requests > if(!www_authorize("","subscriber")) { > xlog("L_ALERT", "REGISTER ($fU)($ru) no autorizado - Return Code > ($rc) IP=$si\n"); > www_challenge("","0"); > ^^^^^^^^^^^^^^^^^ Upsssssssssss ... XPPPPPPPPPPPP > > Thanks
This was ok ... but I don't know why it try to check version of table '0' ... :-( Best regards -- Raúl Alexis Betancor Santana Dimensión Virtual _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users