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


On Fri, Aug 19, 2016 at 9:12 AM, Mirko Brankovic <mirkobrankovic@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org