You can connect to the terminal via SSH protocol and control it with text commands in console mode. Login and password for SSH access is the same as for access to the web-interface.
The following command descriptions are valid starting with terminal version 2.9.2.
Command structure
mute
<on/off>
[]
<”name”>
keyword
mandatory argument, a user must specify its value
mandatory argument, which possesses only the specified set of values
optional argument, a user can specify it if necessary; If it’s not specified, command affects only a terminal
a mandatory string argument, if it contains spaces, it must be passed in quotes
| Set a camera role | camera set [] [] [] [] OK
camera set “UHD_Media” main&presentation response: camera OK |
| Move a camera down| left/right/zoom+/zoom-/stop> []
(“step” argument stops the camera after one movement step without sending the “stop” command) response: camera move left OK |
| Save a camera preset | camera preset set
response: camera preset set 1 OK |
| Save a preset with a camera movement | camera preset go
response: camera preset go 2 OK|
| Request a contacts list | addrbook all
response: addrbook all [{“id”:8,“name”:“Alex”,“number”:“10.1.0.10”,“status”:“0”,“type”:“auto”}] |
| Add a contact | addrbook add <”name”>
response: addrbook add OK |
| Change a contact | addrbook edit <”name”>
response: addrbook edit OK |
| Delete a contact | addrbook remove
response: addrbook remove 8 OK |
| Make a call | dial manual [][][][]
response: dial auto 10.0.0.1 OK |
| Finish a call | hangup all
response: hangup all OK |
| Disconnect a participant | hangup
response: hangup Alex OK |
| Accept an incoming call | accept - may be a temporary ID assigned to a caller displayed in a command line, a.g.: [event] call-incoming FqEWhO4E333RIebFGlMHvsrK SIP SIP/1004 connection transfer response: accept FqEWhO4E333RIebFGlMHvsrK OK |
| Reject an incoming call | decline
response: decline 8 OK |
| Request current layout state | mosaic
response: mosaic <auto/single/multi> |
| Change a layout | single|multi>
response: mosaic <auto/single/multi> |
| Request an audio resource info | source>
response: audio {“default”:“alsa_output.pci-0000_00_1f.3.analog-stereo”,“devices”:[{“description”:“Built-in Audio Analog Stereo ALC897 Analog”,“name”:“alsa_output.pci-0000_00_1f.3.analog-stereo”,“plughw”:“0,0”},{“description”:“LG HDR 4K HDMI 0”,“name”:“alsa_output.TERMINAL_HDMI_DEV_3”,“plughw”:“0,3”}]} |
| Set an input/output audio device | source>
- device index starts from 0 (i.e. 0 - main, 1 - additional) response: audio OK |
| Request an audio volume level | source>
response: audio volume sink get |
| Change an audio volume level | source>
response: audio volume sink set OK |
| Send remote control actions | Remote control default buttons: call, volume+, volume-, zoom+, zoom-, home, Return (“OK” button or “Enter”), back, BackSpace, save, power, pc, far, layout, mute. Example command: button home Response: button home ok xdotool button codes: Example command: button key Return Response: button key Return OK |
| Request the “Do Not Desturb” mode info | dnd
Response: dnd <on/off> |
| Enable the “Do Not Desturb” mode | dnd <on/off>
Response: dnd <on/off> |
| Send the DTMF-code | dtmf <1/2/3/4/5/6/7/8/9/0//#>
Response: dtmf <1/2/3/4/5/6/7/8/9/0//#> OK |
| Request call history | history
Response: history [{“caller_id”:"",“date”:“1675257795”,“id”:“656”,“incoming”:0,“name”:"",“number”:“192.168.80.253”,“time”:“18”,“type”:“auto”},{“caller_id”:"",“date”:“1675254864”,“id”:“655”,“incoming”:0,“name”:"",“number”:“192.168.80.253”,“time”:“1905”,“type”:“auto”}] |
| Shutdown a terminal | shutdown
Response: shutdown OK |
| Reboot a terminal | reboot
Response: reboot OK |
| Show available command | help
Response: |
| Display logs | volumeapp|updater|asterisk|mcu>
Response: log |
| Get connection params to syslog server | log syslog-get-params |
| Set connection params to syslog server | log syslog-set-params |
| Request terminal firmware information | updates show-last
Response: updates 2.9.7.1 |
| Set local path to an update file | updates set-path
Response: updates OK |
| Set URL path to an update file | updates set-path-url
Response: updates OK |
| Start an update process | updates start
Response: updates OK |
| Request registration status | registration
Response: registration {"":[{“enable”:“1”,“ip”:“127.0.0.1:1720|TCP|-|-|no”,“login/password”:“0”,“registration”:“0”,“status”:“off”,“type”:“H.323”},{“enable”:“1”,“ip”:“127.0.0.1:5060|UDP|port|yes|no”,“login/password”:“0”,“registration”:“0”,“status”:“off”,“type”:“SIP”}]} |
| Disable autoansw | autoanswer off
Response: autoanswer off |
| Enable autoanswer time | autoanswer on <time(1-30 second)>
Response: autoanswer on |
| Request terminal language | lang get
Response: lang ru |
| Set terminal language | ru>
Response: lang <en/ru> |
Terminal event messages
call-begin visibly: 1 – starting a video call
call-end visibly: 1 - ending a video call
call-incoming visibly: 1 – an incoming call notification
call-outcoming visibly: 1 – an outgoing call notification
call-outcoming-state visibly: 1 - an outgoing call status
mute-set visibly: 1 - changing the mute state in the call
video-set - changing a camera state in the call
audio-volume-set-source - changing the audio input volume
audio-volume-set-sink - changing the audio output volume
Subscribe to an event
events subscribe call-end
Response: events subscribe call-end OK
Unsubscribe from an event
events unsubscribe call-end Response: events unsubscribe call-end OK
Example of an incoming call with answer and end of a call
[event] call-incoming id type description caller_id
[event] call-incoming CIVn19KuvxbX11JwmX80q7wOZ9xp36DsZclK3kfSPxMkrqi6u4uM79gXYGxpP96u9GM370UcExQe88fO SIP SIP/192.168.80.222-e477f640 alexandr