<div dir="ltr"><div><br></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 class="" 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><br></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><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-24 19:56 GMT+08:00 Francis <span dir="ltr"><<a href="mailto:sms@icefire.qza.net.au" target="_blank">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>
><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" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</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">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</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">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>