<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>can you give a try with latest master branch or by using the
      patch from next link?</p>
    <p>  -
<a class="moz-txt-link-freetext" href="https://github.com/kamailio/kamailio/commit/52111974b4571e0562e8e731df80f48dbc504915">https://github.com/kamailio/kamailio/commit/52111974b4571e0562e8e731df80f48dbc504915</a></p>
    <p>Apparently the t_realy() stopped script execution (by returning
      0) when e2e ACK forwarding was successful. The patch should change
      that to return true.</p>
    <p>If all works fine while testing, then I will backport.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 22.12.17 14:05, Jean Cérien wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAL_ph0Lz+FBKPr8e0UdgtNKZPc2kGx0w7j7PRSgevYnV4-B0yw@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        Hello
        <div>I've tried mhomed = 1 with no luck - not so sure what you
          mean by default route, I've added listen = udp:myadsress:5060<br>
          <div>I also have auto_aliases=no and alias=myaddress</div>
          <div><br>
          </div>
          <div>However, what bugs me is that execution seems to stop
            INSIDE t_relay and the info message after the t_relay is not
            displayed. </div>
          <div><br>
          </div>
          <div>I hate to say this, but could this be a bug ?</div>
          <div><br>
          </div>
          <div>Rgds</div>
          <div>J.</div>
          <div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Dec 22, 2017 at 1:52 AM, Sergey
          Safarov <span dir="ltr"><<a
              href="mailto:s.safarov@gmail.com" target="_blank"
              moz-do-not-send="true">s.safarov@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">Check that your installation have one NIC
              with only one default route on host.
              <div>If not check that "mhomed=1" is enabled.</div>
              <div><br>
              </div>
              <div>Sergey</div>
            </div>
            <br>
            <div class="gmail_quote">
              <div dir="ltr">пт, 22 дек. 2017 г. в 0:02, Jean Cérien
                <<a href="mailto:cerien.jean@gmail.com"
                  target="_blank" moz-do-not-send="true">cerien.jean@gmail.com</a>>:<br>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div dir="ltr"><br>
                  <div>Hello</div>
                  <div>I am using kamailio 5.0.2, on a debian 9 system.</div>
                  <div><br>
                  </div>
                  <div>Everything was running fine, until one of our
                    voip provider changed his switch. Our kamailio is
                    relaying between several voip providers and several
                    asterisk (only the signalisation, no rtp).</div>
                  <div><br>
                  </div>
                  <div>When we get an invite from this new switch, we
                    select an asterisk and relay it correctly to this
                    box. However, the OK is relayed back. But when the
                    voip providers sends an ACK for this OK, the t_relay
                    function does not return at all, it just dies with
                    no action and no error.</div>
                  <div><br>
                  </div>
                  <div>Here is the snippet from route(relay)</div>
                  <div><br>
                  </div>
                  <div>
                    <div>        xlog("L_INFO","route(relay)  @@ $rm -
                      Source: $si:$sp, fu:$fu, tu:$tu\n" );</div>
                    <div>        $var(restrelay)=t_relay();</div>
                    <div>        xlog("L_INFO","route(relay)  @@ $rm -
                      t_relay result: $var(restrelay)" );</div>
                    <div>        if (!$var(restrelay)) {</div>
                  </div>
                  <div><br>
                  </div>
                  <div>When processing the initial invite, I do get both
                    INFO messages. When the ACK is processed, I only get
                    one INFO message, and no ACK is relayed - so it
                    seems execution dies in the t_relay</div>
                  <div><br>
                  </div>
                  <div>What could be wrong ???</div>
                  <div><br>
                  </div>
                  <div>J.</div>
                  <div><br>
                  </div>
                  <div>Details of the ACK:</div>
                  <div><br>
                  </div>
                  <div>
                    <div><font face="monospace, monospace">ACK
                        <a class="moz-txt-link-freetext" href="sip:dialednumber@kamailioIP">sip:dialednumber@kamailioIP</a>:<wbr>5060 SIP/2.0<br>
                      </font></div>
                    <div><font face="monospace, monospace">Via:
                        SIP/2.0/UDP VOIPPROVIDERIP:5060;branch=<wbr>z9hG4bKjq16fi00d85uee181ic0.1</font></div>
                    <div><font face="monospace, monospace">To:
                        <a class="moz-txt-link-rfc2396E" href="sip:kamailioIP:5060"><sip:kamailioIP:5060></a>;tag=<wbr>as7f10ed48</font></div>
                    <div><font face="monospace, monospace">From: <<a
href="mailto:sip%3Asourcenumber@orange-multimedia.fr" target="_blank"
                          moz-do-not-send="true">sip:sourcenumber@orange-<wbr>multimedia.fr</a>>;tag=SD8u3ob01-<wbr>7dd8efde-0002-00d5-0000-0000</font></div>
                    <div><font face="monospace, monospace">Call-ID:
                        SD8u3ob01-<wbr>688d41f5e2164ceeafe76f40b82b3f<wbr>97-v300g00030</font></div>
                    <div><font face="monospace, monospace">CSeq: 1 ACK</font></div>
                    <div><font face="monospace, monospace">Max-Forwards:
                        66</font></div>
                    <div><font face="monospace, monospace">Content-Length:
                        0</font></div>
                    <div><font face="monospace, monospace">Route:
                        <<a class="moz-txt-link-freetext" href="sip:kamailioIP;lr=on;ftag=">sip:kamailioIP;lr=on;ftag=</a><wbr>SD8u3ob01-7dd8efde-0002-00d5-<wbr>0000-0000;did=a0b.49d></font></div>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                  <div>(should you have enough width; the diagram will
                    look ok)</div>
                  <div><br>
                  </div>
                  <div>
                    <div><font face="monospace, monospace">             
                             VOIP PROVIDER               KAMAILIO       
                                       ASTERISK</font></div>
                    <div><font face="monospace, monospace"> 
                        21:38:54.685149   │
                        ──────────────────────────> │               
                                     │   </font></div>
                    <div><span style="font-family:monospace,monospace">▒ 
                             +0.000451   │  100 trying -- your call is
                        │                             │   </span></div>
                    <div><font face="monospace, monospace">▒
                        21:38:54.685600   │
                        <────────────────────────── │               
                                     │   </font></div>
                    <div><font face="monospace, monospace">▒     
                         +0.000084   │                             │   
                            INVITE (SDP)         │   </font></div>
                    <div><font face="monospace, monospace">▒
                        21:38:54.685684   │                           
                         │ ──────────────────────────> │   </font></div>
                    <div><font face="monospace, monospace">▒     
                         +0.000831   │                             │   
                             100 Trying          │   </font></div>
                    <div><font face="monospace, monospace">▒
                        21:38:54.686515   │                           
                         │ <────────────────────────── │   </font></div>
                    <div><font face="monospace, monospace">▒     
                         +0.000471   │                             │   
                            200 OK (SDP)         │   </font></div>
                    <div><font face="monospace, monospace">▒
                        21:38:54.686986   │                           
                         │ <────────────────────────── │   </font></div>
                    <div><font face="monospace, monospace">▒     
                         +0.000394   │        200 OK (SDP)         │   
                                                 │   </font></div>
                    <div><font face="monospace, monospace">▒
                        21:38:54.687380   │
                        <────────────────────────── │               
                                     │   </font></div>
                    <div><font face="monospace, monospace">▒     
                         +0.038694   │             ACK             │   
                                                 │   </font></div>
                    <div><font face="monospace, monospace">▒
                        21:38:54.726074   │
                        ──────────────────────────> │               
                                     │   </font></div>
                    <div><font face="monospace, monospace">▒     
                         +0.060155   │                             │   
                            200 OK (SDP)         │   </font></div>
                    <div><font face="monospace, monospace">▒
                        21:38:54.786229   │                           
                         │ <<<──────────────────────── │   </font></div>
                    <div><font face="monospace, monospace">▒     
                         +0.000138   │        200 OK (SDP)         │   
                                                 │   </font></div>
                    <div><font face="monospace, monospace">▒
                        21:38:54.786367   │
                        <<<──────────────────────── │         
                                           │   </font></div>
                    <div><font face="monospace, monospace">▒     
                         +0.005721   │             ACK             │   
                                                 │ </font></div>
                  </div>
                  <div><br>
                  </div>
                  <div><br>
                  </div>
                </div>
                ______________________________<wbr>_________________<br>
                Kamailio (SER) - Users Mailing List<br>
                <a href="mailto:sr-users@lists.kamailio.org"
                  target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
                <a
                  href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
                  rel="noreferrer" target="_blank"
                  moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
              </blockquote>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            Kamailio (SER) - Users Mailing List<br>
            <a href="mailto:sr-users@lists.kamailio.org"
              moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
            <a
              href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
              rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>