<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you grab the sip trace with ngrep for such registration? Maybe
    the expires for registration is less than 5 minutes. We can see that
    in the sip trace.<br>
    <br>
    Also, you should give the parameters you set in kamailio.cfg for
    usrloc and registrar modules.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 07/05/14 15:13, 5060 wrote:<br>
    </div>
    <blockquote
cite="mid:CA+gkOYAPzwOPh87pXbTyexPt+4h6mZS89Qua3skuEhVuoBegtQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">hello, Daniel:
        <div>thank you for your input. my test case is this:
          kamailio+mysql with an IP and asterisk with second IP. I add
          to mysql and set <span
            style="color:rgb(0,0,0);white-space:pre-wrap">db_mode=2. the
            problem is </span></div>
        <div><font color="#000000"><span style="white-space:pre-wrap">two
              phones can be registered and online command can see the
              users. but after</span></font></div>
        <div><span style="color:rgb(0,0,0);white-space:pre-wrap">while(less
            5 minutes), the system comes out this error:</span></div>
        <div>
          <pre style="white-space:pre-wrap;color:rgb(0,0,0)"><i>'102','sip:<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">102 at 192.168.1.105</a>:5060 <<a moz-do-not-send="true" href="http://sip:102@192.168.1.105:5060/">http://sip:102@192.168.1.105:5060</a>>' 
</i>><i> has expired</i></pre>
          <pre style="white-space:pre-wrap;color:rgb(0,0,0)"><i>------------------------------------</i></pre>
          <pre style="white-space:pre-wrap;color:rgb(0,0,0)"><i>after then, online users are empty and I check from asterisk CLI by sip show peers, the 102 is still there. but i restart kamailio again, the users come online.Do i missed something? </i></pre>
          <pre style="white-space:pre-wrap;color:rgb(0,0,0)"><i>Thanks!</i></pre>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-05-07 16:55 GMT+08:00
          Daniel-Constantin Mierla <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com"
              target="_blank">miconda@gmail.com</a>></span>:<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>
              if there is nothing in output of kamct ul show, it means
              that there is no registered phone. Be sure you have sip
              phone registered to kamailio. Also, for persistence, you
              have to use db_mysql with a mysql server and set usrloc
              parameter db_mode>0 (see the readme of the module).<br>
              <br>
              Cheers,<br>
              Daniel
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 06/05/14 07:54, 5060 wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hello:
                      <div>after i starting kamailio for while, the
                        system shows:</div>
                      <div><br>
                      </div>
                      <div> 3(1466) DEBUG: mi_fifo [mi_parser.c:84]: end
                        of fifo input tree</div>
                      <div> 3(1466) DEBUG: mi_fifo [fifo_fnc.c:507]:
                        done parsing the mi tree</div>
                      <div> 1(1464) DEBUG: usrloc [urecord.c:327]:
                        Binding '102','<a moz-do-not-send="true"
                          href="http://sip:102@192.168.1.105:5060"
                          target="_blank">sip:102@192.168.1.105:5060</a>'
                        has expired</div>
                      <div> 3(1466) DEBUG: mi_fifo [mi_parser.c:84]: end
                        of fifo input tree</div>
                      <div> 3(1466) DEBUG: mi_fifo [fifo_fnc.c:507]:
                        done parsing the mi tree</div>
                      <div> 3(1466) DEBUG: mi_fifo [mi_parser.c:84]: end
                        of fifo input tree</div>
                      <div> 3(1466) DEBUG: mi_fifo [fifo_fnc.c:507]:
                        done parsing the mi tree</div>
                      <div>----------------------------------------------------------------------</div>
                      <div>kamctl online and ul show are empty.  how can
                        i adjust the time to resolve the problem?  </div>
                      <div>thanks!</div>
                    </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>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
                </font></span></div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <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><br>
            <br>
          </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>
<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></pre>
  </body>
</html>