Hi!.
I have tested the voip softphone in raspberry pi.
Specific environment is, rpi B+, cirrus audio card, linphone(CLI).
Use the command 'aplay' has confirmed the sound recording and sound output.
But, voip client(linphonec) is not succeed.
1. The test was as follows:
1) Voip Test Environment
- IP PBX => 192.168.1.4
- rpi tel no. => 1001
- remote tel no. => 1000
- ~/.asoundrc =>
pcm.!default {
type hw
card sndrpiwsp
}
ctl.!default {
type hw
card sndrpiwsp
}
2) I run the 'linphonec' comes a warning message as shown below and voip registration is successful.
pi@raspberrypi:~$ linphonec <enter>
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:0
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1
ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL default:1
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:1
ALSA lib conf.c:4687:(snd_config_expand) Unknown parameters 1
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM default:1
Ready
Warning: video is disabled in linphonec, use -V or -C or -D to enable.
linphonec> Registration on sip:192.168.1.4 successful.
3) When I connect call, we get the following error message.
linphonec> call 1000 <enter>
Establishing call id to <sip:1000@192.168.1.4>, assigned id 1
Contacting <sip:1000@192.168.1.4>
linphonec> Call 1 to <sip:1000@192.168.1.4> in progress.
linphonec> Remote ringing.
linphonec> Remote ringing...
linphonec> Call 1 to <sip:1000@192.168.1.4> ringing.
ortp-error-alsa_open_w: Error setting params for more than 3 seconds
ortp-error-alsa_open_w: Error setting params for more than 3 seconds
ortp-error-alsa_open_w: Error setting params for more than 3 seconds
Call 1 with <sip:1000@192.168.1.4> connected.
Call answered by <sip:1000@192.168.1.4>.
linphonec> ortp-error-alsa_open_w: Error setting params for more than 3 seconds
ortp-error-alsa_open_w: Error setting params for more than 3 seconds
Media streams established with <sip:1000@192.168.1.4> for call 1.
ortp-error-alsa_open_r: Error setting params for more than 3 seconds
ortp-error-alsa_open_r: Error setting params for more than 3 seconds
2. I do not know the meaning of these error messages.
(ortp-error-alsa_open_w, ortp-error-alsa_open_r)
What is the reason that voice input and output not running?
Thanks.