I have verto up and running (sort of), but I’m confused about whether authentication is working. Chrome’s console is showing ‘authentication required’ errors. Verto debug gives me the below (I have a context ‘vertobox’, which is working with a login to 201@vertobox from an IP phone; certs / DNS etc are working ok).
Is this looking good or not? I can’t see an active registration from the FS console, so it must be failing I guess?
2017-09-11 20:33:45.518527 [ALERT] mod_verto.c:1335 READ 10.1.1.3:63258 [{
"jsonrpc": "2.0",
"method": "login",
"params": {
"sessid": "3462fb9e-5849-9560-a451-1adec02d958d"
},
"id": 2
}]
2017-09-11 20:33:45.518527 [INFO] mod_verto.c:1232 10.1.1.3:63258 re-connecting session 3462fb9e-5849-9560-a451-1adec02d958d
2017-09-11 20:33:45.518527 [WARNING] mod_verto.c:1095 New connection for session 3462fb9e-5849-9560-a451-1adec02d958d dropping previous connection.
2017-09-11 20:33:45.518527 [ALERT] mod_verto.c:604 WRITE 10.1.1.3:63246 [{
"jsonrpc": "2.0",
"id": 5,
"method": "verto.punt",
"params": {
}
}]
2017-09-11 20:33:45.518527 [ALERT] mod_verto.c:604 WRITE 10.1.1.3:63258 [{
"jsonrpc": "2.0",
"id": 2,
"error": {
"code": -32000,
"message": "Authentication Required"
}
}]
2017-09-11 20:33:45.538529 [DEBUG] mod_verto.c:1804 10.1.1.3:63246 Dropping Connection
2017-09-11 20:33:45.538529 [INFO] mod_verto.c:1910 10.1.1.3:63246 Ending client thread.
2017-09-11 20:33:45.538529 [INFO] mod_verto.c:1917 10.1.1.3:63246 Thread ended
2017-09-11 20:33:45.538529 [ALERT] mod_verto.c:1335 READ 10.1.1.3:63258 [{
"jsonrpc": "2.0",
"method": "login",
"params": {
"login": “201@vertobox",
"passwd": "j4guar",
"loginParams": {
},
"userVariables": {
},
"sessid": "3462fb9e-5849-9560-a451-1adec02d958d"
},
"id": 3
}]
2017-09-11 20:33:45.538529 [ALERT] mod_verto.c:604 WRITE 10.1.1.3:63258 [{
"jsonrpc": "2.0",
"id": 3,
"result": {
"message": "logged in",
"sessid": "3462fb9e-5849-9560-a451-1adec02d958d"
}
}]
Verto communicator is a example implementation on what can be done with Verto.
Check our tutorial to understand how to build a minimum app:
https://evoluxbr.github.io/verto-docs/
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.orghttp://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