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
oh my mistake, this one works: ret = api:execute("conference", "list") On Fri, Aug 19, 2016 at 3:12 PM, 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
-- Regards, Mirko
Not sure but list in our scripts is for listing all users in a specific conference room. http://blabla.com:8080/webapi/conference?ConferenceName%20xml_list On Fri, Aug 19, 2016 at 8: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
-- Sincerely, Don Hawkins CEO Hawkins Enterprise Group LLC http://hawkinsegroup.com Zello PTT <http://zello.com>: push2don P: 469-214-5044
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
Yes comma separated. Thanks On Aug 19, 2016 3:19 PM, "Abaci B" <abaci64@gmail.com> wrote:
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
_________________________________________________________________________ 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
participants (3)
-
Abaci B
-
Don Hawkins
-
Mirko Brankovic