<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>you hve to provide the sip traffic for this case, the screenshot
      doesn't show the sip headers used for routing in this case,
      therefore grab the sip traffic for all sip messages in such
      scenarion, either ngrep output or pcap file, and send it over to
      see if some headers are missing or not set properly.<br>
    </p>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 11.10.18 21:03, Sergiu Pojoga wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJZsGCnEpUK=HHTcj30MkV=H4T=RHQnhX8pVr2F9APN++Fd0EQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">Hi ppl,
            <div><br>
            </div>
            <div>I have this problem with call transfer, may be someone
              can help.</div>
            <div><br>
            </div>
            <div>The phone to the far right is registered with the
              Registrar to the far left using two PATH headers
              (trespassing two proxy ports, 5070 then 5060).</div>
            <div><br>
            </div>
            <div>As you can see in the graph below, after receiving the
              UPDATE request, Kamailio relays it further from port 5060,
              I expect it to be from 5070 just like the dialog forming
              INVITE and the CANCEL afterwards.</div>
            <div><br>
            </div>
            <div>
              <div><img src="cid:part1.239CD849.A17147BC@gmail.com"
                  alt="image.png" class="" width="542" height="239"><br>
              </div>
            </div>
            <div><br>
            </div>
            <div>The UPDATE has a to-tag, but unlike the original INVITE
              - it has no Route header!???</div>
            <div><br>
            </div>
            <div>route[<b>WITHINDLG</b>] {<br>
            </div>
            <div>
              <div><span style="white-space:pre"> </span>if
                (!has_totag()) return;</div>
              <div><span style="white-space:pre"> </span></div>
              <div><span style="white-space:pre"> </span>if
                (loose_route()) {<br>
              </div>
              <div><span style="white-space:pre">         </span>route(DLGURI);</div>
              <div><span style="white-space:pre">         </span></div>
              <div><span style="white-space:pre">         </span>if
                (is_method("BYE")) {</div>
            </div>
          </div>
        </div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
            <div dir="ltr">
              <div dir="ltr">
                <div>
                  <div>...</div>
                </div>
              </div>
            </div>
          </blockquote>
        </blockquote>
        <div dir="ltr">
          <div dir="ltr">
            <div><span style="white-space:pre">           </span>}<br>
            </div>
            <div><span style="white-space:pre">           </span>else if (
              is_method("ACK") ) {</div>
            <div><span style="white-space:pre">                   </span>route(NATMANAGE);</div>
            <div><span style="white-space:pre">           </span>}</div>
            <div><span style="white-space:pre">           </span>else if (
              is_method("NOTIFY") ) {</div>
            <div><span style="white-space:pre">                   </span>record_route();</div>
            <div><span style="white-space:pre">           </span>} </div>
            <div><br>
            </div>
            <div><span style="white-space:pre">           </span>route(RELAY);</div>
            <div><span style="white-space:pre">           </span>exit;</div>
            <div><span style="white-space:pre">   </span>}</div>
            <div><br>
            </div>
            <div><span style="white-space:pre">   </span>if (
              is_method("ACK") ) {</div>
          </div>
        </div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <div dir="ltr">
            <div dir="ltr">
              <div>
                <div>...</div>
              </div>
            </div>
          </div>
        </blockquote>
        <div dir="ltr">
          <div dir="ltr">
            <div>
              <div><span style="white-space:pre"> </span>}<br>
              </div>
              <div><br>
              </div>
              <div><span style="white-space:pre"> </span># handle UPDATE
                method for in-dialog requests</div>
              <div><span style="white-space:pre"> </span>if (is_method("<b>UPDATE</b>"))
                {</div>
              <div><span style="white-space:pre">         </span>route(DLGURI);</div>
              <div><span style="white-space:pre">         </span>record_route();</div>
              <div><span style="white-space:pre">         </span>route(RELAY);<span style="white-space:pre">        </span></div>
              <div><span style="white-space:pre"> </span>}</div>
              <div>}</div>
            </div>
            <div><br>
            </div>
            <div>Thanks in advance.</div>
            <div><br>
            </div>
          </div>
        </div>
      </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.asipto.com">www.asipto.com</a>
<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 World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
  </body>
</html>