<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    you can call save() for 200ok received from downstream. In case you
    deal with nat or multiple local sockets, you need to call the
    functions for fixing the registration as well as storing the local
    socket.<br>
    <br>
    The processing can be like:<br>
    - forward register<br>
    - if getting 200ok, call save() for it<br>
    - if local timeout, call save in failure route -- you will have to
    call it via a sub-route, because save() is only allowed in request
    route and reply route, although failure_route should be safe for it<br>
    - if other reply from downstram, let it go to the phone<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 9/16/13 9:08 PM, Steve Davies wrote:<br>
    </div>
    <blockquote
cite="mid:CABFTEGWVn3=5GyHVeN4u1hZJOpVZ2Ag7jvBQsB9D5wP7wTSjSw@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On 16 September 2013 21:03, Olle E.
            Johansson <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div style="word-wrap:break-word">I say you're making it
                too complex. Let the proxy be a proxy and force the
                client to behave properly.<br>
                <span class="HOEnZb"><font color="#888888">
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                  </font></span></div>
            </blockquote>
            <div><br>
            </div>
            <div>The client is an ordinary SIP phone.  I don't have any
              control over its behaviour.  But I'm not sure in what way
              it is behaving improperly?</div>
            <div><br>
            </div>
            <div>Steve</div>
            <div> </div>
          </div>
        </div>
      </div>
      <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>
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
  - more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
  </body>
</html>