S → C: {type: 'rejected'}
rejected – must log in to communicate
You must authorize yourself before you are allowed to communicate with RTCgate server. Until then you are only allowed to send Iam and Iauth messages – everything else will result in rejected.
The rejected command can also have a reason parameter, altering its meaning:
S → C: {type: 'rejected', reason:…}
Right now only reason 409 is defined, no other reasons are sent by RTCgate server.