<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Storing the values in dialog module doesn't help.</span><div><font face="arial, sans-serif"><br></font><div><span style="font-family:arial,sans-serif;font-size:13px">I updated headers in </span><span style="font-family:arial,sans-serif;font-size:13px">event_route[tm:local-request]</span><span style="font-family:arial,sans-serif;font-size:13px"> </span><span style="font-family:arial,sans-serif;font-size:13px">by subst_hf</span><span style="font-family:arial,sans-serif;font-size:13px"> </span><span style="font-family:arial,sans-serif;font-size:13px">with saved dialog variables (uac_replace_to/from has been used in branch route).</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Now it's working.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Great! Thank you,</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Julia</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 2, 2014 at 9:11 AM, 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">
Storing the values in dialog module can be useful, you need to
enable it:<br>
<br>
-
<a href="http://kamailio.org/docs/modules/stable/modules/uac.html#uac.p.restore_dlg" target="_blank">http://kamailio.org/docs/modules/stable/modules/uac.html#uac.p.restore_dlg</a><br>
<br>
But I am not sure if that is making dialog to use them automatically
for BYE requests.<br>
<br>
What you can try is to enable event_route[tm:local-request] to catch
local generated BYEs and update the headers there (either from
dialog variables or from other source if you can determine that).<br>
<br>
Cheers,<br>
Daniel<div><div class="h5"><br>
<br>
<div>On 02/10/14 09:00, Julia Boudniatsky
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div style="font-family:arial,sans-serif;font-size:13px">We use
dialog module in our configuration.</div>
<div style="font-family:arial,sans-serif;font-size:13px">uac_replace_from/to
is called after dlg_manage().</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">From
UAC documentation: "<span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">If
you create a dialog ( with dlg_manage() ) before calling
uac_replace_from(), this avp will not be needed. The values
of the uris will be stored as dialog variables."</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><br>
</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">And
we have problem only with locally generated BYE, all other
local requests (ACK, CANCEL) works fine.</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><br>
</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">Thank
you,</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><br>
</span></div>
<div style="text-align:justify"><font face="Helvetica, Arial" color="#000000"><span style="font-size:12px">Julia</span></font></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Oct 1, 2014 at 4:28 PM, Julia
Boudniatsky <span dir="ltr"><<a href="mailto:juliabo@gmail.com" target="_blank">juliabo@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 dir="ltr">
<div>Hello,</div>
<div>We use dialog module in our configuration.</div>
<div>uac_replace_from/to is called after dlg_manage().</div>
<div>restore_mode is auto.</div>
<div><br>
</div>
<div>URIs are modified automatically in all subsequent
local requests, exclude BYE generated in dlg timeout.</div>
<div>In this case original URIs are sent to both caller
and calee sides.</div>
<div>If call going through only one kamailio server, all
works fine.</div>
<div>Problem starts with a chain of servers with from/to
manipulation.</div>
<div>When timeout occurs in one kamailio server, calee
kamailio server receives BYE with original (not
modified) URIs and URI restore gets wrong parsing
result.</div>
<div>Call clears in caller side and stay connected in
caller.</div>
<div><br>
</div>
<div>Whether there is any solution?</div>
<div><br>
</div>
<div>BR ,</div>
<div><br>
</div>
<div>Julia.</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><span class=""><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
</font></span></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>