<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    hmm, probably we should not send a 200 response in this case, a 400
    is probably more appropriate.<br>
    <br>
    If you have time, open an issue on github kamailio project not to
    forget about it and I will take a look at it with first opportunity.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 03/02/16 15:50, sgy wrote:<br>
    </div>
    <blockquote
      cite="mid:41ee1145.edf6.152a79d04b4.Coremail.nucsgy@163.com"
      type="cite">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>
        <div>Hi Daniel,</div>
        <div>    The reg-id should not be "0" in register message. If it
          is 0, the record couldn't be inserted into mysql. We can also
          see error log <span style="line-height: 23.8px;">by kamailio
            in the syslog.</span><span style="line-height: 1.7;"> </span></div>
        <br>
        <div style="position:relative;zoom:1">--<br>
          <div>Best Regards,</div>
          <div>Shengy</div>
        </div>
        <br>
        At 2016-02-02 22:15:44, "Daniel-Constantin Mierla"
        <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a> wrote:<br>
        <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
          MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
          Hello,<br>
          <br>
          was there any error log messages printed by kamailio in the
          syslog?<br>
          <br>
          What was exactly the issue, reg-id not being allowed to have
          the value 1?<br>
          <br>
          Cheers,<br>
          Daniel<br>
          <br>
          <div class="moz-cite-prefix">On 02/02/16 14:51, sgy wrote:<br>
          </div>
          <blockquote
            cite="mid:462e034.11182.152a240a336.Coremail.nucsgy@163.com"
            type="cite">
            <div
              style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>
              <br>
              <br>
              <br>
              <div>Hi Daniel,</div>
              <div><br>
              </div>
              <div>I have solved the issue, the root cause is that
                 parameters reg-id in Contact line is not right. Thank
                you anyway. </div>
              <div style="position:relative;zoom:1"><br>
              </div>
              <div style="position:relative;zoom:1">Best Regards,</div>
              <div style="position:relative;zoom:1">Shengy</div>
              <br>
              At 2016-02-02 17:41:05, "Daniel-Constantin Mierla" <a
                moz-do-not-send="true" class="moz-txt-link-rfc2396E"
                href="mailto:miconda@gmail.com"><a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a></a>
              wrote:<br>
              <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
                MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
                Hello,<br>
                <br>
                can you upgrade the latest 4.2.x -- it seems you are
                running 4.2.0 and there were many fixes from that
                version, not sure if related to your situation, but it
                is important to rule out the fixed issues.<br>
                <br>
                Also, it is important to know the parameters you set for
                modules usrloc and registrar (you can remove the db_url
                password/host/...).<br>
                <br>
                Cheers,<br>
                Daniel<br>
                <br>
                <div class="moz-cite-prefix">On 01/02/16 08:20, sgy
                  wrote:<br>
                </div>
                <blockquote
                  cite="mid:667737c6.90b7.1529bb497b8.Coremail.nucsgy@163.com"
                  type="cite">
                  <div
                    style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">Hi


                    Members,<br>
                    <div>I notice an issue: the client register to
                      kamailio server and could receive 200-register
                      message, but no contact infomation(shows 0
                      bindings) returns in the message(200-register). I
                      checked contact exist in register message and
                      client shows register successfully. When I run
                      command "kamctl online", the client is not online.
                      Could you met with this issue? Expected to your
                      help, thank you very much.</div>
                    <div> </div>
                    <div>Register:</div>
                    <div>
                      <div>REGISTER <a moz-do-not-send="true"
                          class="moz-txt-link-freetext"
                          href="sip:12.2.1.197">sip:12.2.1.197</a>
                        SIP/2.0</div>
                      <div>Via: SIP/2.0/UDP
                        12.2.1.180:5060;rport;branch=z9hG4bKPjWScZ6O7MbSbtauTPHcKpjzsHb5U6wxGP</div>
                      <div>Route: <a moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="sip:12.2.1.197;lr"><sip:12.2.1.197;lr></a></div>
                      <div>Max-Forwards: 70</div>
                      <div>From: "2016" <a moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="sip:2016@12.2.1.197"><sip:2016@12.2.1.197></a>;tag=jqx1XzTgoS-XKh-S3LyrYmjrCBSqJZ48</div>
                      <div>To: "2016" <a moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="sip:2016@12.2.1.197"><sip:2016@12.2.1.197></a></div>
                      <div>Call-ID: AiD6dDi6YOK4.ArBsMpse2MQEoh4dBmP</div>
                      <div>CSeq: 12358 REGISTER</div>
                      <div>User-Agent: A-client</div>
                      <div>Contact: "2016" <a moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="sip:2016@12.2.1.180:5060;ob"><sip:2016@12.2.1.180:5060;ob></a>;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000000020805>";reg-id=0</div>
                      <div>Supported: geolocation, gruu, path, outbound,
                        answermode, tdialog, replaces, timer,
                        precondition, norefersub</div>
                      <div>Expires: 3600</div>
                      <div>Allow: INVITE, ACK, BYE, CANCEL, UPDATE,
                        INFO, NOTIFY, REFER, MESSAGE, OPTIONS</div>
                      <div>Authorization: Digest username="2016",
                        realm="12.2.1.197",
                        nonce="Vq8AMFau/wTtkI9/v58I86rqhbvPhSTW", uri=<a
                          moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="sip:12.2.1.197"><a class="moz-txt-link-rfc2396E" href="sip:12.2.1.197">"sip:12.2.1.197"</a></a>,
                        response="aebb4a141197b2200bdfc5dce008d9ac"</div>
                      <div>Content-Length:  0</div>
                    </div>
                    <div style="position:relative;zoom:1"><br>
                    </div>
                    <div style="position:relative;zoom:1">200-Register:
                      //No contact infomation</div>
                    <div style="position:relative;zoom:1">
                      <div style="position:relative;zoom:1"><a
                          moz-do-not-send="true"
                          class="moz-txt-link-abbreviated"
                          href="mailto:rE/@SIP/2.0"><a class="moz-txt-link-abbreviated" href="mailto:rE/@SIP/2.0">rE/@SIP/2.0</a></a> 200
                        OK</div>
                      <div style="position:relative;zoom:1">Via:
                        SIP/2.0/UDP
12.2.1.180:5060;rport=5060;branch=z9hG4bKPjpBm-dzHb.9vJY19Ccy9Yz8sx7jigkAM1;received=12.2.1.180</div>
                      <div style="position:relative;zoom:1">From: "2015"
                        <a moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="sip:2015@12.2.1.197"><sip:2015@12.2.1.197></a>;tag=tVTyij9jGH8wprKa2olsevAockWFs8k0</div>
                      <div style="position:relative;zoom:1">To: "2015" <a
                          moz-do-not-send="true"
                          class="moz-txt-link-rfc2396E"
                          href="sip:2015@12.2.1.197"><a class="moz-txt-link-rfc2396E" href="sip:2015@12.2.1.197"><sip:2015@12.2.1.197></a></a>;tag=090f6aa955fd574e08bca845127013d9.2885</div>
                      <div style="position:relative;zoom:1">Call-ID:
                        fIQWmPXYtdkT94lzPscrMjzj3R5san9g</div>
                      <div style="position:relative;zoom:1">CSeq: 58932
                        REGISTER</div>
                      <div style="position:relative;zoom:1">Server:
                        kamailio (4.2.0 (x86_64/linux))</div>
                      <div style="position:relative;zoom:1">Content-Length:
                        0</div>
                      <div style="position:relative;zoom:1"><br>
                      </div>
                    </div>
                    <div style="position:relative;zoom:1">Best Regards,</div>
                    <div style="position:relative;zoom:1">Shengy</div>
                  </div>
                  <br>
                  <br>
                  <span title="neteasefooter">
                    <p> </p>
                  </span><br>
                  <fieldset class="mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                </blockquote>
                <br>
                <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
              </blockquote>
            </div>
            <br>
            <br>
            <span title="neteasefooter">
              <p> </p>
            </span> </blockquote>
          <br>
          <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
        </blockquote>
      </div>
      <br>
      <br>
      <span title="neteasefooter">
        <p> </p>
      </span>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
  </body>
</html>