[Asterisk-Users] Chan_Capi initial deadlock

Carl Sempla cas at accld.com
Thu Jan 20 08:33:16 MST 2005


On Thursday, 20 January, 2005 14:42 : Felix Deierlein
<mails.asterisk at epyron.de> wrote:

> Jan 18 16:00:09 WARNING[2919]: Avoided initial deadlock for
> 'CAPI[contr1/1429092]/128', 10 retries!
>
> 2.) Patch to chan_capi
> I did not tried it. The patch should solute that problems and enable
> faxing? Has anybody experiences with it? If there is a problem why is
> not kapejod solving that?

You should try :)

If you don't want the fax support, you can just change this line :

--- original/chan_capi.c Fri Aug 13 12:07:28 2004
+++ chan_capi/chan_capi.c Wed Oct 27 18:55:32 2004
@@ -556,7 +556,7 @@
      }
  }
  // wait for the B3 layer to go down
- while (i->state != CAPI_STATE_CONNECTED) {
+ while ((i->state != CAPI_STATE_CONNECTED) && (i->state !=
CAPI_STATE_DISCONNECTED)) {
      usleep(10000);
  }
     }

kapejod is (was ?) quite unresponsive.

-- 
Carl




More information about the asterisk-users mailing list