<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi,<br>
      <br>
      Could you please detail a bit your case? what kind of advertising
      are you using? per socket, global? ALso, an off-list pcap
      (covering both in and out traffic for opensips) will help.<br>
      <br>
      In regards the t_relay, as per docs, just do
      t_relay("no-auto-477")<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 05.12.2023 11:40, Jehanzaib Younis
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKrJzCyUcCYiC2HzNs3FfitiQt+2NVBnU_Re_7Jn2imBzTHNRA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Bogdan,
        <div><br>
        </div>
        <div>I have the same issue, i have just upgraded the opensips to
          3.4.2 version.  It did not fix the issue but the other issue
          iam getting is t_relay is not accepting any parameter.</div>
        <div>The documentation is not clearly saying how to put <span
            class="emphasis"
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><em>no-auto-477</em></span><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"> -
            (old </span><span class="emphasis"
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><em>0x02</em></span><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"> flag).
            in my old 3.3.2 version i used to t_relay(2) but it is not
            working in the 3.4.2 version anymore. i tried all the
            options but none of them is working. </span></div>
        <div><br>
        </div>
        <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:54 PM Jehanzaib Younis <<a
            href="mailto:jehanzaib.kiani@gmail.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">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">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">
                  <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" target="_blank"
                moz-do-not-send="true" class="moz-txt-link-freetext">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"
                    moz-do-not-send="true" class="moz-txt-link-freetext">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,<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"
                    moz-do-not-send="true" class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
  <a href="https://www.siphub.com" target="_blank"
                    moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true"
                            class="moz-txt-link-freetext">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" moz-do-not-send="true"
                                class="moz-txt-link-freetext">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"
                            moz-do-not-send="true"
                            class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
  <a href="https://www.siphub.com" target="_blank"
                            moz-do-not-send="true"
                            class="moz-txt-link-freetext">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"
                                    moz-do-not-send="true"
                                    class="moz-txt-link-freetext">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"
                                    moz-do-not-send="true"
                                    class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
  <a href="https://www.siphub.com" target="_blank"
                                    moz-do-not-send="true"
                                    class="moz-txt-link-freetext">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" moz-do-not-send="true"
class="moz-txt-link-freetext">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"
                                            moz-do-not-send="true"
class="moz-txt-link-freetext">https://www.opensips-solutions.com</a>
  <a href="https://www.siphub.com" target="_blank"
                                            moz-do-not-send="true"
class="moz-txt-link-freetext">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"
                                              moz-do-not-send="true"
class="moz-txt-link-freetext">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                                              target="_blank"
                                              moz-do-not-send="true"
class="moz-txt-link-freetext">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" 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>
            </blockquote>
          </div>
        </blockquote>
      </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>