<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Try adding this:</p>
<p>&lt;action application="set" data="ignore_early_media=true"/&gt;</p>
<p>Looking at the log snippet you posted earlier, I suspect this *might* be the cause.</p>
<p>&nbsp;</p>
<div>&nbsp;</div>
<p>On 2014-05-26 12:57, Vincent Xia wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div>&nbsp;</div>
<div>the entire dialplan extension is something like:</div>
<div>&nbsp; &nbsp; &lt;extension name="simul_call" continue="false"&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &lt;condition field="destination_number" expression="^(\b1\d{3}\b)$"&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="bind_meta_app" data="1 ab s execute_extension::dx XML features" /&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="set" data="continue_on_fail=true" /&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="set" data="transfer_ringback=$${hold_music}" /&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action inline="true" application="lua" data="get_callee.lua" /&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &lt;/condition&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &lt;condition field="${is_call_allowed}" expression="allowed" continue="false"&gt;</div>
<div><span style="white-space: pre;"> </span>&lt;action application="bridge" data="${callee1},${callee2}" /&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="answer" /&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="sleep" data="1000" /&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &lt;/condition&gt;</div>
<div>&nbsp; &nbsp; &lt;/extension&gt;</div>
<div>(the variables callee1 and callee2 are assigned within get_callee.lua)</div>
<div>&nbsp;</div>
<div>it works fine with multiple linphone endpoints, but not with some others as sipdroid,</div>
<div>maybe in these scenarios the FS is acting differently against 180 and 183 response from the endpoints,</div>
<div>any ideas?</div>
<div>&nbsp;</div>
</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">2014-05-24 19:56 GMT+08:00 Francis <span>&lt;<a href="mailto:sms@icefire.qza.net.au">sms@icefire.qza.net.au</a>&gt;</span>:<br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">Hi Vincent, the action looks correct, what else is in this extension?<br /> Also, (this is a trap that one of my users created) are there any active<br /> forward or divert settings on the endpoints themselves?<br /><br /> - Francis<br />
<div>
<div class="h5"><br /> On 23/05/2014 8:34 PM, Vincent Xia wrote:<br /> &gt; i was trying to ring multiple endpoints (A calls B1 and B2<br /> &gt; simultaneously) by doing<br /> &gt; &lt;action application="bridge" data="user/${callee1},user/${callee2}"/&gt;<br /> &gt; i was expecting one callee hung up once the other answers the call,<br /> &gt; but what i was experiencing is one hung up once the other rings, the<br /> &gt; FS console log says:<br /> &gt;<br /> &gt; [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/<a href="mailto:sip%3Acallee1@1.2.3.4">sip:callee1@1.2.3.4</a>!<br /> &gt; [NOTICE] switch_ivr_originate.c:3448 Hangup sofia/callee2<br /> &gt; [CS_CONSUME_MEDIA] [LOSE_RACE]<br /> &gt;<br /> &gt; so how can i make the calls happen as expected?<br /> &gt;</div>
</div>
&gt; _________________________________________________________________________<br /> &gt; Professional FreeSWITCH Consulting Services:<br /> &gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br /> &gt; <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br /> &gt;<br /> &gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br /> &gt; <a href="http://www.cudatel.com">http://www.cudatel.com</a><br /> &gt;<br /> &gt; Official FreeSWITCH Sites<br /> &gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /> &gt; <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br /> &gt; <a href="http://www.cluecon.com">http://www.cluecon.com</a><br /> &gt;<br /> &gt; FreeSWITCH-users mailing list<br /> &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br /> &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br /> &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /> &gt; <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /><br /><br /> _________________________________________________________________________<br /> Professional FreeSWITCH Consulting Services:<br /><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br /><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br /><br /> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br /><a href="http://www.cudatel.com">http://www.cudatel.com</a><br /><br /> Official FreeSWITCH Sites<br /><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br /><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br /><a href="http://www.cluecon.com">http://www.cluecon.com</a><br /><br /> FreeSWITCH-users mailing list<br /><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br /><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br /> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br /><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></blockquote>
</div>
</div>
<br />
<pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body></html>