<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 16 September 2013 21:30, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><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<div><div class="h5"><br></div></div></div></blockquote><div><br></div><div>OK - thanks Daniel and Olle for the pointers, much appreciated.</div><div><br></div><div>Steve</div><div> </div></div></div></div>