<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 24 Nov 2014, at 11:45, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
  
  <div bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 21/11/14 18:01, Olle E. Johansson
      wrote:<br>
    </div>
    <blockquote cite="mid:34A343C2-E15C-4729-953F-070A01ED0AF6@edvina.net" type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <br>
      <div>
        <div>On 21 Nov 2014, at 14:02, Daniel-Constantin Mierla <<a moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>>
          wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite">
          <meta content="text/html; charset=windows-1252" http-equiv="Content-Type">
          <div bgcolor="#FFFFFF" text="#000000"> Check if you route
            properly the OPTIONS requests that could be sent by Asterisk
            -- if they are not answered, asterisk is unregistering the
            user. Watch the network traffic to view what happens.<br>
          </div>
        </blockquote>
        Asterisk never unregisters anything...</div>
      <div>This device has no Qualify, it's "unmonitored", so Asterisk
        is not sending OPTIONS.</div>
      <div><br>
      </div>
      <div>Just a quick note...</div>
    </blockquote>
    <br>
    thanks for clarifications - not having much insight of Asterisk, the
    remark was because he reported that after some time, then host
    becomes undefined. I know that asterisk is removing records from its
    location table if options are not replied with 200ok -- when/why/how
    it does it, it's not on my table.<br></div></blockquote>That's news to me - chan_sip doesn't do that. I can't say how the new sip channel reacts, but removing a contact that way would be dangerous, unless you are using outbound, which I haven't seen support of.</div><div><br></div><div>What Asterisk chan_sip does is keeping the contact, but not sending calls to it until it starts responding again - regardless of the response code. Any code, including 404 and 503 is ok.</div><div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000">
    <br>
    Are there any other situations when asterisk would update a location
    record?<br></div></blockquote>As far as I know only REGISTER transactions modify location records. </div><div><br></div><div>/O<br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000">
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote cite="mid:34A343C2-E15C-4729-953F-070A01ED0AF6@edvina.net" type="cite">
      <div><br>
      </div>
      <div>/O<br>
        <blockquote type="cite">
          <div bgcolor="#FFFFFF" text="#000000"> <br>
            Cheers,<br>
            Daniel<br>
            <br>
            <div class="moz-cite-prefix">On 20/11/14 18:20, Javier Ricke
              wrote:<br>
            </div>
            <blockquote cite="mid:CAP7s5+xGJ=uPJChgh3=Lq4rmvdwR2E9Yh3ipR-k0SgHMaw9FPg@mail.gmail.com" type="cite">
              <div dir="ltr">
                <div>------phona A-------kamailio---------asterisk-----</div>
                <div><br>
                </div>
                <div>serverjavier-desktop*CLI> sip show peers</div>
                <div>Name/username             Host                    
                                 Dyn Forcerport Comedia    ACL Port    
                  Status      Description                      Realtime</div>
                <div>JavierTren/1000           152.74.xxx.xxx          
                                   D  Yes        Yes            5060    
                  Unmonitored                                  Cached RT</div>
                <div>1 sip peers [Monitored: 0 online, 0 offline
                  Unmonitored: 1 online, 0 offline]</div>
                <div>serverjavier-desktop*CLI> sip show peers</div>
                <div>Name/username             Host                    
                                 Dyn Forcerport Comedia    ACL Port    
                  Status      Description                      Realtime</div>
                <div>0 sip peers [Monitored: 0 online, 0 offline
                  Unmonitored: 0 online, 0 offline]</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div>in host appear sofphone's ip, but spend time and
                  host is undefinid, therefore asterisk dont could route</div>
                <div>call...</div>
                <div>plz help :D</div>
              </div>
              <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></pre>
          </div>
          _______________________________________________<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 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><br>
        </blockquote>
      </div>
      <br>
    </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></pre>
  </div>

</blockquote></div><br></body></html>