<div dir="ltr"><div dir="ltr">Yes there was a 180 reply from the Callee.<div><br></div><div><div>2018/10/11 12:34:57.535510 65.xx.xx.161:64877 -> 65.xx.xx.167:5070</div><div>SIP/2.0 180 Ringing</div><div>Via: SIP/2.0/UDP 65.xx.xx.167:5070;branch=z9hG4bK98e3.3392254b0b2d98dfc66f12cb7fdba746.0</div><div>Via: SIP/2.0/UDP 65.xx.xx.172:5060;rport=5060;branch=z9hG4bK694382a1</div><div>Record-Route: <sip:65.xx.xx.167:5070;r2=on;lr=on;did=bbf.658></div><div>Record-Route: <sip:65.xx.xx.167;r2=on;lr=on;did=bbf.658></div><div>Contact: <<a href="http://sip:238@10.17.0.35:64877">sip:238@10.17.0.35:64877</a>></div><div>To: "John"<sip:238@65.xx.xx.161:64877;rinstance=8a315091627cc10b>;tag=6467b07f</div><div>From: "Robert" <<a href="mailto:sip%3A226@mypbx.net">sip:226@mypbx.net</a>>;tag=as0ecef1c4</div><div>Call-ID: <a href="mailto:1e82197b42f0173b25e70759753d4210@mypbx.net">1e82197b42f0173b25e70759753d4210@mypbx.net</a></div><div>CSeq: 102 INVITE</div><div>User-Agent: Bria 4 release 4.8.1 stamp 84929</div><div>Allow-Events: talk, hold</div><div>Content-Length: 0</div><div><br></div><div><br></div><div>2018/10/11 12:34:57.535631 65.xx.xx.167:5060 -> 65.xx.xx.172:5060</div><div>SIP/2.0 180 Ringing</div><div>Via: SIP/2.0/UDP 65.xx.xx.172:5060;rport=5060;branch=z9hG4bK694382a1</div><div>Record-Route: <sip:65.xx.xx.167:5070;r2=on;lr=on;did=bbf.658></div><div>Record-Route: <sip:65.xx.xx.167;r2=on;lr=on;did=bbf.658></div><div>Contact: <sip:238@10.17.0.35:64877;alias=65.xx.xx.161~64877~1></div><div>To: "John"<sip:238@65.xx.xx.161:64877;rinstance=8a315091627cc10b>;tag=6467b07f</div><div>From: "Robert" <<a href="mailto:sip%3A226@mypbx.net">sip:226@mypbx.net</a>>;tag=as0ecef1c4</div><div>Call-ID: <a href="mailto:1e82197b42f0173b25e70759753d4210@mypbx.net">1e82197b42f0173b25e70759753d4210@mypbx.net</a></div><div>CSeq: 102 INVITE</div><div>Allow-Events: talk, hold</div><div>Content-Length: 0</div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 15, 2018 at 12:15 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>indeed, I was misled by the Route headers in INVITE, which looked
      like inside a dialog, but the parameter in To header is rinstance.</p>
    <p>Is there any 18x response?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="m_779863652236447979moz-cite-prefix">On 15.10.18 16:00, Sergiu Pojoga wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div dir="ltr">Hi again,
          <div><br>
          </div>
          <div>Hmm... I don't see a To-tag in the INVITE, neither
            there's a 200OK to provide because the UPDATE was sent out
            prior to the callee answering the call.</div>
          <div><br>
          </div>
          <div>If there should be a Route header in the UPDATE, it would
            it indicate a bug with Asterisk firing off the UPDATE
            without a pre-set Route dictated by the Path?</div>
          <div><br>
          </div>
          <div>If that's the case, I suppose my options are:</div>
          <div>
            <ol>
              <li>reach out to Asterisk to investigate and fix it
                (unrealistic)</li>
              <li>store the Route header from the initial INVITE in a
                AVP and insert it later if an UPDATE follows. Would that
                break anything up?</li>
            </ol>
          </div>
          <div>Any other constructive suggestions?<br>
          </div>
          <div><br>
          </div>
          <div>Thanks.</div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Mon, Oct 15, 2018 at 2:34 AM Daniel-Constantin
          Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF">
            <p>Hello,</p>
            <p>that seems to be a re-INVITE (has To-tag). I would need
              at least the initial INVITE and the 200ok, along with the
              UPDATE request.</p>
            <p>If the UPDATE is after the re-INVITE, it is missing the
              Route header as in the re-INVITE.</p>
            <p>Cheers,<br>
              Daniel<br>
            </p>
            <br>
            <div class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-cite-prefix">On
              12.10.18 16:53, Sergiu Pojoga wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">Hi Daniel,
                    <div><br>
                    </div>
                    <div>Certainly, below find the initial INVITE and
                      the subsequent UPDATE, as received by <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-abbreviated" href="mailto:Kamailio@65.xx.xx.167" target="_blank">Kamailio@65.xx.xx.167</a>.
                      If those aren't sufficient, let me know and if
                      it's ok with you, I'll send the full pcap in
                      private.</div>
                    <div><br>
                    </div>
                    <div>The dilemma in my mind is whether the UPDATE
                      should have a pre-set Route header, similar to how
                      the INVITE has. </div>
                    <div><br>
                    </div>
                    <div>
                      <div>2018/10/11 12:34:57.339306 65.xx.xx.172:5060
                        -> 65.xx.xx.167:5060                         
                                                                       
                                                                       
                                                                   </div>
                      <div>INVITE <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-freetext">sip:238@65.xx.xx.161:64877;rinstance=8a315091627cc10b</a>
                        SIP/2.0                                         
                                                                       
                                                                       
                                                 </div>
                      <div>Via: SIP/2.0/UDP
                        65.xx.xx.172:5060;branch=z9hG4bK694382a1       
                                                                       
                                                                       
                                                                       
                                              </div>
                      <div>Max-Forwards: 70                             
                                                                       
                                                                       
                                                                       
                                                                  </div>
                      <div>Route:
                        <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-rfc2396E"><sip:65.xx.xx.167;lr;received=sip:65.xx.xx.161:64877;r2=on></a>,<a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-rfc2396E"><sip:xx.xx.xx.167:5070;lr;received=sip:65.xx.xx.161:64877;r2=on></a> 
                                                                       
                                                                       </div>
                      <div>From: "Robert" <<a href="mailto:sip%3A226@mypbx.net" target="_blank">sip:226@mypbx.net</a>>;tag=as0ecef1c4 
                                                                       
                                                                       
                                                                       
                                     </div>
                      <div>To: <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-rfc2396E"><sip:238@65.xx.xx.161:64877;rinstance=8a315091627cc10b></a> 
                                                                       
                                                                       
                                                                       
                                                  </div>
                      <div>Contact: <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-rfc2396E"><sip:226@65.xx.xx.172:5060></a> 
                                                                       
                                                                       
                                                                       
                                                                       
                         </div>
                      <div>Call-ID: <a href="mailto:1e82197b42f0173b25e70759753d4210@mypbx.net" target="_blank">1e82197b42f0173b25e70759753d4210@mypbx.net</a> 
                                                                       
                                                                       
                                                                       
                                          </div>
                      <div>CSeq: 102 INVITE                             
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                      Supported: replaces, timer, path 
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                          </div>
                      <div>Content-Type: application/sdp               
                                                                       
                                                                       
                                                                       
                                                                   </div>
                      <div>Content-Length: 386</div>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>
                      <div>2018/10/11 12:35:06.096457 65.xx.xx.172:5060
                        -> 65.xx.xx.167:5060                         
                                                                       
                                                                       
                                                                   </div>
                      <div>UPDATE <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-freetext">sip:238@10.17.0.35:64877;alias=65.xx.xx.161~64877~1</a>
                        SIP/2.0                                         
                                                                       
                                                                       
                                                   </div>
                      <div>Via: SIP/2.0/UDP
                        65.xx.xx.172:5060;branch=z9hG4bK34fab05c       
                                                                       
                                                                       
                                                                       
                                              </div>
                      <div>Max-Forwards: 70                             
                                                                       
                                                                       
                                                                       
                                                                  </div>
                      <div>From: "Robert" <<a href="mailto:sip%3A226@mypbx.net" target="_blank">sip:226@mypbx.net</a>>;tag=as0ecef1c4 
                                                                       
                                                                       
                                                                       
                                     </div>
                      <div>To:
                        <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-rfc2396E"><sip:238@65.xx.xx.161:64877;rinstance=8a315091627cc10b></a>;tag=6467b07f 
                                                                       
                                                                       
                                                                       
                                     </div>
                      <div>Contact: <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-rfc2396E"><sip:226@65.xx.xx.172:5060></a> 
                                                                       
                                                                       
                                                                       
                                                                       
                         </div>
                      <div>Call-ID: <a href="mailto:1e82197b42f0173b25e70759753d4210@mypbx.net" target="_blank">1e82197b42f0173b25e70759753d4210@mypbx.net</a> 
                                                                       
                                                                       
                                                                       
                                          </div>
                      <div>CSeq: 103 UPDATE                             
                                                                       
                                                                       
                                                                       
                                                                  </div>
                      <div>Content-Length: 0 </div>
                    </div>
                    <div><br>
                    </div>
                    <div>Much obliged.</div>
                  </div>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr">On Fri, Oct 12, 2018 at 9:38 AM
                  Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div 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="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-cite-prefix">On
                      11.10.18 21:03, Sergiu Pojoga wrote:<br>
                    </div>
                    <blockquote type="cite">
                      <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 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-wrap">    </span>if
                                (!has_totag()) return;</div>
                              <div><span style="white-space:pre-wrap">    </span></div>
                              <div><span style="white-space:pre-wrap">    </span>if
                                (loose_route()) {<br>
                              </div>
                              <div><span style="white-space:pre-wrap">            </span>route(DLGURI);</div>
                              <div><span style="white-space:pre-wrap">            </span></div>
                              <div><span style="white-space:pre-wrap">            </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-wrap">              </span>}<br>
                            </div>
                            <div><span style="white-space:pre-wrap">              </span>else
                              if ( is_method("ACK") ) {</div>
                            <div><span style="white-space:pre-wrap">                      </span>route(NATMANAGE);</div>
                            <div><span style="white-space:pre-wrap">              </span>}</div>
                            <div><span style="white-space:pre-wrap">              </span>else
                              if ( is_method("NOTIFY") ) {</div>
                            <div><span style="white-space:pre-wrap">                      </span>record_route();</div>
                            <div><span style="white-space:pre-wrap">              </span>} </div>
                            <div><br>
                            </div>
                            <div><span style="white-space:pre-wrap">              </span>route(RELAY);</div>
                            <div><span style="white-space:pre-wrap">              </span>exit;</div>
                            <div><span style="white-space:pre-wrap">      </span>}</div>
                            <div><br>
                            </div>
                            <div><span style="white-space:pre-wrap">      </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-wrap">    </span>}<br>
                              </div>
                              <div><br>
                              </div>
                              <div><span style="white-space:pre-wrap">    </span>#
                                handle UPDATE method for in-dialog
                                requests</div>
                              <div><span style="white-space:pre-wrap">    </span>if
                                (is_method("<b>UPDATE</b>")) {</div>
                              <div><span style="white-space:pre-wrap">            </span>route(DLGURI);</div>
                              <div><span style="white-space:pre-wrap">            </span>record_route();</div>
                              <div><span style="white-space:pre-wrap">            </span>route(RELAY);<span style="white-space:pre-wrap">   </span></div>
                              <div><span style="white-space:pre-wrap">    </span>}</div>
                              <div>}</div>
                            </div>
                            <div><br>
                            </div>
                            <div>Thanks in advance.</div>
                            <div><br>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                      <fieldset class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792mimeAttachmentHeader"></fieldset>
                      <br>
                      <pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                    </blockquote>
                    <br>
                    <pre class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726m_-6344597451958701792moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a></pre>
                  </div>
                </blockquote>
              </div>
            </blockquote>
            <br>
            <pre class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="m_779863652236447979m_3533102506722072554m_-4693225718804950726moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a></pre>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <pre class="m_779863652236447979moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="m_779863652236447979moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a class="m_779863652236447979moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_779863652236447979moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio World Conference -- <a class="m_779863652236447979moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a>
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- <a class="m_779863652236447979moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a></pre>
  </div>

</blockquote></div>