Date: Sat, 10 Nov 2012 17:59:27 +0100 From: Andreas Longwitz <longwitz@incore.de> To: freebsd-isdn@freebsd.org Subject: ISDN4BSD (HPS version) is going into ports Message-ID: <509E87EF.9070607@incore.de>
next in thread | raw e-mail | index | archive | help
Hi, I am runnung FreeBSD 8.3 with isdn4bsd 2.0.4 + chan_capi 2.0.2 from ports and asterisk 1.8.16. On my production system with two HFC-4S adapters (one in NT-mode, the other in TE-mode) and some SIP-phones I have the following problem: asterisk runs in a deadlock two or three times a week, nothing but kill -9 helps. During looking for a possible reason for the deadlock I found that asterisk never destroys a channel from a call initiated inbound by i4b. On the asterisk console the command "capi show" always gives the correct infos about busy isdn channels, but "core show channels verbose" lists more and more channels. For every call incoming via i4b the channel remains in the list of active asterisk channels. Outgoing isdn channels and all sip channels disappear after hangup. For a call incoming via i4b I see on hangup that chan_capi_hangup() is called and then cd_free() with state=6 (CAPI_STATE_CONNECTED), send_release_complete=1, causeOut=0x3490 and hangup_what=0. Afterwards I see the call of capi_send_disconnect_req. In the case of dir_incoming I can see nothing that informs asterisk about the free channel. I suppose in the case dir_outgoing this is done by "ast_setstate(pbx_chan, AST_STATE_DOWN)" in cd_free(). -- Andreas Longwitz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509E87EF.9070607>