Configuration of sound and microphone redirection. Built-in SIP client linphone.

Sound redirection by RDP

You can redirect sound from server to terminal sound card. To redirect sound to terminal specify in configuration file:

sound = on

If there's still no sound continue reading.

By default WTware uses ALSA sound card drivers library. For terminals released before 2013 year you can try to specify in configuration file:

sound = oss

Then terminal will try to work with POSS sound card drivers library. Unfortunately this library is not developed anymore, but for old terminals sometimes it helps.

Next line will leave sound on server, i.e. sound will be reproduced using server sound card:

sound = remote

Make sure that terminal server configuration allows sound redirection. Try to redirect sound to some Windows-computer, connect it to the same server with the same user using standart terminal services client mstsc.exe (Start > Programs > Accessories > Communications > Remote desktop connection).

In order to make Windows Server redirect sound sometimes you are to perform next step: Start > Run > gpedit.msc > Computer configuration > Administrative templates > Windows components > Terminal services > Client/Server data redirection > Allow audio redirection. Turn this setting to "On".

If mstsc.exe plays sound while connecting to the same server by the same user, and wtware doesn't play:

  • specify in configuration file sound=on
  • boot terminal to "Windows welcome" screen
  • open in browser on another windows-computer terminal IP-address. Not server, terminal. Terminal IP is shown in popup window in right bottom corner on terminal
  • open in browser "Test Sound" section

You'll see on this page list of all sound devices detected by terminal. Press "Beep!" buttons and determine which makes sound. Instead of sound=on line specify line that is near this "Beep!" button. It should be line like this:

sound = on, hw:1:0

Here hw:1:0 tells terminal which sound device to use.

If you see no list, page is empty or all buttons don't make sound, then in WTware there's no driver for your sound card. Please, save terminal log after pressing "Beep!" buttons and send it with terminal configuration description to e-mail support@wtware.com. We'll try to find corresponding driver.

For Raspberry Pi 2 and 3 users

Raspberry Pi, USB headset and USB speakers

In terminal configuration file specify:

sound=on

Do not change config.txt on SD card.


Raspberry Pi, sound by HDMI

In terminal configuration file specify:

sound=on

In config.txt file on SD card uncomment line:

# Enable onboard audio (HDMI or jack).
dtparam=audio=on

If won't work, in config.txt file on SD card uncomment one more line:

# Force the monitor to HDMI mode so that sound will be sent over HDMI cable.
hdmi_drive=2

Raspberry Pi, sound on 3.5mm jack

In terminal configuration file specify:

sound = on, amixer:cset numid=3 1

In config.txt file on SD card uncomment line:

# Enable onboard audio (HDMI or jack).
dtparam=audio=on

SIP client linphone

In WTware there's built-in SIP client linphone. Mostly convenient to use USB headset for SIP telephony. linphone uses two sound devices. One (it's better to use computer sound card with connected loudspeakers) plays call sound. Second (it's better to use separate USB headset) reproduces conversation.

By default WTware redirects incoming call to embedded sound card. For conversation it uses USB sound card, when determines. If USB sound card is not detected, conversation will be performed by embedded sound card too.

If WTware mistakes and sound doesn't play, you can specify sound devices in configuration file:

SIP = user:password@sip.linphone.org, ring:1:0, talk:2:0

Correct digits instead of :1:0 and :2:0 you can determine by the same interface of sound card testing on terminal web-server. Device ring: plays sound of incoming call. Device talk: will reproduce conversation.