There are 2 types of commands... dialplan apps (which execute on the current channel) and API commands (which may or may not involve a channel, when they do they always need its UUID).<br><br>APIs are generally executed from the console but can be used in the dialplan. It's a slightly different syntax though:<br>
<action application="set" data="result=${api arg1 arg2 arg3}"/><br><br>It doesn't have to be used with set, it can be used anywhere:<br><condition field="${api arg1 arg2 arg3}" expression="^true$"><br>
<action application="bridge" data="${api arg1 arg2 arg3}"/><br></condition><br><br>Any module can register either type of command...<br> mod_dptools contains the generic dialplan apps<br>
mod_commands contains the generic API commands<br> module-specific stuff will be registered by that module, e.g. the sofia API is registered by mod_sofia<br><br>-Steve<br><br><br><div class="gmail_quote">On 25 July 2011 12:00, Isaac Jurado <span dir="ltr"><<a href="mailto:ijurado@econcept.es">ijurado@econcept.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, Jul 25, 2011 at 12:42 PM, Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>> wrote:<br>
><br>
> <a href="http://wiki.freeswitch.org/wiki/Mod_commands#uuid_setvar" target="_blank">http://wiki.freeswitch.org/wiki/Mod_commands#uuid_setvar</a><br>
<br>
</div>For some reason I was failing to find that wiki page. I assumed that<br>
the dialplan actions were limited to what is offered by mod_dptools.<br>
<br>
Thank you very much :-)<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Isaac Jurado<br>
Internet Busines Solutions eConcept<br>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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>
</div></div></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>