Re: ISDN4BSD (HPS version) is going into ports
Andreas Longwitz <[email protected]> Mon, 12 Nov 2012 10:43:32 +0100
| Newsgroups | gmane.os.freebsd.devel.isdn |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-isdn To unsubscribe, send any mail to "[email protected]"