[Freeswitch-users] Check if media is ready on originate response

Anthony Minessale anthony.minessale at gmail.com
Sun Apr 23 23:59:54 MSD 2017


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 at 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 at 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 at 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 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170423/4214ede1/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list