<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Sebastian,<br>
      <br>
      Not yet, but I'm preparing the setup to run the test and fix.
      Anyhow, I haven't forgot about this !<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>
    <div class="moz-cite-prefix">On 31.08.2015 23:38, Sebastian Sastre
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAB=UX=D9Kxk0q3VAYcOnXxKANf+K84+aq0i9z7tCwCbZwmJBBg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default" style="font-family:tahoma,sans-serif">Bodgan, </div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif">Did
          you have a change to look into this? just curious to know if
          you replicated the problem. </div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
        </div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif">thanks
          ! </div>
        <div class="gmail_default" style="font-family:tahoma,sans-serif"><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Tue, Aug 18, 2015 at 12:16 PM,
          Sebastian Sastre <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:sastre.sebastian@gmail.com" target="_blank">sastre.sebastian@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif">Bogdan, </div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif"><br>
              </div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif">it appears to be
                broken as of 1.11 and 2.1 yes. I couldn't find any more
                indications in the logs that would point to a visible
                error, but the ACK still has no SDP. </div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif"><br>
              </div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif">I have a few
                machines to test this out with the different versions,
                let me know if you want a specific trace or core dump,
                happy to help. </div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif"><br>
              </div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif">thanks ! </div>
              <div class="gmail_default"
                style="font-family:tahoma,sans-serif"><br>
              </div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Tue, Aug 18, 2015 at 9:22
                    AM, 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 text="#000000" bgcolor="#FFFFFF"> <tt>Sebastian,<br>
                          <br>
                          So 1.11 and above are broken in this late ACK
                          generation ? If so, I will dig into .<br>
                          <br>
                          Regards,<br>
                        </tt><span>
                          <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>
                        </span>
                        <div>
                          <div>
                            <div>On 18.08.2015 16:20, Sebastian Sastre
                              wrote:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="ltr">
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif">Bodgan, </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif"><br>
                                </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif">Yes

                                  , i tried 1.11 and had the same issue,
                                  so i went down to 1.8 TLS and it
                                  worked right away with the same
                                  scenario. A fee config changes but
                                  overal its the standrad script. </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif"><br>
                                </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif">With

                                  1.8 i see the sdp on the Ack and the
                                  call connects without problems. Even
                                  video. </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif"><br>
                                </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif">Not

                                  sure why it did not work on higher
                                  versions. </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif"><br>
                                </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif">Regards, </div>
                                <div class="gmail_default"
                                  style="font-family:tahoma,sans-serif"><br>
                                </div>
                              </div>
                              <div class="gmail_extra"><br>
                                <div class="gmail_quote">On Tue, Aug 18,
                                  2015 at 7:42 AM, 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 text="#000000"
                                      bgcolor="#FFFFFF"> <tt>Hi
                                        Sebastian,<br>
                                        <br>
                                        You mentioned yesterday on IRC
                                        channel that you fixed the
                                        problem ?<br>
                                        <br>
                                        Regards,<br>
                                      </tt><span>
                                        <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>
                                      </span>
                                      <div>
                                        <div>
                                          <div>On 17.08.2015 13:40,
                                            Sebastian Sastre wrote:<br>
                                          </div>
                                          <blockquote type="cite">
                                            <div dir="ltr">
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif">Bodgan, </div>
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                              </div>
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif">Thanks i wasn't sure on the ack
                                                process. This is the log
                                                , the scenario is
                                                triggered by a httpd
                                                json call. </div>
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                              </div>
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif">
                                                <div
                                                  class="gmail_default"><a
moz-do-not-send="true">INFO:b2b_logic:b2bl_add_client</a>: adding entity
                                                  [0x7f718dfa7068]-&gt;[B2B.173.7331923]
                                                  to tuple
                                                  [0x7f718dfa0cd0]-&gt;[685.0]</div>
                                                <div
                                                  class="gmail_default">WARNING:b2b_logic:b2bl_delete_entity:


                                                  entity
                                                  [0x7f718dfa2d18]-&gt;[]
                                                  not found for tuple
                                                  [685.0]</div>
                                                <div
                                                  class="gmail_default"><a
moz-do-not-send="true">INFO:b2b_logic:b2bl_delete_entity</a>: delete
                                                  tuple [685.0], entity
                                                  []</div>
                                                <div
                                                  class="gmail_default"><a
moz-do-not-send="true">INFO:b2b_logic:b2bl_add_client</a>: adding entity
                                                  [0x7f718dfa4d28]-&gt;[B2B.173.5533781]
                                                  to tuple
                                                  [0x7f718dfa0cd0]-&gt;[685.0]</div>
                                                <div
                                                  class="gmail_default"><a
moz-do-not-send="true">INFO:b2b_logic:b2b_add_dlginfo</a>: Dialog pair:
                                                  [B2B.173.7331923] -
                                                  [B2B.173.5533781]</div>
                                                <div
                                                  class="gmail_default"><br>
                                                </div>
                                              </div>
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif">and the trace looks like this </div>
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                              </div>
                                              <div class="gmail_default">
                                                <div
                                                  class="gmail_default">
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.21
                                                      -&gt; 172.10.1.107
                                                      SIP 436 Request:
                                                      INVITE <a
                                                        moz-do-not-send="true"
href="http://sip:sebas3@172.10.1.107:5060" target="_blank">sip:sebas3@172.10.1.107:5060</a></font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.107
                                                      -&gt; 172.10.1.21
                                                      SIP 346 Status:
                                                      100 Giving a try</font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.107
                                                      -&gt; 172.10.1.21
                                                      SIP 456 Status:
                                                      180 Ringing</font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.107
                                                      -&gt; 172.10.1.21
                                                      SIP/SDP 1088
                                                      Status: 200 Ok,
                                                      with session
                                                      description</font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif"><br>
                                                    </font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.21
                                                      -&gt; 172.10.1.20
                                                      SIP/SDP 843
                                                      Request: INVITE <a
moz-do-not-send="true" href="http://sip:1@172.10.1.20:5060"
                                                        target="_blank">sip:1@172.10.1.20:5060</a>,
                                                      with session
                                                      description</font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.20
                                                      -&gt; 172.10.1.21
                                                      SIP 390 Status:
                                                      100 Trying</font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.20
                                                      -&gt; 172.10.1.21
                                                      SIP/SDP 1252
                                                      Status: 200 OK,
                                                      with session
                                                      description</font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif"><br>
                                                    </font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.21
                                                      -&gt; 172.10.1.107
                                                      SIP 526 Request:
                                                      ACK <a
                                                        moz-do-not-send="true"
href="mailto:sip%3Asebas3@73.139.116.217" target="_blank">sip:sebas3@73.139.116.217</a></font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.21
                                                      -&gt; 172.10.1.20
                                                      SIP 446 Request:
                                                      ACK <a
                                                        moz-do-not-send="true"
href="mailto:sip:1@172.10.1.20:5060;transport=udp" target="_blank">sip:1@172.10.1.20:5060;transport=udp</a></font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif"><br>
                                                    </font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.107
                                                      -&gt; 172.10.1.21
                                                      SIP 474 Request:
                                                      BYE <a
                                                        moz-do-not-send="true"
href="http://sip:DialerProxy@172.10.1.21:5060" target="_blank">sip:DialerProxy@172.10.1.21:5060</a></font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.21
                                                      -&gt; 172.10.1.20
                                                      SIP 446 Request:
                                                      BYE <a
                                                        moz-do-not-send="true"
href="mailto:sip:1@172.10.1.20:5060;transport=udp" target="_blank">sip:1@172.10.1.20:5060;transport=udp</a></font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.20
                                                      -&gt; 172.10.1.21
                                                      SIP 545 Status:
                                                      200 OK</font></div>
                                                  <div
                                                    class="gmail_default"><font
                                                      face="tahoma,
                                                      sans-serif">172.10.1.21
                                                      -&gt; 172.10.1.107
                                                      SIP 629 Status:
                                                      200 OK</font></div>
                                                </div>
                                                <div
                                                  style="font-family:tahoma,sans-serif"><br>
                                                </div>
                                              </div>
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif">thanks !</div>
                                              <div class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                              </div>
                                            </div>
                                            <div class="gmail_extra"><br>
                                              <div class="gmail_quote">On
                                                Mon, Aug 17, 2015 at
                                                5:47 AM, 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 text="#000000"
                                                    bgcolor="#FFFFFF"> <tt>Hi

                                                      Sebastian,<br>
                                                      <br>
                                                      The 200OK from FS
                                                      must be followed
                                                      by ACK+SDP to
                                                      linphone. See:<br>
                                                          <a
                                                        moz-do-not-send="true"
href="http://www.opensips.org/Documentation/Tutorials-B2BUA#toc14"
                                                        target="_blank">http://www.opensips.org/Documentation/Tutorials-B2BUA#toc14</a><br>
                                                      <br>
                                                      If this does not
                                                      happen -&gt; do
                                                      you see any errors
                                                      in the logs
                                                      (around the
                                                      processing of
                                                      200OK from FS) ?<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>
                                                        <div>On
                                                          17.08.2015
                                                          04:18,
                                                          Sebastian
                                                          Sastre wrote:<br>
                                                        </div>
                                                      </div>
                                                    </div>
                                                    <blockquote
                                                      type="cite">
                                                      <div>
                                                        <div>
                                                          <div dir="ltr">
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">Hi guys, </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">Im using the B2BUA module to send
                                                          a call out to
                                                          our
                                                          subscribers
                                                          and bridge
                                                          them with our
                                                          IVR server on
                                                          answer. </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">The subscriber side uses linphone
                                                          and the media
                                                          server is a
                                                          freeswitch
                                                          1.6. When
                                                          placing the
                                                          call thru the
                                                          trigger
                                                          scenario MI
                                                          command, the
                                                          initial invite
                                                          does not have
                                                          any SDP inside
                                                          which makes
                                                          sense. </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">Once the 200ok is received from
                                                          the linphone
                                                          client,
                                                          opensips uses
                                                           the SDP
                                                          contained in
                                                          the 200 to
                                                          generate an
                                                          invite to the
                                                          freeswitch
                                                          box. which is
                                                          great. </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">However, when the 200ok is
                                                          received from
                                                          freeswitch,
                                                          the following
                                                          ACK back the
                                                          linphone
                                                          client does
                                                          not contain
                                                          the SDP and
                                                          Linphone
                                                          complains with
                                                          "No codec
                                                          intersection"
                                                          and sends an
                                                          immediate
                                                          bye. </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">Am i right to think that the sdp
                                                          should go in
                                                          the ack to
                                                          create a late
                                                          offer? </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">Should i be sending a re invite? </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">any help appreciated. </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">My scenario is simple. </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif">
                                                          <div
                                                          class="gmail_default">&lt;?xml


version="1.0"?&gt;</div>
                                                          <div
                                                          class="gmail_default">&lt;scenario


                                                          id="dialer"
                                                          name="MS start
                                                          conditional"
                                                          param="2"
                                                          type="extern"&gt; </div>
                                                          <div
                                                          class="gmail_default"> 
                                                          &lt;init&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                           
                                                          &lt;bridge&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                           
                                                          &lt;client&gt; </div>
                                                          <div
                                                          class="gmail_default"> 
                                                               
                                                          &lt;id&gt;client1&lt;/id&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                               
                                                          &lt;destination&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                                 
                                                           &lt;value
                                                          type="param"&gt;1&lt;/value&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                               
                                                          &lt;/destination&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                           
                                                          &lt;/client&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                           
                                                          &lt;client&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                               
                                                          &lt;id&gt;client2&lt;/id&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                               
                                                          &lt;destination&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                                 
                                                           &lt;value
                                                          type="param"&gt;2&lt;/value&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                               
                                                          &lt;/destination&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                           
                                                          &lt;/client&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                           
                                                          &lt;/bridge&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                           
                                                          &lt;state&gt;1&lt;/state&gt;</div>
                                                          <div
                                                          class="gmail_default"> 
                                                          &lt;/init&gt;
                                                           </div>
                                                          <div
                                                          class="gmail_default">&lt;/scenario&gt; </div>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          <div dir="ltr">
                                                          <div
                                                          class="gmail_default"
style="font-family:tahoma,sans-serif"><br>
                                                          </div>
                                                          </div>
                                                          </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>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>