I’ve never had to do exactly that, but maybe you can use api_on_media to transfer to another extension where you let it be answered and  use bridge_pre_execute_bleg_app to drop the answer and send back a 503 if I’m the call wasn’t transferred.

There might be a simpler way, tho.


On Sat, 7 Dec 2019 at 22:27, Abel Monzon <abelcubano@gmail.com> wrote:
Hi.


I was trying to get a solution for this but I can't find any online.


When FreeSWITCH received an incoming call it send the call trought a provider, but my provider sometimes send OK(200) without 183(Session Progress) and the call is answered.

I need from FreeSWITCH to detect this behaviour and send 503 instead of sending OK(200) to the incoming call.


This possible?

Thank you all for any recommendations

Abel.
_________________________________________________________________________

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
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337