[Freeswitch-users] Verto

Rick Jarvis rick at magicmail.mooo.com
Mon Sep 11 23:22:49 UTC 2017


Ok, now logged back on with the same verto code, and same debug output as below, but ‘show registrations’ gives me zero.

Sorry guys, I know this is me. I’ll get it eventually. 

> On 12 Sep 2017, at 00:12, Rick Jarvis <rick at magicmail.mooo.com> wrote:
> 
> Confused now.
> 
> ‘show registrations’ - should this give me *all*, or just the non-sofia ones?
> 
> ATM I have 2 x ip phone registrations, and sofia is showing both, but ‘show registrations’ gives me one - despite having disconnected Chrome, and leaving the 2 ip phones connected…?
> 
> 
> 
>> On 11 Sep 2017, at 21:29, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at magicmail.mooo.com>> wrote:
>> 
>> Ah! I had thought that all registrations ended up at sofia one way or another, thanks Mike.
>> 
>> R
>> 
>>> On 11 Sep 2017, at 21:15, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>>> 
>>> verto has nothing at all to do with sofia
>>> 
>>>> On Sep 11, 2017, at 3:59 PM, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at magicmail.mooo.com>> wrote:
>>>> 
>>>> Should it not show up in ‘sofia status profile internal reg’ ? I can see the IP phone’s reg in there, and I have multiple registrations enabled (double checked that with another IP phone!)…?
>>>> 
>>>>> On 11 Sep 2017, at 20:52, Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
>>>>> 
>>>>> That is successfully authenticating from what i see there.
>>>>> 
>>>>>> On Sep 11, 2017, at 3:46 PM, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at magicmail.mooo.com>> wrote:
>>>>>> 
>>>>>> 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 at 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 at 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"
>>>>>> 	}
>>>>>> }]
>>>>>> 
>>>>>> 
>>>>>>> On 7 Sep 2017, at 21:11, Ítalo Rossi <italo at freeswitch.org <mailto:italo at freeswitch.org>> wrote:
>>>>>>> 
>>>>>>> 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/ <https://evoluxbr.github.io/verto-docs/>
>>>>>>> Em qui, 7 de set de 2017 às 17:02, Rick Jarvis <rick at magicmail.mooo.com <mailto:rick at magicmail.mooo.com>> escreveu:
>>>>>>> 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
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>> http://www.freeswitchsolutions.com <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 at 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 at freeswitch.org <mailto:consulting at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170912/a555b88a/attachment-0001.html>


More information about the FreeSWITCH-users mailing list