[Freeswitch-users] Verto, Event socket and registration data

Ítalo Rossi italo at freeswitch.org
Fri May 6 16:52:14 MSD 2016


Possible, yes. What's implemented now is that you can set userVariables
when creating dialogs, check newCall js method or vertoService.js for
example usage.

On Fri, May 6, 2016 at 5:02 AM, Gregor Nanger <gregor at infomedia.si> wrote:

> Italo, one question.
>
> Is it possible to also send in verto::login event some details about
> client (browser, referer...)?
>
> 2016-05-03 16:01 GMT+02:00 Gregor Nanger <gregor at infomedia.si>:
>
>> Oh, great... This is what I was looking for. If this variable is now on
>> disconnect, is great.
>>
>> It is just that I am on Windows and still not successed to build it by my
>> self :-((
>>
>> 2016-05-03 15:53 GMT+02:00 Ítalo Rossi <italo at freeswitch.org>:
>>
>>> Make sure you're using latest master, verto::login has
>>> variable verto_login and I've added verto_login also to verto::disconnect
>>>
>>> On Tue, May 3, 2016 at 3:44 AM, Gregor Nanger <gregor at infomedia.si>
>>> wrote:
>>>
>>>> This is exactly what I did.
>>>>
>>>> I am monitoring registrations via ESL and maintain status in my
>>>> database. If I restart esl client, I read current status from verto
>>>> xmlstatus.
>>>>
>>>> Thank you.
>>>>
>>>> 2016-05-03 1:30 GMT+02:00 Brian West <brian at freeswitch.org>:
>>>>
>>>>> Or injest the output of 'verto xmlstatus'
>>>>>
>>>>> On Mon, May 2, 2016 at 5:24 PM, Gregor Nanger <gregor at infomedia.si>
>>>>> wrote:
>>>>>
>>>>>> Yes, will do. I will have to maintain list of connected/disconnected
>>>>>> in my  db.
>>>>>>
>>>>>> 2016-05-03 0:07 GMT+02:00 Brian West <brian at freeswitch.org>:
>>>>>>
>>>>>>> look at verto::login, and verto::disconnect, that should solve it.
>>>>>>>
>>>>>>> On Mon, May 2, 2016 at 4:38 PM, Gregor Nanger <gregor at infomedia.si>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thank you, Brian.
>>>>>>>>
>>>>>>>> It is just that on client_disconnect there is only
>>>>>>>> verto_client_address not user as on client_connect and I do not know which
>>>>>>>> user disconnected.
>>>>>>>>
>>>>>>>> 2016-05-02 20:55 GMT+02:00 Brian West <brian at freeswitch.org>:
>>>>>>>>
>>>>>>>>> verto::client_connect
>>>>>>>>>
>>>>>>>>> verto::client_disconnect
>>>>>>>>>
>>>>>>>>> On Mon, May 2, 2016 at 1:43 PM, Gregor Nanger <gregor at infomedia.si
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>> Hi!
>>>>>>>>>>
>>>>>>>>>> If I want to monitor registration via ESL I can subscribe to
>>>>>>>>>> custom events sofia::register, sofia:unregister
>>>>>>>>>>
>>>>>>>>>> But this doesn't work for verto registrations. There are also
>>>>>>>>>> custom events and for registration I can use verto:login. But for
>>>>>>>>>> disconnect there is verto:client_disconnect that only has connection id, no
>>>>>>>>>> user data who was disconnected.
>>>>>>>>>>
>>>>>>>>>> I can also parse from verto xmlstatus on each disconnect, but I
>>>>>>>>>> think this is not optimal solution.
>>>>>>>>>>
>>>>>>>>>> Any hint how can I monitor registration via verto?
>>>>>>>>>>
>>>>>>>>>> Best regards, Gregor
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _________________________________________________________________________
>>>>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>>>>> 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
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> *Brian West*
>>>>>>>>> brian at freeswitch.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>>>>>>> http://www.freeswitchbook.com
>>>>>>>>> http://www.freeswitchcookbook.com
>>>>>>>>> https://www.gofundme.com/freeswitch_ubuntu
>>>>>>>>>
>>>>>>>>> Got Bugs? Report them here
>>>>>>>>> <http://t.sidekickopen50.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Ffreeswitch.org%2Fjira&si=5036397111279616&pi=d50ad716-7189-44ac-8a32-aba368933bfd>!
>>>>>>>>> | Reddit: /r/freeswitch
>>>>>>>>> <http://t.sidekickopen50.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Fwww.reddit.com%2Fr%2Ffreeswitch&si=5036397111279616&pi=d50ad716-7189-44ac-8a32-aba368933bfd>
>>>>>>>>>
>>>>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _________________________________________________________________________
>>>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _________________________________________________________________________
>>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>>> 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
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> *Brian West*
>>>>>>> brian at freeswitch.org
>>>>>>>
>>>>>>>
>>>>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>>>>> http://www.freeswitchbook.com
>>>>>>> http://www.freeswitchcookbook.com
>>>>>>> https://www.gofundme.com/freeswitch_ubuntu
>>>>>>>
>>>>>>> Got Bugs? Report them here
>>>>>>> <http://t.sidekickopen50.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Ffreeswitch.org%2Fjira&si=5036397111279616&pi=a17577b9-ce8c-4539-ec36-dd149ce5ffe1>!
>>>>>>> | Reddit: /r/freeswitch
>>>>>>> <http://t.sidekickopen50.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Fwww.reddit.com%2Fr%2Ffreeswitch&si=5036397111279616&pi=a17577b9-ce8c-4539-ec36-dd149ce5ffe1>
>>>>>>>
>>>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>>>>
>>>>>>>
>>>>>>> _________________________________________________________________________
>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _________________________________________________________________________
>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>> 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
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Brian West*
>>>>> brian at freeswitch.org
>>>>>
>>>>>
>>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>>> http://www.freeswitchbook.com
>>>>> http://www.freeswitchcookbook.com
>>>>> https://www.gofundme.com/freeswitch_ubuntu
>>>>>
>>>>> Got Bugs? Report them here
>>>>> <http://t.sidekickopen50.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Ffreeswitch.org%2Fjira&si=5036397111279616&pi=22ec8945-4299-473b-add8-42ed475386e3>!
>>>>> | Reddit: /r/freeswitch
>>>>> <http://t.sidekickopen50.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Fwww.reddit.com%2Fr%2Ffreeswitch&si=5036397111279616&pi=22ec8945-4299-473b-add8-42ed475386e3>
>>>>>
>>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> Ítalo Rossi
>>> italo at freeswitch.org
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> 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
>>>
>>
>>
>>
>> --
>> Gregor Nanger
>>
>> *CTO*
>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
>> • www.infomedia.si
>>
>
>
>
> --
> Gregor Nanger
>
> *CTO*
> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
> • www.infomedia.si
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
>



-- 
Ítalo Rossi
italo at freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160506/b3866dbd/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list