<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div>It sounds like you are saying that the part where the call is forked, and the part where early media is bridged, exists in two different states of the call, so there would be no way to send early media to all legs of a forked call. </div>
<div>That makes sense- thanks for the clarification. <br>
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org> on behalf of Anthony Minessale <anthony.minessale@gmail.com><br>
<b>Sent:</b> Thursday, February 9, 2017 11:09:45 AM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] strange behavior of ignore_early_media</font>
<div> </div>
</div>
<div>
<div dir="ltr">I think what you are describing is what happens when one leg answers with early media, FreeSWITCH ends the originate process and bridges the call in early media.
<div>As soon as there a forked call exists, this cannot happen because an outgoing session request does not complete until there is exactly one leg with working media.</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 9, 2017 at 12:05 PM, Anthony Minessale <span dir="ltr">
<<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">In a forked call, each forked call has its own early media stream. So I don't understand what you mean about sending the same early media stream to forked calls?
<div><br>
</div>
</div>
<div class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 9, 2017 at 12:02 PM, Brandon Johnson <span dir="ltr">
<<a href="mailto:bjohnson@control4.com" target="_blank">bjohnson@control4.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div bgcolor="white" lang="EN-US">
<div class="m_2425442705537247467m_2884502160064442417WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri">Does this mean there is no way to send the same early media stream to multiple forked calls with freeswitch?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri"><u></u> <u></u></span></p>
<div style="border:none; border-top:solid #b5c4df 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri; color:black">From: </span>
</b><span style="font-family:Calibri; color:black"><<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@list<wbr>s.freeswitch.org</a>> on behalf of Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>><br>
<b>Reply-To: </b>FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freesw<wbr>itch.org</a>><br>
<b>Date: </b>Thursday, February 9, 2017 at 10:42 AM<br>
<b>To: </b>FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freesw<wbr>itch.org</a>><br>
<b>Subject: </b>Re: [Freeswitch-users] strange behavior of ignore_early_media<u></u><u></u></span></p>
</div>
<div>
<div class="m_2425442705537247467h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">This is not strange behavior. This is how it was designed. <u>
</u><u></u></p>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Feb 9, 2017 at 11:20 AM, Brandon Johnson <<a href="mailto:bjohnson@control4.com" target="_blank">bjohnson@control4.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none; border-left:solid #cccccc 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">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.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Is there some trick I am missing, or a workaround I can try? Here¡¯s my dialplan, it¡¯s very straightforward:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <extension name="C4 All Group"></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <condition field="destination_number" expression="^All$"></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <action application="set" data="ignore_early_media=true"<wbr>/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <action application="bridge" data="user/000FFF0B001A,user/0<wbr>00FFF803637"/></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </condition></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </extension></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Anthony Minessale II <span style="font-family:"MS Mincho"">
¢Ý</span> @anthmfs <span style="font-family:"MS Mincho"">¢Ý</span> @FreeSWITCH <span style="font-family:"MS Mincho"">¢Ý</span>
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:"MS Mincho"">¢Ñ</span> <a href="http://freeswitch.org/" target="_blank">
http://freeswitch.org/</a> <span style="font-family:"MS Mincho"">¢Ñ</span> <a href="http://cluecon.com/" target="_blank">
http://cluecon.com/</a> <span style="font-family:"MS Mincho"">¢Ñ</span> <a href="http://twitter.com/FreeSWITCH" target="_blank">
http://twitter.com/FreeSWITCH</a><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"MS Mincho"">¢Ñ</span>
<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch <span style="font-family:"MS Mincho"">¢Ñ</span>
<u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">ClueCon Weekly Development Call <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"MS Mincho"">¢Ï</span> <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch<wbr>.org</a> <span style="font-family:"MS Mincho"">¢Ï</span>
<a href="tel:(919)%20386-9900" value="+19193869900" target="_blank">+19193869900</a> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><a href="https://www.youtube.com/watch?v=9XXgW34t40s" target="_blank"><span style="font-size:9.5pt; color:#1155cc">https://www.youtube.com/watch?<wbr>v=9XXgW34t40s</span></a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?<wbr>v=NLaDpGQuZDA</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_2425442705537247467gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Anthony Minessale II ¢Ý @anthmfs ¢Ý @FreeSWITCH ¢Ý
<div><br>
<div>¢Ñ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ¢Ñ
<a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ¢Ñ <a href="http://twitter.com/FreeSWITCH" target="_blank">
http://twitter.com/FreeSWITCH</a></div>
<div>
<div>¢Ñ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ¢Ñ
<u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br>
<br>
</div>
<div>ClueCon Weekly Development Call <br>
</div>
<div>¢Ï <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.<wbr>freeswitch.org</a> ¢Ï
<a href="tel:(919)%20386-9900" value="+19193869900" target="_blank">+19193869900</a> </div>
<div><br>
</div>
</div>
</div>
<div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" target="_blank" style="color:rgb(17,85,204); font-size:12.8000001907349px">https://www.youtube.com/watch?<wbr>v=9XXgW34t40s</a></div>
<div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?<wbr>v=NLaDpGQuZDA</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Anthony Minessale II ¢Ý @anthmfs ¢Ý @FreeSWITCH ¢Ý
<div><br>
<div>¢Ñ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ¢Ñ
<a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ¢Ñ <a href="http://twitter.com/FreeSWITCH" target="_blank">
http://twitter.com/FreeSWITCH</a></div>
<div>
<div>¢Ñ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ¢Ñ
<u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br>
<br>
</div>
<div>ClueCon Weekly Development Call <br>
</div>
<div>¢Ï <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ¢Ï +19193869900 </div>
<div><br>
</div>
</div>
</div>
<div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" target="_blank" style="color:rgb(17,85,204); font-size:12.8000001907349px">https://www.youtube.com/watch?v=9XXgW34t40s</a></div>
<div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>