<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Well, that seems to be the problem.
        They should have been preserved during the call.<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 06.12.2013 00:28, George Lee wrote:<br>
    </div>
    <blockquote
cite="mid:CAELuwM53eEwY1wccd5u=9AzZNcJGVfyFRip_wEEJ_A2swvfjZg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Nope, they don't.<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Dec 5, 2013 at 5:19 PM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div><tt>And does the "To" header URI from the original
                  INVITE exactly match the FROM from from BYE ?</tt>
                <div class="im"><br>
                  <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                </div>
                <div>
                  <div class="h5"> On 06.12.2013 00:15, George Lee
                    wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">Yes, they matched.<br>
                    </div>
                    <div class="gmail_extra"><br>
                      <br>
                      <div class="gmail_quote">On Thu, Dec 5, 2013 at
                        4:51 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:bogdan@opensips.org"
                            target="_blank">bogdan@opensips.org</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000">
                            <div><tt>Hello George,<br>
                                <br>
                                Could you check if the vst param (from
                                Route hdr) from the incoming BYE is the
                                same as in the Record-Route hdr in the
                                outgoing INVITE (when the call is setup)
                                ?<br>
                                <br>
                                Regards,<br>
                              </tt>
                              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                              <div>
                                <div> On 04.12.2013 21:42, George Lee
                                  wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div>
                                  <div dir="ltr">
                                    <div>
                                      <div>
                                        <div>
                                          <div>Hi,<br>
                                            <br>
                                          </div>
                                          Opensips UAC replace the From
                                          URI in the BYE to some
                                          garbage. Here is the BYE
                                          message:<br>
                                          <br>
                                          BYE <a moz-do-not-send="true"
href="mailto:sip:8661234567@domain.com:5060;transport=tcp"
                                            target="_blank">sip:8661234567@domain.com:5060;transport=tcp</a>
                                          SIP/2.0<br>
                                          Via: SIP/2.0/UDP
                                          24.73.117.130;branch=z9hG4bK12d4.2eecaf71f1f0402cc5a2e218f8694fef.0;i=9<br>
                                          Via: SIP/2.0/TCP
                                          24.73.117.201;branch=z9hG4bK12d4.b6667993.0<br>
                                          Via: SIP/2.0/UDP
                                          67.231.1.112:5060;branch=z9hG4bK0cB4f881d03eff3642c<br>
                                          From: "7271234567"
                                          &lt;sip:%42703473?IK{s3qdomo/cgX<br>
                                          60&gt;;tag=gK0c84a3ac<br>
                                          To: "8661234567" &lt;<a
                                            moz-do-not-send="true"
                                            href="mailto:sip%3A8661234567@domain.com"
                                            target="_blank">sip:8661234567@domain.com</a>&gt;;epid=0x240e200;tag=DL2004f8f2ad<br>
                                          Call-ID:
                                          DL98cab1eeba-1079321658@Old-iPad<br>
                                          CSeq: 286253542 BYE<br>
                                          Max-Forwards: 68<br>
                                          Route:
                                          &lt;sip:domain:5060;lr&gt;<br>
                                          Content-Length: 0<br>
                                          <br>
                                        </div>
                                        Here is the debug log:<br>
                                        DBG:uac:restore_uri: getting
                                        'vsf' Route param<br>
                                        DBG:uac:restore_uri: route param
                                        'vsf' not found<br>
                                        DBG:uac:restore_uri: getting
                                        'vst' Route param<br>
                                        DBG:uac:restore_uri: route param
                                        is
                                        'AAAAAA4FBQUHAQEDBgl5cllNRB1NQlVBXEEeUlVYCgMANjA-'
                                        (len=48)<br>
                                        DBG:uac:restore_uri: decoded
                                        uris are:
                                        new=[sip:%42703473?IK{sqdomo/cgX
                                        ] old=[<a moz-do-not-send="true"
href="mailto:sip%3A%2B17271234567@10.1.10.10" target="_blank">sip:+17271234567@10.1.10.10</a>]<br>
                                        <br>
                                        <br>
                                      </div>
                                      Can someone tell me why UAC did
                                      that?<br>
                                      <br>
                                    </div>
                                    Thanks,<br>
                                    George<br>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                            </blockquote>
                            <br>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>