[asterisk-dev] bridge call CDR issue

Kaloyan Kovachev kkovachev at varna.net
Fri Apr 6 01:07:51 MST 2007


On Fri, 6 Apr 2007 10:32:24 +0800, Di-Shi Sun wrote 
> Hi All, 
>   
> When I tried asterisk 1.4 downloaded from svn yesterday, I found the CDR
function did not work anymore after a call. After I readed the code, I found
the ast_bridge_call in res_feature.c caused this problem. 
>   
> In ast_bridge_call, the cdr structure  of the chan, the inbound leg channel,
is released. Then after the call, chan->cdr is NULL. CDR function gets the
data from chan->cdr. So it returns -1. 
>   
> This issue was intruduced from reversion 59486. I do not know this is a new
feature or a small bug. If it is a feature, is there any other way we can get
the CDR data except from cdr-csv or cdr-custom? 
>   
> Thanks, 
>   
> Di-Shi Sun. 

 Starting at the same revision i get "WARNING[26921]: cdr.c:482 ast_cdr_merge:
CDR start disagreement for SIP/xxxx" with every call when answered, even with
not forwarded ones.


More information about the asterisk-dev mailing list