<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you try the patch from next commit?<br>
    <br>
<a class="moz-txt-link-freetext" href="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6559c4383858d472637807c6ec4dd1e0616507fa">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6559c4383858d472637807c6ec4dd1e0616507fa</a><br>
    <br>
    If works ok, I will backport.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 18/07/14 21:04, Anthony Messina
      wrote:<br>
    </div>
    <blockquote cite="mid:1790589.PTEu1097Uf@linux-ws1.messinet.com"
      type="cite">
      <pre wrap="">In setting up Kamailio with MSILO, I've noticed that some sip clients (I'm 
using CSipSimple), upon un-REGISTER-ing do not send an Allow header, but do 
send an "Expires: 0" header as well as a Contact header.

However as the Contact header doesn't contain "expires=0", it appears as 
though the MSILO skips over checking the Expires header.

As such, I've had to add the following workaround to my route[REGISTRAR] block 
or else these clients trigger the m_dump.

# Ensure we aren't unregistering
# Right now, CSipSimple doesn't send an Allow header with an un-REGISTER,
# so Kamailio skips to checking the Contact header for expires, and appears
# to ignore the fact that an Expires: 0 header is present.
        if($hdr(Expires) != 0)
                m_dump();


Looking through the msilo  check_message_support function, it appears that it 
never checks for the Expires header if there is no Allow header and the 
Contact header does not specify an expire setting.

I do believe that we're missing the check for the Expires header, regardless 
of whether or not there is an Allow header, or a Contact header with expires=0
        

-A

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<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>
</pre>
    </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>