<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.&nbsp;</div>
<div>That makes sense- thanks for the clarification.&nbsp;<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 &lt;freeswitch-users-bounces@lists.freeswitch.org&gt; on behalf of Anthony Minessale &lt;anthony.minessale@gmail.com&gt;<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>&nbsp;</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">
&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</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.&nbsp; 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">
&lt;<a href="mailto:bjohnson@control4.com" target="_blank">bjohnson@control4.com</a>&gt;</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>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:Calibri"><u></u>&nbsp;<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">&lt;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@list<wbr>s.freeswitch.org</a>&gt; on behalf of Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;<br>
<b>Reply-To: </b>FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freesw<wbr>itch.org</a>&gt;<br>
<b>Date: </b>Thursday, February 9, 2017 at 10:42 AM<br>
<b>To: </b>FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freesw<wbr>itch.org</a>&gt;<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>&nbsp;<u></u></p>
</div>
<div>
<p class="MsoNormal">This is not strange behavior.&nbsp; This is how it was designed. <u>
</u><u></u></p>
<div>
<p class="MsoNormal">You can set bridge_early_media=true &nbsp; This would mix the audio so you would hear the combined early media of all the calls.&nbsp; The video will not work in this mode.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<p class="MsoNormal">On Thu, Feb 9, 2017 at 11:20 AM, Brandon Johnson &lt;<a href="mailto:bjohnson@control4.com" target="_blank">bjohnson@control4.com</a>&gt; 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).&nbsp;&nbsp;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.&nbsp;&nbsp;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">&nbsp;</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?&nbsp;&nbsp;Here¡¯s my dialplan, it¡¯s very straightforward:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp; &nbsp; &lt;extension name=&quot;C4 All Group&quot;&gt;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp; &nbsp; &nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^All$&quot;&gt;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action application=&quot;set&quot; data=&quot;ignore_early_media=true&quot;<wbr>/&gt;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application=&quot;bridge&quot; data=&quot;user/000FFF0B001A,user/0<wbr>00FFF803637&quot;/&gt;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp; &nbsp; &nbsp; &lt;/condition&gt;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp; &nbsp; &lt;/extension&gt;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp;</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt">&nbsp;</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>&nbsp;<u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Anthony Minessale II &nbsp; &nbsp; &nbsp; <span style="font-family:&quot;MS Mincho&quot;">
¢Ý</span> @anthmfs&nbsp;&nbsp;<span style="font-family:&quot;MS Mincho&quot;">¢Ý</span> @FreeSWITCH&nbsp;&nbsp;<span style="font-family:&quot;MS Mincho&quot;">¢Ý</span>
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:&quot;MS Mincho&quot;">¢Ñ</span> <a href="http://freeswitch.org/" target="_blank">
http://freeswitch.org/</a> &nbsp;<span style="font-family:&quot;MS Mincho&quot;">¢Ñ</span> <a href="http://cluecon.com/" target="_blank">
http://cluecon.com/</a> &nbsp;<span style="font-family:&quot;MS Mincho&quot;">¢Ñ</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:&quot;MS Mincho&quot;">¢Ñ</span>
<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch&nbsp;<span style="font-family:&quot;MS Mincho&quot;">¢Ñ</span>
<u><a href="http://freeswitch.org/g&#43;" target="_blank">http://freeswitch.org/g&#43;</a></u><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">ClueCon Weekly Development Call&nbsp;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:&quot;MS Mincho&quot;">¢Ï</span>&nbsp;<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch<wbr>.org</a> &nbsp;<span style="font-family:&quot;MS Mincho&quot;">¢Ï</span>
<a href="tel:(919)%20386-9900" value="&#43;19193869900" target="_blank">&#43;19193869900</a>&nbsp;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u>&nbsp;<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 &nbsp; &nbsp; &nbsp; ¢Ý @anthmfs&nbsp;&nbsp;¢Ý @FreeSWITCH&nbsp;&nbsp;¢Ý
<div><br>
<div>¢Ñ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> &nbsp;¢Ñ
<a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> &nbsp;¢Ñ <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&nbsp;¢Ñ
<u><a href="http://freeswitch.org/g&#43;" target="_blank">http://freeswitch.org/g&#43;</a></u><br>
<br>
</div>
<div>ClueCon Weekly Development Call&nbsp;<br>
</div>
<div>¢Ï&nbsp;<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.<wbr>freeswitch.org</a> &nbsp;¢Ï
<a href="tel:(919)%20386-9900" value="&#43;19193869900" target="_blank">&#43;19193869900</a>&nbsp;</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 &nbsp; &nbsp; &nbsp; ¢Ý @anthmfs&nbsp;&nbsp;¢Ý @FreeSWITCH&nbsp;&nbsp;¢Ý
<div><br>
<div>¢Ñ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> &nbsp;¢Ñ
<a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> &nbsp;¢Ñ <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&nbsp;¢Ñ
<u><a href="http://freeswitch.org/g&#43;" target="_blank">http://freeswitch.org/g&#43;</a></u><br>
<br>
</div>
<div>ClueCon Weekly Development Call&nbsp;<br>
</div>
<div>¢Ï&nbsp;<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> &nbsp;¢Ï &#43;19193869900&nbsp;</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>