since you are controlling the call process, why not just use uuid_park?<div><br></div><div><a href="http://wiki.freeswitch.org/wiki/Mod_commands#uuid_park">http://wiki.freeswitch.org/wiki/Mod_commands#uuid_park</a><br><br>
<div class="gmail_quote">On Wed, Mar 24, 2010 at 8:14 AM, Maciej Aniserowicz <span dir="ltr"><<a href="mailto:maciej.aniserowicz@gmail.com">maciej.aniserowicz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hello, it's me again,<br>
<br>
I noticed then these steps:<br>
<br>
1) dial 2 calls<br>
<br>
bgapi originate {ignore_early_media=true}sofia/gateway/agent_gateway/2500<br>
&park()<br>
bgapi originate {ignore_early_media=true}sofia/gateway/g2/2501 &park()<br>
<br>
2) bridge them<br>
<br>
bgapi uuid_transfer f0c0db16-f00f-4b0b-8a00-d3b108d121b2<br>
intercept:a85fd47e-051f-42ea-987e-f4e090c7ae78,park inline<br>
<br>
3) put the 2nd call on hold:<br>
<br>
uuid_hold a85fd47e-051f-42ea-987e-f4e090c7ae78<br>
<br>
4) hangup the 2nd call<br>
<br>
uuid_kill a85fd47e-051f-42ea-987e-f4e090c7ae78<br>
<br>
<br>
<br>
cause the 1st call to be hanged up as well.<br>
<br>
I want it to be parked in this situation.<br>
<br>
When I set the [park_after_bridge=true] var in dialstring, it works just<br>
like I want it to.<br>
Is setting this variable the proper way of accomplishing it - keeping<br>
channel alive when the other leg put on hold hangs up?<br>
<br>
Thanks,<br>
Maciej Aniserowicz<br>
--<br>
View this message in context: <a href="http://n2.nabble.com/When-leg-on-hold-hangs-up-another-leg-is-hanged-up-too-tp4790809p4790809.html" target="_blank">http://n2.nabble.com/When-leg-on-hold-hangs-up-another-leg-is-hanged-up-too-tp4790809p4790809.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<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><br clear="all"><br>-- <br>-Rupa<br>
</div>