<div dir="ltr">Hi,<div><br></div><div>Thanks. Its working fine. </div><div><br></div><div><action application="bind_meta_app" data="# a b execute_extension::${uuid} XML foo"/><br></div><div><br></div>
<div><context name="foo"></div><div> <extension name="hangup b leg"></div><div> <condition field="destination_number" expression="^(.*)$"></div><div><span class="" style="white-space:pre">        </span> <action application="log" data="INFO Hanging up B leg uuid of ${bridge_uuid}"/></div>
<div><span class="" style="white-space:pre">        </span> <action application="set" data="res=${uuid_kill(${bridge_uuid})}"/></div><div><span class="" style="white-space:pre">        </span> </condition></div>
<div> </extension></div><div></context> </div><div><br></div><div><br><div class="gmail_extra"><br clear="all"><div><br></div>
<br><br><div class="gmail_quote">On Wed, Jul 9, 2014 at 9:40 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div class=""><br><div class="gmail_extra"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><br><div>
2014-07-09 03:22:17.928601 [ERR] switch_core_session.c:2535 Invalid Application uuid_kill</div><br></div><br></blockquote></div><br></div></div><div class="gmail_extra">uuid_kill is an API command, not a dialplan application. It might be cleaner for you to use the execute_extension dialplan app to execute a simple dialplan extension that uses the set app to execute the API per this wiki entry:<br>
<br><a href="https://confluence.freeswit.ch/display/FREESWITCH/API+Commands" target="_blank">https://confluence.freeswit.ch/display/FREESWITCH/API+Commands</a><br></div><div class="gmail_extra">(see "from the dialplan" section)<br>
<br></div><div class="gmail_extra">Another advantage to using the execute_extension app in your bind_meta_app call is that you can have other things occur like spitting out log info.<br><br></div><div class="gmail_extra">
<action application="bind_meta_app" data="# a b execute_extension::${uuid_of_b_leg} XML foo"/></div><div class="gmail_extra"><br></div><div class="gmail_extra"><context name="foo"><br>
</div><div class="gmail_extra"> <extension name="hangup b leg"><br></div><div class="gmail_extra"> <condition field="destination_number" expression="^(.*)$"><br></div><div class="gmail_extra">
<action application="log" data="INFO Hanging up B leg uuid of $1"/><br></div><div class="gmail_extra"> <action application="set" data="res=${uuid_kill($1)}"/><br>
</div><div class="gmail_extra"> </condition><br></div><div class="gmail_extra"> </extension><br></div><div class="gmail_extra"></context><br><br></div><div class="gmail_extra">Please note that the <a href="https://wiki.freeswitch.org/wiki/Reporting_Bugs#Standard_Disclaimer" target="_blank">standard disclaimer</a> applies to the information I've presented here.<span class=""><font color="#888888"><br>
</font></span></div><span class=""><font color="#888888"><div class="gmail_extra">-MC<br></div></font></span></div>
<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>
<br></blockquote></div><br></div></div></div>