or you can set a common var like foo=bar on all the chans and do<br><br>hupall normal_clearing foo bar<br><br><br><div class="gmail_quote">On Wed, Feb 10, 2010 at 9:16 AM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com">mike@jerris.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">you can api hangup hook to call<br>
<br>
lua multi_kill.lua uuid1 uuid2 uuid….<br>
<br>
and then write the trivial lua script for that.<br>
<br>
Mike<br>
<div><div></div><div class="h5"><br>
On Feb 10, 2010, at 6:07 AM, lakshmanan ganapathy wrote:<br>
<br>
> Hi all,<br>
><br>
> My situation is<br>
> A called to 1005 -- Which executes an ESL program.<br>
> Now from the program I will made the parallel call using "api originate [origination_uuid=uuid1]user/1006,[origination_uuid2]user/1001 &park()".<br>
> UUID's are obtained from create_uuid.<br>
><br>
> I'll then wait for the api to return, to check whether the call is answered or rejected by the other end.<br>
> But while I'm waiting, if A hangup the call, I just want to kill the calls that are originated by my program.<br>
> So I taught of using api_hang_up_hook and I set that variable to uuid_kill uuid1 uuid2.<br>
> But it only killed the uuid1.<br>
><br>
> Is there any other ways to kill multiple uuid's??<br>
> please help?<br>
<br>
<br>
</div></div><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>