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
Remove all other lines from configuration file.
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.
hw: determine sound device working on this terminal. For example,
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
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
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.
In terminal configuration file specify:
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
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:firstname.lastname@example.org, ring:1:0, talk:2:0
Enter correct values instead of
:2:0 you can determine by the same interface
of sound card testing on terminal web-server. Device
plays sound of incoming call. Device
talk: will reproduce conversation.