Date: Mon, 12 Nov 2012 10:43:32 +0100 From: Andreas Longwitz <longwitz@incore.de> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-isdn@freebsd.org Subject: Re: ISDN4BSD (HPS version) is going into ports Message-ID: <50A0C4C4.9010100@incore.de> In-Reply-To: <201211112246.44683.hselasky@c2i.net> References: <509E87EF.9070607@incore.de> <201211112246.44683.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, >> 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(). > > Hi, > > I'll have a look at this issue this week. Sounds like reproducible. We > probably should compare with other channel drivers what they are doing. As far as I can see sip_hangup() makes no difference between incoming and outgoing calls. chan_capi_hangup() calls cd_free(cd, 0), a function with extra handling for dir_outgoing. > > Do you see this problem using older versions of asterisk? Difficult to say. In asterisk 1.4 (with FreeBSD 6) not, in asterisk 1.6 probably yes. -- Andreas Longwitz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50A0C4C4.9010100>