Bug#308106: asterisk-chan-capi: chan-capi does not work with kernel >2.6.11-rc4
Martin Jess
Martin Jess <debian-bugs@fhloston.org>, 308106@bugs.debian.org
Sat, 07 May 2005 22:58:40 +0200
Package: asterisk-chan-capi
Version: 0.3.5-11
Severity: normal
Tags: patch
asterisk-chan-capi or chan_capi 0.3.5 does not work with kernel
2.6.11-rc4 or above. incoming calls work, outgoing calls don't.
(see
http://www.voip-info.org/wiki-Asterisk+How+to+connect+with+CAPI#comments)
chan_capi-0.3.5/chan_capi.c 2004-08-13 12:07:28.000000000 +0200
+++ chan_capi-0.3.5-greg/chan_capi.c 2005-03-06 02:55:17.000000000
+0200
@@ -687,7 +687,7 @@
p = malloc(sizeof(struct capi_pipe));
memset(p, 0, sizeof(struct capi_pipe));
p->fd = fds1;
- c->fds[0] = fds[1];
+ c->fds[0] = fds[0];
p->PLCI = -1;
p->i = i;
p->c = c;
cheers
martin jess
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (990, 'unstable'), (990, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.12-rc3
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro (charmap=ISO-8859-15)
Versions of packages asterisk-chan-capi depends on:
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libcapi20-2 1:3.6.2005-01-03-5 libraries for CAPI support
-- no debconf information