[Asterisk-Dev] chan_capi - app_capiECT

Alexander Noack alex at aiesec.wiwi.uni-rostock.de
Mon Jan 26 10:38:01 MST 2004


Hi,

my post on the user's list didn't get answered, so I did some more
research on * and capiECT.
I could not get ECT to work on my internal S0 as of chan_capi-0.2.5a.

Therefore I "diff"ed app_capiECT of versions 0.2.5 and 0.3.0. They
differ only in three lines, when I remove them ECT works fine (well
some hanging channels every 1 out of 20 calls) ...

--- chan_capi-0.2.5/app_capiECT.c Tue Aug 19 01:32:13 2003
+++ chan_capi-0.3.0/app_capiECT.c Tue Sep 16 14:27:24 2003
@@ -151,11 +150,14 @@
            ast_log(LOG_NOTICE, "sent DISCONNECT_REQ
PLCI=%#x\n",i->PLCI);
        }
        return -1;
     }

+    ast_log(LOG_NOTICE,"onholdPLCI = %d\n",i->onholdPLCI);

+    LOCAL_USER_REMOVE(u);
+    return res;

     fac[0] = 7;        // len
     fac[1] = 0x06; // ECT (function)
     fac[2] = 0x00;
     fac[3] = 4; //len  //sservice specific parameter , cstruct


Can someone please explain to me what these lines are for? Anything
serious, I cannot live without?

Ciao,
Alex




More information about the asterisk-dev mailing list