Your message dated Wed, 11 Apr 2018 17:50:14 +0200
with message-id <20180411155013.427ymdoh3v2jz...@fliwatuet.svr02.mucip.net>
and subject line Re: Bug#854188: python-pjproject: fail to open sound device
has caused the Debian Bug report #854188,
regarding python-pjproject: fail to open sound device
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
854188: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854188
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-pjproject
Version: 2.5.5~dfsg-5
Severity: important

Dear Maintainer,

Having installed python-project from testing on a stable Debian, I observed 
that PJSIP could not open sound device.
Executing the simplecall.py script from pjsip documentation fails. Extracted 
from logged output (log level=6):
....
17:50:51.638   pjsua_call.c !Making call with acc #0 to sip:192.168.0.8:5060
17:50:51.638    pjsua_aud.c  .Set sound device: capture=-1, playback=-2
17:50:51.638    pjsua_aud.c  ..Opening sound device (speaker + mic) 
PCM@16000/1/20ms
17:50:51.643    pjsua_aud.c  ..Opening sound device (speaker + mic) 
PCM@44100/1/20ms
17:50:51.648    pjsua_aud.c  ..Opening sound device (speaker + mic) 
PCM@48000/1/20ms
17:50:51.652    pjsua_aud.c  ..Opening sound device (speaker + mic) 
PCM@32000/1/20ms
17:50:51.657    pjsua_aud.c  ..Opening sound device (speaker + mic) 
PCM@16000/1/20ms
17:50:51.661    pjsua_aud.c  ..Opening sound device (speaker + mic) 
PCM@8000/1/20ms
17:50:51.665    pjsua_aud.c  ..Unable to open sound device: Unknown error from 
audio driver (PJMEDIA_EAUD_SYSERR) [status=420002]
Exception: Object: {Account <sip:192.168.0.8:41201>}, operation=make_call(), 
error=Unknown error from audio driver (PJMEDIA_EAUD_SYSERR)
....

However, I have been able to test the sound device with arecord or aplay, and 
furthermore I was able to use PJSIP 2.5.5 by compiling the sources. pjsystest 
and pjsua showed no issue with sound device. I was able to pass all tests from 
pjsystest, and to make calls with pjsua. simplecall.py script gives this output:
....
20:47:45.260   pjsua_call.c !Making call with acc #0 to sip:192.168.0.3:5060
20:47:45.261    pjsua_aud.c  .Set sound device: capture=-1, playback=-2
20:47:45.261    pjsua_aud.c  ..Opening sound device (speaker + mic) 
PCM@16000/1/20ms
20:47:45.504    ec0x1f77798  ...AEC created, clock_rate=16000, channel=1, 
samples per frame=320, tail length=200 ms, latency=0 ms
20:47:45.507  pjsua_media.c  .Call 0: initializing media..
....

Installation and tests have been performed on an Orange Pi Zero card.


-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (90, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 3.4.113-sun8i (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-pjproject depends on:
ii  libc6                 2.24-9
ii  libopus0              1.2~alpha2-1
ii  libpj2                2.5.5~dfsg-5
ii  libpjlib-util2        2.5.5~dfsg-5
ii  libpjmedia-audiodev2  2.5.5~dfsg-5
ii  libpjmedia-codec2     2.5.5~dfsg-5
ii  libpjmedia-videodev2  2.5.5~dfsg-5
ii  libpjmedia2           2.5.5~dfsg-5
ii  libpjnath2            2.5.5~dfsg-5
ii  libpjsip-simple2      2.5.5~dfsg-5
ii  libpjsip-ua2          2.5.5~dfsg-5
ii  libpjsip2             2.5.5~dfsg-5
ii  libpjsua2             2.5.5~dfsg-5
ii  libsrtp0              1.4.5~20130609~dfsg-1.3
ii  libvo-amrwbenc0       0.1.3-1

python-pjproject recommends no packages.

python-pjproject suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Thu, Oct 05, 2017 at 11:57:14PM +0200, Bernhard Schmidt wrote:

> > Having installed python-project from testing on a stable Debian, I observed 
> > that PJSIP could not open sound device.
> 
> Installing a library from testing onto stable is not necessarily
> working, especially at the time you were doing it (almost two years
> after the release of jessie, shortly before the release of stretch).

[...]

> Can you reproduce this issue on matching versions? Otherwise I'll close
> the bug.

No feedback, closing.

Bernhard

--- End Message ---

Reply via email to