[Freeswitch-users] Conference API

Abaci B abaci64 at gmail.com
Fri Aug 19 17:18:34 MSD 2016


try
        ret = api:execute("conference", "list")
or
        ret = api:executeString("conference list")


On Fri, Aug 19, 2016 at 9:12 AM, Mirko Brankovic <mirkobrankovic at gmail.com>
wrote:

> Hi,
>
> I'm trying to set up verto vhost to execute lua scrypt on API calls.
> api = freeswitch.API()
>
> That is all working when I use uuid_dump or all uuid commands like this:
>
>         ret = api:execute("uuid_dump", uuid)
>         ret = api:execute("show", "channels")
>
> But if I try to execute conference APIs like:
>         ret = api:execute("conference list")
> i get invalid command response (INVALID COMMAND!)
>
> Is there some security issue where I need to allow verto to access
> Conference API, or am I doing something wrong with this?
>
> --
> Regards,
> Mirko
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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/20160819/88433320/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list