[Freeswitch-users] Altering arbitrary channels

Steven Ayre steveayre at gmail.com
Mon Jul 25 16:30:18 MSD 2011


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 25 July 2011 12:00, Isaac Jurado <ijurado at econcept.es> wrote:

> On Mon, Jul 25, 2011 at 12:42 PM, Steven Ayre <steveayre at gmail.com> wrote:
> >
> > http://wiki.freeswitch.org/wiki/Mod_commands#uuid_setvar
>
> For some reason I was failing to find that wiki page.  I assumed that
> 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110725/d1bd2f39/attachment.html 


More information about the FreeSWITCH-users mailing list