Hey Duane,
<br><br>Yeah, that's what I ended up doing. It doesn't seem like ideal
<br>behavior, though - I guess I just wanted to hear from the horse's
<br>mouth if this was the only way the server can behave out of the box.
<br><br>Thanks!
<br>Ambert
<br><br>On Tue, Feb 1, 2011 at 5:18 PM, osiris123d [via OpenSIPS (Open SIP
<br>Server)] &lt;<a href="/user/SendEmail.jtp?type=node&node=5983385&i=0" target="_top" rel="nofollow">[hidden email]</a>&gt; wrote:
<div class='shrinkable-quote'><br>&gt; If I understand you correctly your local version of OpenSIPS has a couple of
<br>&gt; modules that use DB and are pointed to the local mysql server and then you
<br>&gt; also have a remote DB and point auth_db to that remote DB?  Is that
<br>&gt; correct?  It sounds like for the OpenSIPS databases on both MySQL servers
<br>&gt; have different stuff in their &quot;Version&quot; table.  You need to make sure the
<br>&gt; stuff in the version table's on both servers are the correct value.  Maybe
<br>&gt; the best thing to do is within the untar'ed folder of OpenSIPS you installed
<br>&gt; look in the /scripts/mysql folder and the look in all the .sql files to see
<br>&gt; what all needs to be in your &quot;Version&quot; table.
<br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; On Tue, Feb 1, 2011 at 6:47 PM, ambertch &lt;[hidden email]&gt; wrote:
<br>&gt;&gt;
<br>&gt;&gt; I pointed auth_db at a remote DB and table via the following:
<br>&gt;&gt;
<br>&gt;&gt; modparam(&quot;auth_db&quot;, &quot;db_url&quot;, &quot;mysql://user:pass@server/MY_REMOTE_DB&quot;)
<br>&gt;&gt; ...
<br>&gt;&gt; if (!www_authorize(&quot;serve.name&quot;, &quot;users&quot;)) {
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt; Doing this, it complains that the table &quot;MY_REMOTE_DB.version&quot; doesn't
<br>&gt;&gt; exist.
<br>&gt;&gt; When I create MY_REMOTE_DB.version and copy over opensips.version, it then
<br>&gt;&gt; complains about users not being the correct version.
<br>&gt;&gt;
<br>&gt;&gt; I addressed this by noting a db entry in opensips.version for the default
<br>&gt;&gt; user storage table of subscriber = 7 and adding users = 7 that into
<br>&gt;&gt; MY_DB_NAME.version
<br>&gt;&gt;
<br>&gt;&gt;
<br>&gt;&gt; It works, but it looks to me that pointing to a remote db, some logic in
<br>&gt;&gt; OpenSIPS is expecting the same things as if auth_db were pointed locally.
<br>&gt;&gt; Is
<br>&gt;&gt; there any way to address this so I can remove the opensips version table
<br>&gt;&gt; from MY_REMOTE_DB?
<br>&gt;&gt;
<br>&gt;&gt; Thanks!
<br>&gt;&gt; Ambert
<br>&gt;&gt;
<br>&gt;&gt; --
<br>&gt;&gt; View this message in context:
<br>&gt;&gt; <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Pointing-auth-db-at-remote-database-OpenSIPS-is-expecting-a-local-like-schema-tp5983295p5983295.html?by-user=t" target="_top" rel="nofollow" link="external">http://opensips-open-sip-server.1449251.n2.nabble.com/Pointing-auth-db-at-remote-database-OpenSIPS-is-expecting-a-local-like-schema-tp5983295p5983295.html</a><br>&gt;&gt; Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
<br>&gt;&gt;
<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; Users mailing list
<br>&gt;&gt; [hidden email]
<br>&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_top" rel="nofollow" link="external">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>&gt;
<br>&gt;
<br>&gt;
<br>&gt; --
<br>&gt; --
<br>&gt; *--*--*--*--*--*
<br>&gt; Duane
<br>&gt; *--*--*--*--*--*
<br>&gt; --
<br>&gt;
<br>&gt; _______________________________________________
<br>&gt; Users mailing list
<br>&gt; [hidden email]
<br>&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_top" rel="nofollow" link="external">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>&gt;
<br>&gt;
<br>&gt; ________________________________
<br>&gt; If you reply to this email, your message will be added to the discussion
<br>&gt; below:
<br>&gt; <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Pointing-auth-db-at-remote-database-OpenSIPS-is-expecting-a-local-like-schema-tp5983295p5983342.html?by-user=t" target="_top" rel="nofollow" link="external">http://opensips-open-sip-server.1449251.n2.nabble.com/Pointing-auth-db-at-remote-database-OpenSIPS-is-expecting-a-local-like-schema-tp5983295p5983342.html</a><br>&gt; To unsubscribe from Pointing auth_db at remote database, OpenSIPS is
<br>&gt; expecting a local-like schema?, click here.
<br></div>
<br><hr align="left" width="300">
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Pointing-auth-db-at-remote-database-OpenSIPS-is-expecting-a-local-like-schema-tp5983295p5983385.html">Re: Pointing auth_db at remote database, OpenSIPS is expecting a local-like schema?</a><br>
Sent from the <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html">OpenSIPS - Users mailing list archive</a> at Nabble.com.<br>