<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    as I can see from the logs, the database where it tries to connect
    is named asterisk. Does it have the the table version?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 11/3/11 5:12 PM, Lucas Alvarez wrote:
    <blockquote
cite="mid:CAJ1UzXR9pb1vAOvZdeqd7a4sUYazONiB+imMkPRL30PtBxJMow@mail.gmail.com"
      type="cite">Hi Daniel, thank you for quick response, kamailio
      doesn't start when I add the event_route for xcap_server, this are
      the errors:
      <div><br>
      </div>
      <div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          uac_req_send()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing xdbg()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [rvalue.c:2777]: RV fixing
          type 4</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          isbflagset()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          fix_nated_contact()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [rvalue.c:2777]: RV fixing
          type 4</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          fix_nated_sdp()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          append_hf()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [rvalue.c:2777]: RV fixing
          type 4</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          t_is_canceled()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing xdbg()</div>
        <div>
          &nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing append_hf()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [rvalue.c:2777]: RV fixing
          type 4</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          isbflagset()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [rvalue.c:2777]: RV fixing
          type 7</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [rvalue.c:2777]: RV fixing
          type 4</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          fix_nated_sdp()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          append_hf()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing xdbg()</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [rvalue.c:2777]: RV fixing
          type 4</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [route.c:928]: fixing
          www_authorize()</div>
        <div>
          &nbsp;0(5319) DEBUG: &lt;core&gt; [db.c:285]: connection 0xa6d830
          not found in pool</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_my_con.c:94]: opening
          connection: mysql://xxxx:xxxx@localhost/asterisk</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_my_con.c:121]: connection type
          is Localhost via UNIX socket</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_my_con.c:122]: protocol
          version is 10</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_my_con.c:123]: server version
          is 5.1.41-3ubuntu12.10-log</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [db_res.c:118]: allocate 48
          bytes for result set at 0xa6da40</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_res.c:68]: 1 columns returned
          from the query</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [db_res.c:155]: allocate 8
          bytes for result names at 0xa04c28</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [db_res.c:165]: allocate 4
          bytes for result types at 0xa017a8</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_res.c:85]: allocate 16 bytes
          for RES_NAMES[0] at 0xa6dad0</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_res.c:92]:
          RES_NAMES(0xa6dad0)[0]=[table_version]</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_res.c:100]: use DB1_INT result
          type</div>
        <div>&nbsp;0(5319) DEBUG: db_mysql [km_res.c:169]: no rows returned
          from the query</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [db.c:372]: no row for table
          subscriber found</div>
        <div>&nbsp;0(5319) ERROR: &lt;core&gt; [db.c:408]: invalid version 0
          for table subscriber found, expected 6 (check table structure
          and table "version")</div>
        <div>&nbsp;0(5319) ERROR: auth_db [authdb_mod.c:252]: error during
          table version check.</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [db_pool.c:102]: removing
          connection from the pool</div>
        <div>&nbsp;0(5319) ERROR: &lt;core&gt; [route.c:1161]: fixing failed
          (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:1286</div>
        <div>&nbsp;0(5319) ERROR: &lt;core&gt; [route.c:1161]: fixing failed
          (code=-1) at cfg:/usr/local/etc/kamailio/kamailio.cfg:1292</div>
        <div>ERROR: error -1 while trying to fix configuration</div>
        <div>&nbsp;0(5319) DEBUG: presence_xml [presence_xml.c:329]: start</div>
        <div>&nbsp;0(5319) DEBUG: tm [t_funcs.c:122]: DEBUG: tm_shutdown :
          start</div>
        <div>&nbsp;0(5319) DEBUG: tm [t_funcs.c:125]: DEBUG: tm_shutdown :
          emptying hash table</div>
        <div>&nbsp;0(5319) DEBUG: tm [t_funcs.c:127]: DEBUG: tm_shutdown :
          removing semaphores</div>
        <div>&nbsp;0(5319) DEBUG: tm [t_funcs.c:129]: DEBUG: tm_shutdown :
          destroying tmcb lists</div>
        <div>&nbsp;0(5319) DEBUG: tm [t_funcs.c:132]: DEBUG: tm_shutdown :
          done</div>
        <div>&nbsp;0(5319) DEBUG: tls [tls_init.c:657]: tls module final tls
          destroy</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [mem/shm_mem.c:236]:
          shm_mem_destroy</div>
        <div>&nbsp;0(5319) DEBUG: &lt;core&gt; [mem/shm_mem.c:239]:
          destroying the shared memory lock</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>And this is the event_route cfg I have copied from the
          guide, I will mark lines 1286 and 1292</div>
        <div><br>
        </div>
        <div>
          <div>#!ifdef WITH_XCAPSRV</div>
          <div>#!define WITH_XHTTPAUTH</div>
          <div>event_route[xhttp:request] {</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;xdbg("===== xhttp: request [$rv] $rm =&gt;
            $hu\n");</div>
          <div>#!ifdef WITH_XHTTPAUTH</div>
          <div><span class="Apple-style-span" style="background-color:
              rgb(255, 0, 0);">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if (!www_authorize("xcap",
              "subscriber")) &nbsp;1286<span style=""></span></span></div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;www_challenge("xcap", "0");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div>
          <div>#!endif</div>
          <div><span class="Apple-style-span" style="background-color:
              rgb(255, 0, 0);">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if($hu=~"^/xcap-root/") &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; 1292</span></div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;{</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set_reply_close();</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set_reply_no_connect();</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# xcap ops</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$xcapuri(u=&gt;data) = $hu;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if($xcapuri(u=&gt;xuid)=~"^<a class="moz-txt-link-freetext" href="sip:.+@.+">sip:.+@.+</a>")</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$var(uri) = $xcapuri(u=&gt;xuid);</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else if($xcapuri(u=&gt;xuid)=~<a class="moz-txt-link-rfc2396E" href="mailto:.+@.+">".+@.+"</a>)</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$var(uri) = "sip:" +
            $xcapuri(u=&gt;xuid);</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$var(uri) = "sip:"+
            $xcapuri(u=&gt;xuid) + "@" + $Ri;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xlog("===== xhttp: $xcapuri(u=&gt;auid) :
            $xcapuri(u=&gt;xuid)\n");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if($xcapuri(u=&gt;auid)=="xcap-caps")</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$var(xbody) =</div>
          <div>"&lt;?xml version='1.0' encoding='UTF-8'?&gt;</div>
          <div>&lt;xcap-caps
            xmlns='urn:ietf:params:xml:ns:xcap-caps'&gt;</div>
          <div>&nbsp;&nbsp;&lt;auids&gt;</div>
          <div>&nbsp;&nbsp; &nbsp;&lt;auid&gt;rls-services&lt;/auid&gt;</div>
          <div>&nbsp;&nbsp; &nbsp;&lt;auid&gt;pidf-manipulation&lt;/auid&gt;</div>
          <div>&nbsp;&nbsp; &nbsp;&lt;auid&gt;xcap-caps&lt;/auid&gt;</div>
          <div>&nbsp;&nbsp; &nbsp;&lt;auid&gt;resource-lists&lt;/auid&gt;</div>
          <div>&nbsp;&nbsp; &nbsp;&lt;auid&gt;pres-rules&lt;/auid&gt;</div>
          <div>&nbsp;&nbsp;
            &nbsp;&lt;auid&gt;org.openmobilealliance.pres-rules&lt;/auid&gt;</div>
          <div>&nbsp;&nbsp;&lt;/auids&gt;</div>
          <div>&nbsp;&nbsp;&lt;extensions&gt;</div>
          <div>&nbsp;&nbsp;&lt;/extensions&gt;</div>
          <div>&nbsp;&nbsp;&lt;namespaces&gt;</div>
          <div>&nbsp;&nbsp;
            &nbsp;&lt;namespace&gt;urn:ietf:params:xml:ns:rls-services&lt;/namespace&gt;</div>
          <div>&nbsp;&nbsp;
            &nbsp;&lt;namespace&gt;urn:ietf:params:xml:ns:pidf&lt;/namespace&gt;</div>
          <div>&nbsp;&nbsp;
            &nbsp;&lt;namespace&gt;urn:ietf:params:xml:ns:xcap-caps&lt;/namespace&gt;</div>
          <div>&nbsp;&nbsp;
&nbsp;&lt;namespace&gt;urn:ietf:params:xml:ns:resource-lists&lt;/namespace&gt;</div>
          <div>&nbsp;&nbsp;
            &nbsp;&lt;namespace&gt;urn:ietf:params:xml:ns:pres-rules&lt;/namespace&gt;</div>
          <div>&nbsp;&nbsp;&lt;/namespaces&gt;</div>
          <div>&lt;/xcap-caps&gt;";</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xhttp_reply("200", "ok",
            "application/xcap-caps+xml",</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;"$var(xbody)");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div>
          <div>#!ifdef WITH_XHTTPAUTH</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;# be sure auth user access only its documents</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if ($au!=$(var(uri){uri.user})) {</div>
          <div>
            &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xhttp_reply("403", "Forbidden", "text/html",</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;"&lt;html&gt;&lt;body&gt;$si:$sp&lt;/body&gt;&lt;/html&gt;");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div>
          <div><br>
          </div>
          <div>#!endif</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;switch($rm) {</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case "PUT":</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xcaps_put("$var(uri)",
            "$hu", "$rb");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;if($xcapuri(u=&gt;auid)=~"pres-rules")</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xlog("===== xhttp
            put: refreshing watchers for $var(uri)\n");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;pres_update_watchers("$var(uri)", "presence");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;pres_refresh_watchers("$var(uri)", "presence", 1);</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case "GET":</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xlog("===== xhttp: get
            $var(uri) =&gt; $hu\n");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xcaps_get("$var(uri)",
            "$hu");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case "DELETE":</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xcaps_del("$var(uri)",
            "$hu");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;if($xcapuri(u=&gt;auid)=~"pres-rules")</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xlog("===== xhttp
            del: refreshing watchers for $var(uri)\n");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;pres_update_watchers("$var(uri)", "presence");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;pres_refresh_watchers("$var(uri)", "presence", 1);</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}</div>
          <div><br>
          </div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;# http ops</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;xhttp_reply("200", "ok", "text/html",</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp;"&lt;html&gt;&lt;body&gt;OK:
            $si:$sp&lt;/body&gt;&lt;/html&gt;");</div>
          <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;exit;</div>
          <div>}</div>
          <div>#!endif</div>
        </div>
        <div><br>
        </div>
        Thanks in advance,</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Lucas</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
        <div class="gmail_quote">
          On Thu, Nov 3, 2011 at 12:56 PM, Daniel-Constantin Mierla <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex;">
            <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              xcap_server has nothing to do with subscriber table. Can
              you make sure you have all modules compiled at the same
              time, just in case you updated system libraries.<br>
              <br>
              You can run kamailio with debug=3 to see exactly where it
              fails and get more log messages.<br>
              <br>
              Cheers,<br>
              Daniel
              <div>
                <div class="h5"><br>
                  <br>
                  On 11/3/11 4:26 PM, Lucas Alvarez wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">Hi, I've enabled xcap server in
                    kamailio 3.1.3 and I'm stuck with this error:
                    <div><br>
                    </div>
                    <div>
                      <div>&nbsp;0(5073) ERROR: &lt;core&gt; [db.c:408]:
                        invalid version 0 for table subscriber found,
                        expected 6 (check table structure and table
                        "version")</div>
                    </div>
                    <div><br>
                    </div>
                    <div>I've already checked the version table and the
                      table_name = 'subscriber' has table_version = 6.&nbsp;</div>
                    <div>Any help will be appreciated.</div>
                    <div>Regards.</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>Lucas&nbsp;</div>
                    <div><br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
                <span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
              <span class="HOEnZb"><font color="#888888"> <br>
                  <pre cols="72">-- 
Daniel-Constantin Mierla -- <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a moz-do-not-send="true" href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a moz-do-not-send="true" href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a moz-do-not-send="true" href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>