The way to do that is not use any params. Originate returns as soon as media is possible. return_ring_ready is basically a hack. If you want to do overlapping things, use something like ESL. On Sat, Apr 22, 2017 at 1:28 PM Oleg Stolyar <olegstolyar@gmail.com> wrote:
Hi guys,
I use originate with multiple providers. In some cases I get 183 but in others I only get 180 without SDP. On originate return I execute a dialplan.
I want to use return_ring_ready, so the dialplan starts early and I can process the call.
I am looking for a way to check in the dialplan if the media is ready.
If it is, I will process the call, if it's not, I will use execute_on_media to process the call.
Is there a way to do that in the dialplan? _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA