[Re-devel] Problems with Alsa if i get a call

Franz Löseke franz at inparty-fm.de
Fri Mar 15 12:36:35 CET 2019


Hello Everybody,


if i make a call to the baresip everything works fine but if i want to  
make a call from baresip to an other client i get a error and i have  
no idea what happen:

call: SIP Progress: 100 Trying (/)
call: SIP Progress: 180 Ringing (/)
call: SIP Progress: 180 Ringing (/)
audio: Set audio decoder: opus 48000Hz 2ch
alsa: could not open auplay device 'default' (Device or resource busy)
audio: start_player failed (.): Unknown error -16
audio: Set audio encoder: opus 48000Hz 2ch
alsa: could not open auplay device 'default' (Device or resource busy)
audio: start_player failed (.): Unknown error -16


Config:

# Audio
#audio_path		/usr/local/share/baresip
audio_player		alsa
audio_source		alsa
audio_alert		alsa
ausrc_srate		48000
auplay_srate		48000
ausrc_channels		2
auplay_channels		2
audio_txmode		poll		# poll, thread
audio_level		no
ausrc_format		s16		# s16, float, ..
auplay_format		s16		# s16, float, ..
auenc_format		s16		# s16, float, ..
audec_format		s16		# s16, float, ..

# Audio driver Modules
module			alsa.so
#module			pulse.so
#module			jack.so
#module			portaudio.so
#module			aubridge.so
#module			aufile.so



#########################







I tried to use jack but i never worked with it before:

audio: Set audio decoder: opus 48000Hz 2ch
jack: play 48000Hz,2ch
jack: playback: unsupported sample format (S16LE)
audio: start_player failed (.): Operation not supported
audio: Set audio encoder: opus 48000Hz 2ch
jack: play 48000Hz,2ch
jack: playback: unsupported sample format (S16LE)
audio: start_player failed (.): Operation not supported
jack: source: unsupported sample format (S16LE)
audio: start_source failed (.): Operation not supported

Config:

# Audio
#audio_path		/usr/local/share/baresip
audio_player		jack
audio_source		jack
audio_alert		jack
ausrc_srate		48000
auplay_srate		48000
ausrc_channels		2
auplay_channels		2
audio_txmode		poll		# poll, thread
audio_level		no
ausrc_format		s16		# s16, float, ..
auplay_format		s16		# s16, float, ..
auenc_format		s16		# s16, float, ..
audec_format		s16		# s16, float, ..

# Audio driver Modules
#module			alsa.so
#module			pulse.so
module			jack.so
#module			portaudio.so
#module			aubridge.so
#module			aufile.so



Could anybody explayn what i have to do?


Regards

Franz




More information about the Re-devel mailing list