<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] ACK to 200 OK in a Bridge</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>This shouldn&#8217;t be a problem... The call is answered as soon as FS gets the 200 OK from the termination leg... &nbsp;Also keep in mind that FreeSWITCH has sofia do a few things automattically like the 100 trying is done automagic by the sofia lib... <BR>
<BR>
Also FreeSwitch is a B2BUA not a Proxy so the the A Leg can operate independently of the B leg... <BR>
<BR>
<BR>
On 7/20/12 7:48 AM, &quot;Stephen Wilde&quot; &lt;<a href="wstephen80@gmail.com">wstephen80@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>I have the following issue: if I do a bridge of an inbound call to an outbound call, when the called number answer the call with a 200 OK, FreeSwitch sends the ACK instantely, without wait the ACK of the calling.<BR>
<BR>
The message flow (as shown in the attached .png) is:<BR>
<BR>
CALLING              FS       CALLED<BR>
<BR>
INVITE       ---------&gt;<BR>
100 Trying &lt;---------<BR>
                             -------------&gt; INVITE<BR>
                             &lt;--------- 100 Trying <BR>
                             &lt;--------- 200 OK<BR>
                             -------------&gt; ACK<BR>
&lt;--------- 200 OK <BR>
-------------&gt; ACK <BR>
<BR>
<BR>
<BR>
When I expected that the ACK to called is related to ACK from the calling:<BR>
<BR>
CALLING              FS       CALLED<BR>
<BR>
INVITE       ---------&gt;<BR>
100 Trying &lt;---------<BR>
                             -------------&gt; INVITE<BR>
                             &lt;--------- 100 Trying <BR>
                             &lt;--------- 200 OK<BR>
&lt;--------- 200 OK<BR>
-------------&gt; ACK<BR>
                             -------------&gt; ACK <BR>
<BR>
<BR>
<BR>
For this reason, if sometimes the Calling doesn't send the ACK (because it reject the 200 OK), the call is considered connected (and billed) by Freeswitch (30s, probably due to a timeout waiting ack) and not by Calling (0s).<BR>
There is a way (config?) to send ACK to called only when is received the ACK from calling?<BR>
<BR>
Stephen<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
Join Us At ClueCon - Aug 7-9, 2012<BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>