This shouldn’t be a problem... The call is answered as soon as FS gets the 200 OK from the termination leg... Also keep in mind that FreeSWITCH has sofia do a few things automattically like the 100 trying is done automagic by the sofia lib...
Also FreeSwitch is a B2BUA not a Proxy so the the A Leg can operate independently of the B leg...
On 7/20/12 7:48 AM, "Stephen Wilde" <wstephen80@gmail.com> wrote:
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.
The message flow (as shown in the attached .png) is:
CALLING FS CALLED
INVITE --------->
100 Trying <---------
-------------> INVITE
<--------- 100 Trying
<--------- 200 OK
-------------> ACK
<--------- 200 OK
-------------> ACK
When I expected that the ACK to called is related to ACK from the calling:
CALLING FS CALLED
INVITE --------->
100 Trying <---------
-------------> INVITE
<--------- 100 Trying
<--------- 200 OK
<--------- 200 OK
-------------> ACK
-------------> ACK
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).
There is a way (config?) to send ACK to called only when is received the ACK from calling?
Stephen
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org