ISDN4BSD (HPS version) is going into ports
Hans Petter Selasky
hselasky at c2i.net
Mon Nov 12 14:01:26 UTC 2012
Hi,
I looks like this is a problem on 1.8.x only. I have a 1.6.x system bridging
to SIP and more and I don't see lots of unref'ed structures.
It appears to me that the Asterisk API has changed, and now needs a final de-
ref, by the allocator of the call structure. Could you try this patch, on a
non-production system and see what happens:
Index: chan_capi/chan_capi.c
===================================================================
--- chan_capi/chan_capi.c (revision 2419)
+++ chan_capi/chan_capi.c (working copy)
@@ -1945,6 +1945,11 @@
if (pbx_chan->rings == 0)
pbx_chan->rings = 1;
}
+ } else {
+#if (CC_AST_VERSION >= 0x10800)
+ /* drop final refcount */
+ hangup_what |= 2;
+#endif
}
if (hard_hangup) {
Thank you,
-- HPS
More information about the freebsd-isdn
mailing list