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

Determine sound device

In computer there may be several working sound devices: onboard 3.5mm jack sound, monitor speakers, USB-headset etc. Let's determine, which sound device must play sound.

Specify in terminal configuration file three lines:

sound = on
connection
connection

You may leave video= and display= options.

Remove all other lines from configuration file.

Boot terminal.

Open in browser terminal IP-address. Not server's, but terminal's. Terminal IP you may see in popup window in the right bottom corner of terminal screen.

Select "Test Sound" section.

On this page there will be list of all sound devices, determined by terminal. Press all "Beep!" buttons and find the button, that plays sound.

Digits after hw: determine sound device working on this terminal. For example, hw:3:0.

If there's no list, page is empty or all buttons play no sound, then there's no sound card driver in WTware. Please, save terminal log after pressing "Beep!" buttons and send it with terminal description to support@wtware.com. We'll try to add needed driver.


Sound redirection by RDP

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

sound = on, hw:0:0

Instead of hw:0:0 specify sound device, determined above.

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.

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


Raspberry Pi, sound by HDMI

In terminal configuration file specify:

sound=on

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

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

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 fails 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

Enter correct values 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.



If you have any comments or remarks to this article, please, let us know!