[asterisk-dev] CDR variables

Matthew Nicholson mnicholson at digium.com
Tue Nov 24 16:17:42 CST 2009


On Sat, 2009-11-21 at 11:26 +0100, Olle E. Johansson wrote:
> I was looking into adding the RTPAUDIOQOS variables directly to the cdr's from chan_sip as a cdr variable. I notice that there are no other modules that does add cdr variables directly.
> 
> Is this because developers hasn't noticed this feature or because it will fail miserably and cause disruptions in the Asterisk space/time relationship?
> 
> If this works, is it safe to add variables to the cdr as long as I have an AST_CHANNEL available? We have two closures of cdr - after or before "h" processing - but when will the CDR be stored - at destruction of the ast_channel or when we freeze it?
> 
> /O

Adding the variable should not cause a problem, but it may not actually
be stored to disk if it is added while the channel is bridged.

-- 
Matthew Nicholson
Digium, Inc. | Software Developer




More information about the asterisk-dev mailing list