<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Sebastian,<br>
      <br>
      I will put together a small setup and see what is going wrong.<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 17.08.2015 13:40, Sebastian Sastre
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAB=UX=DUWF7eSaSq-V5L=bC+tSdJ1GAUgqmDagKhPSktsqPhGA@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">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 class="moz-txt-link-freetext" href="INFO:b2b_logic:b2bl_add_client">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 class="moz-txt-link-freetext" href="INFO:b2b_logic:b2bl_delete_entity">INFO:b2b_logic:b2bl_delete_entity</a>:
            delete tuple [685.0], entity []</div>
          <div class="gmail_default"><a class="moz-txt-link-freetext" href="INFO:b2b_logic:b2bl_add_client">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 class="moz-txt-link-freetext" href="INFO:b2b_logic:b2b_add_dlginfo">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">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">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">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 class="moz-txt-link-abbreviated" href="mailto:sip:1@172.10.1.20:5060;transport=udp">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">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 class="moz-txt-link-abbreviated" href="mailto:sip:1@172.10.1.20:5060;transport=udp">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 class="h5">
                  <div>On 17.08.2015 04:18, Sebastian Sastre wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <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>
  </body>
</html>