<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Volkan,<br>
<br>
A simpler approach (with no manual storing) may be achieved via
the fix_route_dialog() [1]. You can use this function after a
match_dialog() on the ACK.<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/3.5.x/dialog.html#func_fix_route_dialog">https://opensips.org/html/docs/modules/3.5.x/dialog.html#func_fix_route_dialog</a><br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
<a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
<div class="moz-cite-prefix">On 02.06.2025 00:05, Volkan Oransoy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAM_EGOEPP4rR2=thPNj=sNzFgSauQzoUka50K6EKk92ObunCjg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Adrian
<div><br>
</div>
<div>It worked just as you described. </div>
<div><br>
</div>
<div>Thanks a lot. </div>
</div>
<br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Sat, 31 May 2025 at 15:54,
Adrian Georgescu <<a href="mailto:ag@ag-projects.com"
moz-do-not-send="true" class="moz-txt-link-freetext">ag@ag-projects.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You
can use store_dlg_value() to save the values of parsed headers
like Contact header $ct.fields(uri) and retrieve them later
from $dlg_val variable<br>
<br>
If you have configured a stateful proxy and have the dialog
module loaded the dialogs should be matched automatically.<br>
<br>
<br>
> On May 31, 2025, at 11:58, Volkan Oransoy <<a
href="mailto:voransoy@gmail.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">voransoy@gmail.com</a>>
wrote:<br>
> <br>
> Hi Adrian<br>
> <br>
> Thank you for your reply. I've had a look at the
documentation. Can match_dialog function handle this case?<br>
> <br>
> Thanks<br>
> <br>
> On Sat, 31 May 2025 at 10:20, Adrian Georgescu <<a
href="mailto:ag@ag-projects.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">ag@ag-projects.com</a>>
wrote:<br>
> You can save using the dialog module, the Contact uri
from the 200 OK, then when the ACK comes in, you replace the
$ru with the previously saved value.<br>
> <br>
> > On May 31, 2025, at 10:07, Volkan Oransoy <<a
href="mailto:voransoy@gmail.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">voransoy@gmail.com</a>>
wrote:<br>
> > <br>
> > Hi all<br>
> > <br>
> > I am trying to integrate a 3rd party UAC with my
Opensips box and have an issue. <br>
> > The UAC sends an INVITE with an initial request uri
and my box replies with 200 OK. <br>
> > But the subsequent ACK sent by the UAC comes with
the same request uri with the INVITE. My box expects the ACK
request uri to be the Contact field of the 200 OK. So the ACK
routing fails. <br>
> > How can I rectify this on my end?<br>
> > <br>
> > Best<br>
> > <br>
> > --<br>
> > Volkan Oransoy<br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.opensips.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
> > <a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
> <a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
> <br>
> -- <br>
> Volkan Oransoy<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
> <a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<div><br clear="all">
</div>
<div><br>
</div>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">Volkan Oransoy</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>