<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    can you send the log messages with debug=1 when the re-registration
    401 is processed?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 7/21/13 1:35 AM, Isaac McDonald
      wrote:<br>
    </div>
    <blockquote cite="mid:51EB1EC4.2030603@suscall.com" type="cite">Hello,
      <br>
      <br>
      I'm using the UAC module to register to remote sip proxies. When
      <br>
      starting Kamailio, the UAC module successfully registers with the
      remote
      <br>
      sip proxies as expected. Upon expiration of the registration
      (refresh
      <br>
      interval) the UAC module fails to re-register.
      <br>
      <br>
      I've done some sip traces and found the following:
      <br>
      <br>
      During Kamailio startup the registration process is typical of
      what you'd expect:
      <br>
      <br>
      1. UAC module sends registration request without authentication
      information to remote registrar
      <br>
      <br>
      2. Remote sip proxy sends a 401 back to Kamailio saying
      unauthorized
      <br>
      <br>
      3. UAC module sends another registration request with credentials
      and registration is complete.
      <br>
      <br>
      After the refresh interval expires, the UAC module performs step 1
      from above, and the remote sip proxy sends back a 401 (step 2). At
      this point, the UAC module doesn't resend the registration request
      with credentials thus failing to register.
      <br>
      <br>
      I've got the following modparam's set on the UAC module.
      <br>
      <br>
      modparam("uac", "reg_contact_addr", "10.0.0.31:5060")
      <br>
      modparam("uac", "reg_timer_interval", 60)
      <br>
      modparam("uac", "reg_retry_interval", 300)
      <br>
      <br>
      <br>
      Anyone have any idea's as to why registrations are failing after
      the refresh interval?
      <br>
      <br>
      <br>
      <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>