<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:ii_jn4wprlh0" alt="image.png" 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>