====== onLoggedOut() ====== wrtc.onLoggedOut() is an event function called when when IXNX server has logged you out and you are not allowed to make or receive calls any more. It can be because you entered wrong [[ixnx:wrtc:js:digest_authentication_sequence|authentication]], or connection has been aborted for some reason. Most of the time you can use [[ixnx:wrtc:js:api:wrtc:onauthenticatefailed|wrtc.onAuthenticateFailed()]] instead to detect failure of logging in. ===== Occurs ===== When you have been logged out. ===== Arguments ===== wrtc.onLoggedOut(lineobj, msg) * lineobj - the [[ixnx:wrtc:js:api:line:start|line object]] that has been logged out * msg - (optional) JSON structure containing sent/received message resulting in log out, or null if log out due to connection lost ===== Return value ===== Ignored. ===== See Also ===== [[ixnx:wrtc:js:api:wrtc:onloggedin|wrtc.onLoggedIn()]] [[ixnx:wrtc:js:api:wrtc:onauthenticatefailed|wrtc.onAuthenticateFailed()]] [[ixnx:wrtc:js:digest_authentication_sequence|Digest Authentication Sequence]]