@@ -315,8 +315,13 @@ Note: If the microphone input on the speaker-mic is electrically disconnected wh
To get notified of changes in the state (color) of the LED indicator on the user terminal, the client emits a 'subscribe' event to the room 'indicator'. The value returned in the response represents the current color of the LED. On each LED color change, the terminal emits a 'change' event to the room with the new color. The subscription is terminated when the client either sends an 'unsubscribe' event to the room, or closes the WebSocket connection.
The LED color is represented with a string which contains either a well-known known name of the color (white, black), or a CSSformatted RGB string of the form '#RRGGBB'. All color names generated by the terminal can be parsed with the [color-parse](https://www.npmjs.com/package/color-parse)NPM package.
The LED color is represented with a string which contains either a well-known name of the color (white, black), or a CSS-formatted RGB string of the form '#RRGGBB'. All color names generated by the terminal can be parsed with the [color-parse](https://www.npmjs.com/package/color-parse)JavaScript library.
## Call State
The room 'state' provides notifications of changes in the state of the PTT button and VoIP call. To receive such notifications, emit a 'subscribe' event to the room. The terminal returns the initial state of the PTT button and the VoIP call in the response to the subscribe. When the state of the PTT button or the VoIP call changes, the terminal emits a 'change' event to the room.
Events emitted to the 'state' room carry a JSON object with the boolean attributes 'ptt' and 'call'. If either attribute is omitted, its value has not changed. The PTT button is depressed if the attribute 'ptt' is true and released otherwise. If the attribute 'call' is true, the terminal is in an active VoIP session with another terminal or the conference server on the base station.