<!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><action application="set" data="ignore_early_media=true"/></p>
<p>Looking at the log snippet you posted earlier, I suspect this *might* be the cause.</p>
<p> </p>
<div> </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> </div>
<div>the entire dialplan extension is something like:</div>
<div> <extension name="simul_call" continue="false"></div>
<div> <condition field="destination_number" expression="^(\b1\d{3}\b)$"></div>
<div> <action application="bind_meta_app" data="1 ab s execute_extension::dx XML features" /></div>
<div> <action application="set" data="continue_on_fail=true" /></div>
<div> <action application="set" data="transfer_ringback=$${hold_music}" /></div>
<div> <action inline="true" application="lua" data="get_callee.lua" /></div>
<div> </condition></div>
<div> <condition field="${is_call_allowed}" expression="allowed" continue="false"></div>
<div><span style="white-space: pre;"> </span><action application="bridge" data="${callee1},${callee2}" /></div>
<div> <action application="answer" /></div>
<div> <action application="sleep" data="1000" /></div>
<div> </condition></div>
<div> </extension></div>
<div>(the variables callee1 and callee2 are assigned within get_callee.lua)</div>
<div> </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> </div>
</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">2014-05-24 19:56 GMT+08:00 Francis <span><<a href="mailto:sms@icefire.qza.net.au">sms@icefire.qza.net.au</a>></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 /> > i was trying to ring multiple endpoints (A calls B1 and B2<br /> > simultaneously) by doing<br /> > <action application="bridge" data="user/${callee1},user/${callee2}"/><br /> > i was expecting one callee hung up once the other answers the call,<br /> > but what i was experiencing is one hung up once the other rings, the<br /> > FS console log says:<br /> ><br /> > [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 /> > [NOTICE] switch_ivr_originate.c:3448 Hangup sofia/callee2<br /> > [CS_CONSUME_MEDIA] [LOSE_RACE]<br /> ><br /> > so how can i make the calls happen as expected?<br /> ></div>
</div>
> _________________________________________________________________________<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><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>