<div dir="ltr">I have the exact same issue. I am also not able to change the Via header.<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>Regards,</div>
<div>Jehanzaib</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 28, 2023 at 10:48 PM Jehanzaib Younis <<a href="mailto:jehanzaib.kiani@gmail.com">jehanzaib.kiani@gmail.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"><div dir="ltr">Hi Bogdan,<div><br></div><div>The only difference is, I am receiving traffic on UDP and sending on TCP socket. </div><div>sorry i forgot to mention before the advertised_address is globally defined (public ip) </div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div>Regards,</div>
<div>Jehanzaib</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 28, 2023 at 10:26 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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"><u></u>
<div>
<font face="monospace">Hi,<br>
<br>
I just made a simple test using only </font><font face="monospace">`advertised_address` and calling from A to B and
cancelling from A. The CANCEL from OpenSIPS to B obeys the
advertising. I used the latest 3.3 : </font><br>
<font face="monospace"> version: opensips 3.3.8 (x86_64/linux)<br>
<br>
Tested with both UDP and TCP, worked in both cases.<br>
<br>
SO, try also the latest 3.3, to see if it works for you too. If
not, try to put together a minimal cfg to support user
registration + calls between users, cfg to show the problem.<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 27.11.2023 13:44, nz deals wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Bogdan,
<div>No other advertisement via socket definition or any script
function.</div>
<div><br>
</div>
<div>Thank you</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, 24 Nov 2023 at 05:47,
Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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">
<div> <font face="monospace">Just checking, only the
`advertised_address` global param [1], no other kind of
advertising (via socket definition or script function) ?<br>
<br>
[1]
<a href="https://www.opensips.org/Documentation/Script-CoreParameters-3-3#advertised_address" target="_blank">https://www.opensips.org/Documentation/Script-CoreParameters-3-3#advertised_address</a><br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 11/22/23 10:47 PM, nz deals wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Bogdan,
<div>My opensips version is opensips 3.3.5
(x86_64/linux)</div>
<div><br>
</div>
<div>Regards,</div>
<div>Jason</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, 23 Nov 2023 at
01:49, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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">
<div> <font face="monospace">What is your exact
opensips version ( `opensips -V` ) ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 11/22/23 12:24 PM, nz deals wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Thanks Bogdan,
<div><br>
<div>It is due to receiving CANCEL from the
caller. Yes using an advertised_address
globally. One of our public addresses. </div>
</div>
<div><br>
</div>
<div>Thanks</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, 22 Nov
2023 at 23:08, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</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">
<div> <font face="monospace">Hi Jason,<br>
<br>
The CANCEL generated by OpenSIPS, is it
due to a received CANCEL or due to an
internal timeout / forking? ALso do you
use any advertising in your setup? if yes,
is it per socket, global or ?<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 11/22/23 7:04 AM, nz deals wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><font face="georgia, serif">Hi
folks,</font>
<div><font face="georgia, serif"><br>
</font></div>
<div><font face="georgia, serif">Is
there any bug in the CANCEL handling
in the version 3.3.x?</font></div>
<div><font face="georgia, serif">I have
a weird issue,</font></div>
<div><font face="georgia, serif">The
INVITE have a VIA header as my
private ip </font></div>
<div><font face="georgia, serif"><span style="box-sizing:border-box;color:rgb(79,79,79);font-size:12px;font-weight:bold">Via:
</span><span style="color:rgb(79,79,79);font-size:12px"> SIP/2.0/TCP
192.XX.XX.XX:5060;branch=XXXXXXX</span></font></div>
<div><span style="color:rgb(79,79,79);font-size:12px"><font face="georgia, serif"><br>
</font></span></div>
<div><font face="georgia, serif" color="#4f4f4f"><span style="font-size:12px">But when i
CANCEL the call, the CANCEL have
my public ip in the VIA header.</span></font></div>
<div><font face="georgia, serif"><span style="box-sizing:border-box;color:rgb(79,79,79);font-size:12px;font-weight:bold">Via:
</span><span style="color:rgb(79,79,79);font-size:12px"> SIP/2.0/TCP
104.xx.xx.xx:5060;branch=xxxxxxx</span><font color="#4f4f4f"><span style="font-size:12px"><br>
</span></font></font></div>
<div><span style="color:rgb(79,79,79);font-size:12px"><font face="georgia, serif"><br>
</font></span></div>
<div><font face="georgia, serif" color="#4f4f4f"><span style="font-size:12px">Anyway can
I change the via in the cancel? </span></font></div>
<div><font face="Roboto Mono, monospace" color="#4f4f4f"><span style="font-size:12px"><br>
</span></font></div>
<div><font face="Roboto Mono, monospace" color="#4f4f4f"><span style="font-size:12px">Regards,</span></font></div>
<div><font face="Roboto Mono, monospace" color="#4f4f4f"><span style="font-size:12px">Jason</span></font></div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
</blockquote></div>