Bug#369082: libpri1.2: bristuffed libpri thinks it's smarter than
the user
Tobias Diedrich
ranma+debianbts at tdiedrich.de
Sat May 27 11:20:03 UTC 2006
Package: libpri1.2
Version: 1.2.2-3
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The bristuff-patch introduces the following check into pri_hangup() in
pri.c:
|if ((cause == 34 || cause == 44 || cause == 82 || cause == 1 || cause == 81 || cause == 17) && (call->ourcallstate == Q931_CALL_STATE_ACTIVE)) {
| pri_error(pri, "Cause code %d not allowed when disconnecting an active call. Changing to cause 16.\n", cause);
| cause = 16;
|}
With this patch in place it is impossible to both send a busy
signal/message to the user and terminate the call with Cause 17 ('user
busy').
If I revert this part of the patch I still get a warning from chan_zap,
but it works as expected.
BTW it would be even better if one could send a cause without
terminating the call to make it possible to signal 'cause busy' to the
phone, then send the busy tone and wait for the user to hang up. (Which
is what happens if you call a busy extension from your normal ISDN phone
here in germany AFAICS).
- -- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15.1-htbatm-nfsdirindex-imq
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libpri1.2 depends on:
ii libc6 2.3.6-7 GNU C Library: Shared libraries
libpri1.2 recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEeDXjWeSjpYPhJEoRAiTgAJ0V9q7tbprth2Oj/r4LUIENpQ9LjwCdEmy/
wW6OfepWyPyambGajn69c3I=
=GT3j
-----END PGP SIGNATURE-----
More information about the Pkg-voip-maintainers
mailing list