SSH command console

Call, device and system commands for Vinteo T and ST terminals

bg-dots
bg-dots

All Vinteo terminals support SSH connections. The terminal-specific console commands in this article are available only on T and ST. Use them to place and answer calls, control cameras and audio, receive terminal events and perform maintenance.

Connection and help

Step 1. On a T or ST terminal, open Settings → System settings → Access and select the “by SSH” checkbox.

Step 2. On a computer, run the following command. Replace <user> with the username for your web interface account and <address> with the terminal’s IP address.

ssh <user>@<address>

When SSH prompts for a password, enter the password for that account.

Step 3. Once connected, enter help to list the commands available in the installed firmware.

For example, lang get returns the current terminal language. A terminal set to Russian responds as follows.

lang get
lang {"data":{"content":"ru"},"status":200}

To disconnect in OpenSSH, press Enter, then type ~. at the beginning of a new line.

In the tables below, angle brackets mark values to replace and square brackets mark optional arguments. Enclose a name containing spaces in double quotes.

Calls and contacts

Command Action
dial auto <number> Call a number with automatic connection settings.
dial manual <number> [<speed>] [<resolution>] [<type>] [<fps>] Call a number with the specified bandwidth, resolution, protocol and frame rate, in that order. Omitted settings default to automatic selection.
accept, decline Answer or decline an incoming call.
callinfo Show the participants in the current call.
hangup video <participant>, hangup all Disconnect one participant or end all connections in the terminal’s current call.
dtmf <symbol> Send one DTMF tone in the call. Valid symbols are the digits 0 through 9, * and #.
dnd get, dnd on, dnd off Check, enable or disable Do Not Disturb.
autoanswer on <seconds>, autoanswer off Enable auto-answer with a delay of 1 to 30 seconds or disable it.
history [<count>] Show the call history. The default is 20 entries.
registration Show SIP and H.323 registration status.
contacts get List contacts.
contacts add <name> <number> <type> Add a contact with the specified name, number and protocol.
contacts set <id> <name> <number> <type> Update the contact with the specified ID.
contacts del <id> Delete the contact with the specified ID.

Audio, video and presentation

Command Action
mute get [<participant>], mute on [<participant>], mute off [<participant>] Check mute status, mute the microphone or unmute it. Omit the participant ID to control the terminal’s own microphone.
video get [<participant>], video on [<participant>], video off [<participant>] Check, enable or disable video transmission. Omit the participant ID to control the terminal’s own camera.
audio get <direction> Show the available devices and the current selection. Use source for audio input and sink for audio output.
audio set <direction> <name> <index> Assign the named device to a slot. Index 0 selects the primary slot and 1 the additional slot.
audio volume <direction> get <name>, audio volume <direction> set <name> <volume> Read or set the volume of the named device.
mosaic get, mosaic auto, mosaic single, mosaic multi Check the current video layout mode or select automatic, single-video or multi-video display.
presentation get, presentation start, presentation stop Check presentation status, start sharing or stop sharing.

For example, a terminal using automatic layout responds to mosaic get as follows.

mosaic get
mosaic {"data":{"mosaic":"auto"},"status":200}

Cameras and remote control

Command Action
camera list, camera listndi, camera viscalist List camera devices, list NDI cameras or show the addresses of VISCA cameras, respectively.
camera set <id> <role> [<width>] [<height>] [<fps>] [<format>] Assign the camera role. Use main for the main camera, presentation for a presentation source or additional for an additional camera. You can also specify frame width, height, frame rate and format.
camera setndi <ip> <name> <url> <role> Assign a role to an NDI source using its address, name and URL.
camera [<camera_addr>] move <direction> [<step>] Control PTZ. Use up, down, left or right to move, zoom+ or zoom- to zoom in or out, and stop to stop movement. Supply a step for incremental movement.
camera [<camera_addr>] preset set <number>, camera [<camera_addr>] preset go <number> Store the current camera position under the specified number or move the camera to that preset.
button [-t <delay>] [key] <key> Send a remote-control button press. For example, button home opens the home screen and button key Return corresponds to pressing OK. Use -t to specify a delay.
elementsstate Read the current on-screen layout, PTZ mode and PiP state.

The predefined names for button are call, volume+, volume-, zoom+, zoom-, home, back, save, power, pc, far, layout and mute. See Remote control and keyboard for the button functions.

Events and diagnostics

Command Action
events list List events and show whether each is visible in the console.
events subscribe <event>, events unsubscribe <event> Start or stop receiving the specified event. Use a name from events list. Notifications in the session begin with [event].
lang get, lang set <language> Read or set the terminal language. Use ru for Russian or en for English.
ping <address>, traceroute <address> Check whether a network host is reachable or trace the route to it.
log get <component> Show the log for terminal, volumeapp, updater, asterisk or mcu.
log syslog-get-params, log syslog-set-params <ip> <port> Read or change the address and port of the syslog server.

Terminal maintenance

Command Action
updates show-last Show the most recently installed software version.
updates set-path <path>, updates set-path-url <url> Set the update image’s local path or URL.
updates start Start the update using the selected image.
dump start Create a backup.
dump show filename, dump show status Show the name and path of the latest backup, or check the status of its SFTP transfer.
dump sendfile Send the backup to an SFTP server. Run help for the connection arguments and their order.
dump install Restore the terminal from Base64-encoded backup data. The terminal reboots.
restart service Restart the graphical interface and telephony services.
Terminal on-screen interface v2.0.x