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@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@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@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-bounces@lists.freeswitch.org] On Behalf Of Tihomir Culjaga
Sent: Wednesday, February 14, 2018 4:56 PM
To: FreeSWITCH Users Help <freeswitch-users@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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 



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@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@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@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

color-facebook-96.pngcolor-twitter-96.png

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org