Freeswitch loacally acks 200 in bypass media scenarios
Hello, In bypass-media mode freeswitch locally acks the 200 ok (SDP), that leads to some Race condition when the party that answered the 200 sends a quick reinvite after Just after the Ack. I tried on 1.10.1 and 1.10.5, with and without late-negociation, but couldn’t figure how to avoid this. Has one of you experienced it or have any idea about this ? SBC FREESWITCH PBX +--------- ----------+--------- ----------+ | INVITE (SDP) | | | --------------------------> | | | 100 Trying | | | <-------------------------- | | | | INVITE (SDP) | | | --------------------------> | | | 100 Trying | | | <-------------------------- | | | 180 Ringing | | | <-------------------------- | | 180 Ringing | | | <-------------------------- | | | | 200 OK (SDP) | | | <-------------------------- | | | ACK | | | --------------------------> | | 200 OK (SDP) | | | <-------------------------- | | | | INVITE (SDP) | | | <-------------------------- | | | 100 | | | --------------------------> | | INVITE (SDP) | | | <-------------------------- | | | 100 | | | --------------------------> | | | 491 | | | --------------------------> | | | | 491 | | | --------------------------> | Regards, David
What do you mean 'locally acks'? On Thu, Mar 4, 2021 at 1:25 PM David VILLAUME <david.villaume@sewan.fr> wrote:
Hello,
In bypass-media mode freeswitch locally acks the 200 ok (SDP), that leads to some Race condition when the party that answered the 200 sends a quick reinvite after Just after the Ack.
I tried on 1.10.1 and 1.10.5, with and without late-negociation, but couldn’t figure how to avoid this.
Has one of you experienced it or have any idea about this ?
SBC FREESWITCH PBX
+--------- ----------+--------- ----------+
| INVITE (SDP) | |
| --------------------------> | |
| 100 Trying | |
| <-------------------------- | |
| | INVITE (SDP) |
| | --------------------------> |
| | 100 Trying |
| | <-------------------------- |
| | 180 Ringing |
| | <-------------------------- |
| 180 Ringing | |
| <-------------------------- | |
| | 200 OK (SDP) |
| | <-------------------------- |
| | ACK |
| | --------------------------> |
| 200 OK (SDP) | |
| <-------------------------- | |
| | INVITE (SDP) |
| | <-------------------------- |
| | 100 |
| | --------------------------> |
| INVITE (SDP) | |
| <-------------------------- | |
| 100 | |
| --------------------------> | |
| 491 | |
| --------------------------> | |
| | 491 |
| | --------------------------> |
Regards,
David _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
I mean that freeswitch sends the Ack on the Bleg, before propagating to the 200 to the A leg. I would imagine in a bypass media scenario the Ack would handle the 200 with SDP as a proxy, am I wrong about it ? Regards, David From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Brian West Sent: Thursday, March 4, 2021 8:39 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Freeswitch loacally acks 200 in bypass media scenarios What do you mean 'locally acks'? On Thu, Mar 4, 2021 at 1:25 PM David VILLAUME <david.villaume@sewan.fr<mailto:david.villaume@sewan.fr>> wrote: Hello, In bypass-media mode freeswitch locally acks the 200 ok (SDP), that leads to some Race condition when the party that answered the 200 sends a quick reinvite after Just after the Ack. I tried on 1.10.1 and 1.10.5, with and without late-negociation, but couldn’t figure how to avoid this. Has one of you experienced it or have any idea about this ? SBC FREESWITCH PBX +--------- ----------+--------- ----------+ | INVITE (SDP) | | | --------------------------> | | | 100 Trying | | | <-------------------------- | | | | INVITE (SDP) | | | --------------------------> | | | 100 Trying | | | <-------------------------- | | | 180 Ringing | | | <-------------------------- | | 180 Ringing | | | <-------------------------- | | | | 200 OK (SDP) | | | <-------------------------- | | | ACK | | | --------------------------> | | 200 OK (SDP) | | | <-------------------------- | | | | INVITE (SDP) | | | <-------------------------- | | | 100 | | | --------------------------> | | INVITE (SDP) | | | <-------------------------- | | | 100 | | | --------------------------> | | | 491 | | | --------------------------> | | | | 491 | | | --------------------------> | Regards, David _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales@freeswitch.com<mailto:sales@freeswitch.com> https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com<mailto:sales@freeswitch.com> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com<mailto:brian@freeswitch.com> Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/> [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg]<https://www.facebook.com/freeswitch>[https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa]<https://twitter.com/freeswitch>
That's because we're not a proxy. On Fri, Mar 5, 2021 at 1:26 PM David VILLAUME <david.villaume@sewan.fr> wrote:
I mean that freeswitch sends the Ack on the Bleg, before propagating to the 200 to the A leg.
I would imagine in a bypass media scenario the Ack would handle the 200 with SDP as a proxy, am I wrong about it ?
Regards,
David
*From:* FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> *On Behalf Of *Brian West *Sent:* Thursday, March 4, 2021 8:39 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Freeswitch loacally acks 200 in bypass media scenarios
What do you mean 'locally acks'?
On Thu, Mar 4, 2021 at 1:25 PM David VILLAUME <david.villaume@sewan.fr> wrote:
Hello,
In bypass-media mode freeswitch locally acks the 200 ok (SDP), that leads to some Race condition when the party that answered the 200 sends a quick reinvite after Just after the Ack.
I tried on 1.10.1 and 1.10.5, with and without late-negociation, but couldn’t figure how to avoid this.
Has one of you experienced it or have any idea about this ?
SBC FREESWITCH PBX
+--------- ----------+--------- ----------+
| INVITE (SDP) | |
| --------------------------> | |
| 100 Trying | |
| <-------------------------- | |
| | INVITE (SDP) |
| | --------------------------> |
| | 100 Trying |
| | <-------------------------- |
| | 180 Ringing |
| | <-------------------------- |
| 180 Ringing | |
| <-------------------------- | |
| | 200 OK (SDP) |
| | <-------------------------- |
| | ACK |
| | --------------------------> |
| 200 OK (SDP) | |
| <-------------------------- | |
| | INVITE (SDP) |
| | <-------------------------- |
| | 100 |
| | --------------------------> |
| INVITE (SDP) | |
| <-------------------------- | |
| 100 | |
| --------------------------> | |
| 491 | |
| --------------------------> | |
| | 491 |
| | --------------------------> |
Regards,
David
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
--
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
<https://www.facebook.com/freeswitch> <https://twitter.com/freeswitch> _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Brian West | Co-founder and Developer Need Commercial support? email sales@freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: brian@freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> [image: https://www.facebook.com/signalwireinc?src=email] <https://www.facebook.com/freeswitch> [image: https://twitter.com/freeswitch] <https://twitter.com/freeswitch>
participants (2)
-
Brian West
-
David VILLAUME