Hi list. Reading "Verto Not just for call signaling" [1] I see you can send API commands over verto channels, I tested the included example ("command": "status") and it works. However I cannot make it work for any other command, FS always replies with {"code": -32602, "message": "Permission Denied"}. How can I enable other commands, even with arguments? Thank you, Carlos [1] https://freeswitch.org/verto-not-just-for-call-signaling/
check out user directory params: jsonrpc-allowed-jsapi jsonrpc-allowed-fsapi they go the same place as jsonrpc-allowed-event-channels"
On Apr 14, 2016, at 12:24 PM, Carlos González Florido <carlosj.gf@gmail.com> wrote:
Hi list.
Reading "Verto Not just for call signaling" [1] I see you can send API commands over verto channels, I tested the included example ("command": "status") and it works. However I cannot make it work for any other command, FS always replies with {"code": -32602, "message": "Permission Denied"}.
How can I enable other commands, even with arguments?
Thank you, Carlos
[1] https://freeswitch.org/verto-not-just-for-call-signaling/ <https://freeswitch.org/verto-not-just-for-call-signaling/> _________________________________________________________________________ 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
I tried that without success... Could you send me an example of use of that variables (are they boolean? must list the methods to use?) and the json request for a command with arguments? (Like 'show channels' or any other...). Also, I think that since we are using <param name="blind-reg" value="true"> in verto's config it seems it is not hitting the directory at all... is that correct? Thank you, Carlos
participants (2)
-
Carlos González Florido
-
Michael Jerris