[pjsip] pjsip over app protocol?

Richard Langly richard.ringo.langly at gmail.com
Wed Aug 5 00:39:24 EDT 2009

I was able to get samples that play wav files and other to work, but
the playsine app didn't work for me. I get the following error. I'm
running gentoo on a quad-core. Any thoughts as to what I'm doing wrong
here? I don't see a config file anywhere's that I'm missing.

/pjproject-1.3/pjsip-apps/bin/samples/x86_64-unknown-linux-gnu$ playsine 2
 23:37:23.128 os_core_unix.c  pjlib 1.3 for POSIX initialized
 23:37:23.198       pa_dev.c  PortAudio sound library initialized, status=0
 23:37:23.198       pa_dev.c  PortAudio host api count=2
 23:37:23.198       pa_dev.c  Sound device count=14
 23:37:23.198          pjlib  select() I/O Queue created (0x2288ed8)
 23:37:23.199       pa_dev.c  PA message: Expression
'SetApproximateSampleRate( pcm, hwParams, sr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1291

 23:37:23.199       pa_dev.c  PA message: Expression
'PaAlsaStreamComponent_InitialConfigure( &self->playback, outParams,
self->primeBuffers, hwParamsPlayback, &realSr )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1865

 23:37:23.199       pa_dev.c  PA message: Expression
'PaAlsaStream_Configure( stream, inputParameters, outputParameters,
sampleRate, framesPerBuffer, &inputLatency, &outputLatency,
&hostBufferSizeMode )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 1986

Unable to open sound device: Invalid sample rate [code=469996]

More information about the pjsip mailing list