<div dir="ltr">forgot to say, thats ACK on 200ok from carrier.<br><div><img src="cid:ii_jyudwnwj0" alt="Screen Shot 2019-08-01 at 2.28.01 PM.png" width="562" height="315"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 2 авг. 2019 г. в 20:27, Zhan Bazarov <<a href="mailto:chiefkeeft@gmail.com">chiefkeeft@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Thanks! <br>Rly appreciate your help! <br><br>So, I can try to execute the same branch_route for ACK method?<br>I have this branch route:<br><br>branch_route[MODIFY]{<br> uac_replace_from("","$avp(from)");<br> uac_replace_to($avp(to));<br>}<br><br>Now I execute this when request goes from asterisk through kamailio to carriers...<br><br>Should I execute this branch route into ACK method from asterisk too?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 2 авг. 2019 г. в 20:11, Henning Westerholt <<a href="mailto:hw@skalatan.de" target="_blank">hw@skalatan.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello Zhan,</p>
<p>possible reasons:</p>
<p>- the ACK is not routed through your proxy (missing record-route for the INVITE)<br>
</p>
<p>- the user agent mangles the Route header, therefore the uac module can't does it work correctly (look to the kamailio error logs if you spot something)<br>
</p>
<p>Have a look to your SIP e.g. with "ngrep -qt -d any -W byline port 5060" on your proxy.</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="gmail-m_8093152686541115816gmail-m_7843342980955209549moz-cite-prefix">Am 02.08.19 um 19:02 schrieb Zhan Bazarov:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,<br>
Thanks for reply! Yes I execute uac_replace_to/from in branch_route in INVITE method... But it doesn't work for ACK method...</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">пт, 2 авг. 2019 г. в 18:11, Henning Westerholt <<a href="mailto:hw@skalatan.de" target="_blank">hw@skalatan.de</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hello Zhan,</p>
<p>have a look to the "uac" module, there are functions to rewrite the From and To header for passing messages. It works together with the rr module.<br>
</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399moz-cite-prefix">Am 02.08.19 um 13:30 schrieb Zhan Bazarov:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><span style="color:rgba(0,0,0,0.9);font-family:-apple-system,system-ui,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Fira Sans",Ubuntu,Oxygen,"Oxygen Sans",Cantarell,"Droid Sans","Apple Color Emoji","Segoe UI Emoji","Segoe UI Emoji","Segoe UI Symbol","Lucida Grande",Helvetica,Arial,sans-serif;font-size:14px;white-space:pre-line;background-color:rgb(243,246,248)">Hello!
Please, is it possible to change from/to headers in ACK message to provider? this is exactly our case, please, look it when u get a chance.
</span><a rel="noopener" href="http://sip-router.1086192.n5.nabble.com/Wrong-ACK-to-Provider-td130050.html#a130052" id="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399ember488" class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399gmail-app-aware-link gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399ember-view" style="box-sizing:inherit;padding:0px;text-decoration-line:none;margin:0px;font-size:14px;vertical-align:baseline;background:0px 0px transparent;font-weight:600;border:0px;color:rgb(102,94,208);font-family:-apple-system,system-ui,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Fira Sans",Ubuntu,Oxygen,"Oxygen Sans",Cantarell,"Droid Sans","Apple Color Emoji","Segoe UI Emoji","Segoe UI Emoji","Segoe UI Symbol","Lucida Grande",Helvetica,Arial,sans-serif;white-space:pre-line" target="_blank">http://sip-router.1086192.n5.nabble.com/Wrong-ACK-to-Provider-td130050.html#a130052</a><br>
</div>
<br>
<fieldset class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399moz-signature" cols="72">--
Henning Westerholt - <a class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399moz-txt-link-freetext" href="https://skalatan.de/blog/" target="_blank">https://skalatan.de/blog/</a>
Kamailio services - <a class="gmail-m_8093152686541115816gmail-m_7843342980955209549gmail-m_6951659668443512399moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank">https://skalatan.de/services</a></pre>
</div>
</blockquote>
</div>
</blockquote>
<pre class="gmail-m_8093152686541115816gmail-m_7843342980955209549moz-signature" cols="72">--
Henning Westerholt - <a class="gmail-m_8093152686541115816gmail-m_7843342980955209549moz-txt-link-freetext" href="https://skalatan.de/blog/" target="_blank">https://skalatan.de/blog/</a>
Kamailio services - <a class="gmail-m_8093152686541115816gmail-m_7843342980955209549moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank">https://skalatan.de/services</a></pre>
</div>
</blockquote></div></div>
</blockquote></div>