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).
APIs are generally executed from the console but can be used in the dialplan. It's a slightly different syntax though:
<action application="set" data="result=${api arg1 arg2 arg3}"/>
It doesn't have to be used with set, it can be used anywhere:
<condition field="${api arg1 arg2 arg3}" expression="^true$">
<action application="bridge" data="${api arg1 arg2 arg3}"/>
</condition>
Any module can register either type of command...
mod_dptools contains the generic dialplan apps
mod_commands contains the generic API commands
module-specific stuff will be registered by that module, e.g. the sofia API is registered by mod_sofia
-Steve
On Mon, Jul 25, 2011 at 12:42 PM, Steven Ayre <steveayre@gmail.com> wrote:For some reason I was failing to find that wiki page. I assumed that
>
> http://wiki.freeswitch.org/wiki/Mod_commands#uuid_setvar
the dialplan actions were limited to what is offered by mod_dptools.
Thank you very much :-)
--
Isaac Jurado
Internet Busines Solutions eConcept
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org