Displaying 1 result from an estimated 1 matches for "ast_cdr_append".
2004 Dec 28
1
Asterisk consuming 100% CPU - CDR loop
...an extra card was installed (we had a 1PRI, a 4PRI was
added) so search concentrated on that, but to no avail. Today, I installed
DDD on the machine and quickly found out that it was looping because
cdr->next->next == cdr in ast_cdr_setapp().
I patched this up with some simple code in ast_cdr_append(), but that's
just masking the bug.
The only place were cdr->next is set is in ast_cdr_append(), and this (as
far as I can tell) code is called from ForkCDR() and the Zap channel
transfer logic (also from SIP, but SIP is not involved here). I do a
ForkCDR() somewhere before Dial() s...