I have a solid setup of OpenSER and PostgreSQL. My route in question looks like this<br><br> if(method=="REGISTER") {<br> if (!www_authorize("domain", "subscriber")) {<br>
www_challenge("domain", "0");<br> return;<br> };<br> save("location");<br> return;<br> }<br>
<br>I would like to use a view called subscriber_active instead of table subscriber. It's a view that returns a result set identical to SELECT * FROM subscriber. I also did INSERT INTO version(table_name,table_version) VALUES('subscriber_active',1). When I replace the subscriber with subscriber_active in the above route, I get
<br><br>0(0) auth_db:str_fixup: Invalid table version (use ser_mysql.sh reinstall)<br> 0(0) ERROR: fix_expr : fix_actions error<br>ERROR: error -1 while trying to fix configuration<br><br><br>so can someone explain what the table version is supposed to be?
<br>