wrtc.onRejected() is an event function called when you try to access IXNX server before it has accepted you as user. For instance if you try to make a call without first logging in.
You can use this event to trig a new login by calling wrtc.changeCredentials()
Usually this event occurs if supplied password was wrong. Ask user to enter a new password before calling wrtc.changeCredentials()
When you tried to access IXNX server before event wrtc.onLoggedIn()
wrtc.onRejected(obj)
Ignored.