<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>Yhe ACK matches the dialog, but the
        UAC module is not able to do a correct restore / change of the
        FROM header.<br>
        <br>
        BTW, try to do the FROM stuff after creating the dialog -&gt; in
        this case, the B64 value will be stored in the dialog and not in
        the RR header.<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 17.03.2014 17:17, Mike Tesliuk wrote:<br>
    </div>
    <blockquote
cite="mid:CAKNtoCHOht6bd_kr++do8AFsjmn=VWp+7owavdw1-FOnMh7sWQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Bogdan, <br>
          <br>
        </div>
        A last question about that, in this case, the ack does not
        match, so, the dialog still in the memory right&nbsp; ? will not be
        ended , and this can be the problem that i have with memory on
        this server (too high memory usage)<br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-03-17 11:03 GMT-04:00 Mike Tesliuk
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:mike@ultra.net.br" target="_blank">mike@ultra.net.br</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Ok Bogdan, thanks for you explanation, i will
              check that<br>
            </div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">2014-03-17 10:43 GMT-04:00
                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>:
                <div>
                  <div class="h5"><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>Yes, definitely that is the problem -
                            that string is a B64 encoded value, so it is
                            case sensitive. According to RFC3261, UAs
                            must copy the RR params without any change
                            (even if they do not understand). So your
                            UAC is broken when comes to handling RR
                            headers.<br>
                            <br>
                            Regards,<br>
                          </tt>
                          <div>
                            <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> On 17.03.2014 15:36, Mike Tesliuk
                              wrote:<br>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <blockquote type="cite">
                              <div dir="ltr">
                                <div>
                                  <div>
                                    <div>
                                      <div>
                                        <div>
                                          <div>
                                            <div>Ok, <br>
                                              <br>
                                            </div>
                                            I receive the invite, and i
                                            send the invite with this
                                            vsf
                                            AAAAAF5CW0NKbgEAcAR4BxYLHgAABB0FGgA4<br>
                                            <br>
                                          </div>
                                          on the 180 is ok<br>
                                        </div>
                                        on the 183 is ok<br>
                                      </div>
                                      on the 200 is ok<br>
                                      <br>
                                    </div>
                                    The ack is ok, but lower case (
                                    aaaaaf5cw0nkbgeacar4bxylhgaabb0fgga4
                                    ) <br>
                                    <br>
                                  </div>
                                  so everything broke<br>
                                  <br>
                                  From:
                                  &lt;...S.m.z._6.A..^$..4.X.-.5.&gt;;tag=1c731545057.<br>
                                  <br>
                                  <br>
                                </div>
                                The lower case on ACK can be the problem
                                ?<br>
                                <div>
                                  <div><br>
                                  </div>
                                </div>
                              </div>
                              <div class="gmail_extra"><br>
                                <br>
                                <div class="gmail_quote">2014-03-17 5:28
                                  GMT-04:00 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>:<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 Mike,<br>
                                          <br>
                                          The restore/change of the FROM
                                          hdr is done automatically for
                                          the sequential requests. What
                                          I suspect in your case is an
                                          altering of the RR/Route "vsf"
                                          param - check if you have the
                                          same value in the outgoing
                                          INVITE (original), in the
                                          invite 200 OK (in RR hdr) and
                                          the incoming ACK (in Route
                                          hdr)<br>
                                          <br>
                                          Regards,<br>
                                        </tt>
                                        <div>
                                          <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> On 17.03.2014 00:03,
                                            Mike Tesliuk wrote:<br>
                                          </div>
                                        </div>
                                      </div>
                                      <div>
                                        <div>
                                          <blockquote type="cite">
                                            <div dir="ltr">
                                              <div>Hello Bogdan, <br>
                                                <br>
                                              </div>
                                              Yes, on the initial
                                              request we have the
                                              uac_replace_from , but in
                                              this case the ack is not
                                              supposed to reach the
                                              function , as i say
                                              before, this does not
                                              happen on every dialog,
                                              just in some situation
                                              that i dont identify
                                              exactly which one yet.<br>
                                            </div>
                                            <div class="gmail_extra"><br>
                                              <br>
                                              <div class="gmail_quote">2014-03-16
                                                17:06 GMT-04:00
                                                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>:<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 Mike,<br>
                                                        <br>
                                                        Are you using
                                                        the
                                                        uac_replace_from()
                                                        for that call ?<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
                                                          14.03.2014
                                                          19:48, Mike
                                                          Tesliuk wrote:<br>
                                                        </div>
                                                      </div>
                                                    </div>
                                                    <blockquote
                                                      type="cite">
                                                      <div>
                                                        <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div>Hello
                                                          Guys, <br>
                                                          <br>
                                                          Im checking
                                                          about a
                                                          problem here i
                                                          hope somebody
                                                          can help me.<br>
                                                          <br>
                                                          </div>
                                                          Some times
                                                          when i receive
                                                          an ACK
                                                          opensips is
                                                          doing
                                                          something
                                                          strange with
                                                          the from,
                                                          check the
                                                          mesage below<br>
                                                          <br>
                                                          </div>
                                                          <div>Message
                                                          that opensips
                                                          has received<br>
                                                          </div>
                                                          <div><br>
                                                          U
                                                          _CUSTOMER_IP_:5060
                                                          -&gt;
                                                          __OPENSIPS_IP__:5060<br>
                                                          ACK
                                                          sip:603#558533822977@_ASTERISK_IP_:5060
                                                          SIP/2.0.<br>
                                                          Contact: &lt;<a
moz-do-not-send="true" href="http://sip:12345678@189.2.5.243:5060"
                                                          target="_blank">sip:12345678@189.2.5.243:5060</a>&gt;.<br>
                                                          CSeq: 1 ACK.<br>
                                                          From: &lt;<a
                                                          moz-do-not-send="true"
href="mailto:sip%3A12345678@189.2.5.243" target="_blank">sip:12345678@189.2.5.243</a>&gt;;tag=1c512295868.<br>
                                                          <br>
                                                          </div>
                                                          Message that
                                                          opensips has
                                                          sended <br>
                                                          </div>
                                                          <div><br>
                                                          U
                                                          __OPENSIPS_IP__:5060
                                                          -&gt;
                                                          _ASTERISK_IP_:5060<br>
                                                          ACK
                                                          sip:603#558533822977@_ASTERISK_IP_:5060
                                                          SIP/2.0.<br>
                                                          Contact: &lt;<a
moz-do-not-send="true" href="http://sip:12345678@189.2.5.243:5060"
                                                          target="_blank">sip:12345678@189.2.5.243:5060</a>&gt;.<br>
                                                          CSeq: 1 ACK.<br>
                                                          From:
                                                          &lt;...S.i.~.\..)..N(..24Y3-.9.&gt;;tag=1c512295868.<br>
                                                          <br>
                                                          </div>
                                                          With this, i
                                                          get on my log&nbsp;
                                                          messages like
                                                          below.<br>
                                                          <br>
                                                          ERROR:core:parse_to:

                                                          unexpected
                                                          char [\] in
                                                          status 6:
                                                          &lt;&lt;&lt;#032??S?i?~?&gt;&gt;
                                                          .<br>
                                                          ERROR:core:parse_from_header:

                                                          bad from
                                                          header<br>
                                                          &nbsp;ERROR:uac:restore_uris_reply:

                                                          failed to
                                                          find/parse
                                                          FROM hdr<br>
                                                          <br>
                                                          </div>
                                                          <div>and the
                                                          acc show me
                                                          this<br>
                                                          <br>
                                                          reason=Call
                                                          leg/transaction
                                                          does not exist<br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          i dont
                                                          understand why
                                                          this is
                                                          happen, but
                                                          happen just
                                                          some times,
                                                          and as i can
                                                          find just with
                                                          one customer.<br>
                                                          <br>
                                                          <br>
                                                          </div>
                                                          if somebody
                                                          can point me
                                                          what kind of
                                                          mistake can
                                                          generate this
                                                          error i will
                                                          apreciate.<br>
                                                          <br>
                                                          </div>
                                                          Thanks<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>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>