Patch to work on 2.6.11

Comment on Asterisk How to connect with CAPI
eggman
Joined: Sat 16 of Apr, 2005

chan_capi für SuSE 9.3

Posted:Sun 15 of May, 2005 (13:32 UTC)
A compiled version based on the named patch can be found under http://www.eyermann-online.de/asterisk/chan_capi.so
sn1
Joined: Tue 26 of Apr, 2005

Re: Patch to work on 2.6.11

Posted:Tue 26 of Apr, 2005 (19:00 UTC)
Great, this patch works on 2.6.11.7.

Thanks a lot!
irroot
Joined: Sat 05 of Mar, 2005

Patch to work on 2.6.11

Posted:Sun 06 of Mar, 2005 (01:20 UTC)
--- 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 = fds[1];
-           c->fds[0] = fds[1];
+           c->fds[0] = fds[0];
            p->PLCI = -1;
            p->i = i;
            p->c = c;