[Freeswitch-users] javascript session.execute

Michael Collins msc at freeswitch.org
Wed Jun 17 11:26:09 PDT 2009


Another way to view it:
FSAPI or "APIs" are done at the CLI. (API at the CLI)
dptools or dial plan applications (apps) are done inside the dialplan

So if you have something like "api.execute" then you would use that to
execute an FSAPI, just as if you'd typed it at the CLI.
On the other hand if you have a session object that's like having a dialplan
in your script, so you do dialplan type stuff with a session object.

Hope that helps...
-MC

On Wed, Jun 17, 2009 at 12:29 PM, Brian West <brian at freeswitch.org> wrote:

> Thats one way to put it ;)
>
> /b
>
> On Jun 17, 2009, at 12:26 PM, Diego Viola wrote:
>
> > Applications are the ones in mod_dptools and FSAPI are mod_commands
> > API right?
>
>
> _______________________________________________
> 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/20090617/9148f268/attachment-0002.html 


More information about the FreeSWITCH-users mailing list