[Freeswitch-users] strange behavior of ignore_early_media
Brandon Johnson
bjohnson at control4.com
Thu Feb 9 21:02:15 MSK 2017
Does this mean there is no way to send the same early media stream to multiple forked calls with freeswitch?
From: <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Anthony Minessale <anthony.minessale at gmail.com>
Reply-To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: Thursday, February 9, 2017 at 10:42 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] strange behavior of ignore_early_media
This is not strange behavior. This is how it was designed.
You can set bridge_early_media=true This would mix the audio so you would hear the combined early media of all the calls. The video will not work in this mode.
On Thu, Feb 9, 2017 at 11:20 AM, Brandon Johnson <bjohnson at control4.com<mailto:bjohnson at control4.com>> wrote:
My freeswitch application is using early media to send a video preview from the caller to the callee before answering. This works, if I am not forking the call to multiple users. If I fork the call, only the first endpoint to receive the early media gets to answer, and the other calls are cancelled (this is expected, according to the documentation). If I set ignore_early_media to true in the dialplan, then the forking issue goes away but the early media stops working.
I did some packet captures with ignore_early_media turned on and off, and the signaling doesn’t change, so I’m sure it’s not a problem on the endpoints side of things. Freeswitch just doesn’t send the RTP when it is set to true.
Is there some trick I am missing, or a workaround I can try? Here’s my dialplan, it’s very straightforward:
<extension name="C4 All Group">
<condition field="destination_number" expression="^All$">
<action application="set" data="ignore_early_media=true"/>
<action application="bridge" data="user/000FFF0B001A,user/000FFF803637"/>
</condition>
</extension>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto: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<mailto: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<http://irc.freenode.net> #freeswitch ☞ http://freeswitch.org/g+
ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org<mailto:sip%3A888 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/20170209/f68ae55a/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list