hangup() method
If a Session object is created, this method can be run on it by a third participant. It is used to hang up a session. It can only be used if the connected webclient has the required privilege.
Method usage example
You can register to the onSessionCreated event.
If a session is created then the sessionCreated function is called that
will hang it up after 1 minute.
//registers to the onSessionCreated event OzWebClient.onSessionCreated(sessionCreated); function sessionCreated(session) { setTimeout('session.hangup()', 60000); // hangup the session after 1 minute }
More information