[asterisk-dev] CDR

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Thu Jul 26 11:39:02 CDT 2007


On Thursday 26 July 2007 11:12, Ian Esper wrote:
> I am using 1.4, and it is the rate_engine, the cdr part it does well,
> only this part of the code is not working, this is the part I get the
> price parameters to charge for the call to put it on mysql database.

Really, you should be using CDR variables, not variables attached to
the channel.  A channel could be completely destroyed or in some
state in-between when a CDR is posted.  The CDR variables, OTOH,
are kept intact until after the CDR is posted.

-- 
Tilghman



More information about the asterisk-dev mailing list