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/Looking to get into Verto, in particular handling voice calls with JS. Going through the source, I’m wondering:
1. What’s the difference between the Verto source and the Verto Communicator source?
2. What’s the best way to start from the bottom up - by this I mean that it seems hugely comprehensive, but rather than just use grunt to set it all up, I’d like to start simply with the basics… is there for instance a list of the bare minimum scripts / file structure to use? Apologies if this is a silly question, I’m still relatively new to JS and I don’t want to blow my mind in one go ;)
Rick