Does this mean there is no way to send the same early media stream to multiple forked calls with freeswitch?
From: <freeswitch-users-bounces@
lists.freeswitch.org > on behalf of Anthony Minessale <anthony.minessale@gmail.com>
Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org >
Date: Thursday, February 9, 2017 at 10:42 AM
To: FreeSWITCH Users Help <freeswitch-users@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@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@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 ♬
____________________________________________________________ _____________
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