[Freeswitch-users] How to unregister verto user
Alexandr Popov
alexandr.popov at iqoption.com
Fri Feb 16 09:35:47 UTC 2018
Brian, sometimes it could stuck.
2018-02-16 9:59 GMT+02:00 Tihomir Culjaga <tculjaga at gmail.com>:
> just call logout on your logout button click... otherwise wss will timeout
> on browser close / crash eventually
>
> On 15 February 2018 at 19:51, Gregor Nanger <gregor at infomedia.si> wrote:
>
>> Yes, it is still the same. You have on unload event, but this captures
>> everything, refresh, go to other link and even close. It's better than
>> nothing.
>>
>>
>> On Thu, Feb 15, 2018, 19:43 Brian West <brian at freeswitch.com> wrote:
>>
>>> When the socket disconnects it should unregister them, what exactly is
>>> the issue your having?
>>>
>>> /b
>>>
>>> On Thu, Feb 15, 2018 at 11:39 AM Mundkowsky, Robert <rmundkowsky at ets.org>
>>> wrote:
>>>
>>>> In the old days, web browsers did not have an event for window getting
>>>> closed. I suspect that is still true, so you do not have an event to
>>>> trigger this javascript code you mentioned.
>>>>
>>>>
>>>>
>>>> Robert
>>>>
>>>>
>>>>
>>>> *From:* FreeSWITCH-users [mailto:freeswitch-users-bounc
>>>> es at lists.freeswitch.org] *On Behalf Of *Tihomir Culjaga
>>>> *Sent:* Wednesday, February 14, 2018 4:56 PM
>>>> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>>>> *Subject:* Re: [Freeswitch-users] How to unregister verto user
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> simply
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> var verto;
>>>>
>>>>
>>>>
>>>> ...
>>>>
>>>> ...
>>>>
>>>> verto = new $.verto(confg)
>>>>
>>>>
>>>>
>>>> ...
>>>>
>>>> ...
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> verto.logout()
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 14 February 2018 at 21:48, Gregor Nanger <gregor at infomedia.si>
>>>> wrote:
>>>>
>>>> As far as I know, you can't. Session will expire eventualy.
>>>>
>>>>
>>>>
>>>> 2018-02-14 20:12 GMT+01:00 David Wafula <davidwaf at gmail.com>:
>>>>
>>>> Hi all,
>>>>
>>>> I have a verto user who keeps closing browser window without logging
>>>> out and i need to force unregistration periodically.
>>>>
>>>> What command can be used to accomplish this?
>>>>
>>>>
>>>>
>>>> The only commands am able to use are:
>>>>
>>>> verto status/xmlstatus
>>>>
>>>>
>>>>
>>>> Kind regards
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639751357&sdata=CcbH%2BpF8NcktyJIZ%2Bk5TMOVLaKKKsQ%2FUDLfvAUQDw9Q%3D&reserved=0>
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639751357&sdata=9Wm6rFEQgBXnz9HNo%2Fxc3IMFSaG%2FpK77r2H4Vj%2FsZLU%3D&reserved=0>
>>>> http://confluence.freeswitch.org
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=KlSM7XhL1Ejl1jtoKYKg2ospXA6GhN22zAM9trQeYnE%3D&reserved=0>
>>>> http://www.cluecon.com
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=o0zN0nAx4fKo%2Fc%2F7036WuO4m0VjmG8vWo%2B969P5CaD8%3D&reserved=0>
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=SaLZXzXEHJ3kQdj6opvrEzbqYc1X6%2Bwlc402FuDaC2k%3D&reserved=0>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/
>>>> freeswitch-users
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=LXfaaJRsN3QbszvuAUm3cVwP5qWyiB6dTt4acP%2FCxXg%3D&reserved=0>
>>>> http://www.freeswitch.org
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=ipq5LdFuk%2BZWP6%2F25T5fPCiwqgAAFMKvU9FR1bWr4h4%3D&reserved=0>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *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
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.infomedia.si&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=3vN9VFnMCEkuOcYyAEGfDgiFkyDqrRLJVKmzqt0tgkw%3D&reserved=0>
>>>>
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitchsolutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=eLKFdLAeGvA9zv9OFT6WARumrpW7Pr5INhdLXAadqS4%3D&reserved=0>
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=ipq5LdFuk%2BZWP6%2F25T5fPCiwqgAAFMKvU9FR1bWr4h4%3D&reserved=0>
>>>> http://confluence.freeswitch.org
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fconfluence.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=KlSM7XhL1Ejl1jtoKYKg2ospXA6GhN22zAM9trQeYnE%3D&reserved=0>
>>>> http://www.cluecon.com
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cluecon.com&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=o0zN0nAx4fKo%2Fc%2F7036WuO4m0VjmG8vWo%2B969P5CaD8%3D&reserved=0>
>>>>
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Flistinfo%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=SaLZXzXEHJ3kQdj6opvrEzbqYc1X6%2Bwlc402FuDaC2k%3D&reserved=0>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/
>>>> freeswitch-users
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.freeswitch.org%2Fmailman%2Foptions%2Ffreeswitch-users&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=LXfaaJRsN3QbszvuAUm3cVwP5qWyiB6dTt4acP%2FCxXg%3D&reserved=0>
>>>> http://www.freeswitch.org
>>>> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freeswitch.org&data=02%7C01%7Crmundkowsky%40ets.org%7C642bb9e3a4e54b09996d08d573f5f85f%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636542422639907611&sdata=ipq5LdFuk%2BZWP6%2F25T5fPCiwqgAAFMKvU9FR1bWr4h4%3D&reserved=0>
>>>>
>>>>
>>>>
>>>> ------------------------------
>>>>
>>>> This e-mail and any files transmitted with it may contain privileged or
>>>> confidential information. It is solely for use by the individual for whom
>>>> it is intended, even if addressed incorrectly. If you received this e-mail
>>>> in error, please notify the sender; do not disclose, copy, distribute, or
>>>> take any action in reliance on the contents of this information; and delete
>>>> it from your system. Any other use of this e-mail is prohibited.
>>>>
>>>> Thank you for your compliance.
>>>> ------------------------------
>>>> ____________________________________________________________
>>>> _____________
>>>> 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 | Co-founder and Developer
>>>
>>> Need Commercial support? email sales at freeswitch.com
>>>
>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
>>> <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
>>>
>>> Email: brian at freeswitch.com
>>>
>>> Mobile: 918-424-9378
>>>
>>> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>>>
>>> [image: color-facebook-96.png] <https://www.facebook.com/freeswitch/>[image:
>>> color-twitter-96.png]
>>> <https://twitter.com/freeswitch?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor>
>>> ____________________________________________________________
>>> _____________
>>> 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
>>
>> _________________________________________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180216/02156d1b/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list