<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1589" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This issue was intruduced from reversion
59486.</FONT> <FONT face=Arial size=2>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?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Di-Shi Sun.</FONT> </DIV></BODY></HTML>