Verto, -32601 Invalid Method, Missing Method or Permission Denied
I'm getting closer to having Verto working. I now have the wss certs working, I can successfull authenticate against directory configuration fetched via xml_curl. Now after the client sends a "verto.invite" method to the server the server responds with a code -32601, "Invalid Method, Missing Method or Permission Denied". Since verto.js probably isn't outputting an invalid or missing method my assumptions is that for some reason the authenticated user does not have the requisite permissions to have the call move to the next step. I'm unsure what my next troubleshooting step should be. Regards Oivvio Full FreeSwitch log: http://termbin.com/1fap Full Chrome log: http://termbin.com/6igj
Well give it some permissions! :) Add this for the user in your directory: <param name="jsonrpc-allowed-methods" value="verto"/> /b On Mon, May 9, 2016 at 3:23 PM, Oivvio Polite <mylists@polite.se> wrote:
I'm getting closer to having Verto working. I now have the wss certs working, I can successfull authenticate against directory configuration fetched via xml_curl.
Now after the client sends a "verto.invite" method to the server the server responds with a code -32601, "Invalid Method, Missing Method or Permission Denied".
Since verto.js probably isn't outputting an invalid or missing method my assumptions is that for some reason the authenticated user does not have the requisite permissions to have the call move to the next step.
I'm unsure what my next troubleshooting step should be.
Regards Oivvio
Full FreeSwitch log: http://termbin.com/1fap
Full Chrome log: http://termbin.com/6igj
_________________________________________________________________________ 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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
On mån, maj 09, 2016 at 05:37:26 -0500, Brian West wrote:
Well give it some permissions! :)
Add this for the user in your directory:
<param name="jsonrpc-allowed-methods" value="verto"/>
Thanks. That seem to have removed one obstacle. Now I get another one: 2016-05-10 04:56:42.570568 [ERR] switch_core_session.c:511 Could not locate channel type rtc 2016-05-10 04:56:42.570568 [ALERT] mod_verto.c:604 WRITE 83.250.219.36:43370 [{ "jsonrpc": "2.0", "id": 4, "error": { "message": "Cannot create channel", "causeCode": 66, "cause": "CHAN_NOT_IMPLEMENTED", "message": "CALL ERROR", "code": -32002 } }] Oivvio
On tis, maj 10, 2016 at 07:00:17 +0200, Oivvio Polite wrote:
2016-05-10 04:56:42.570568 [ERR] switch_core_session.c:511 Could not locate channel type rtc 2016-05-10 04:56:42.570568 [ALERT] mod_verto.c:604 WRITE 83.250.219.36:43370 [{ "jsonrpc": "2.0", "id": 4, "error": { "message": "Cannot create channel", "causeCode": 66, "cause": "CHAN_NOT_IMPLEMENTED", "message": "CALL ERROR", "code": -32002 } }]
Oivvio
Turns out I didnt' have <load module="mod_rtc"/> in my modules.conf.xml
participants (2)
-
Brian West
-
Oivvio Polite