[asterisk-dev] CDR variables

Olle E. Johansson oej at edvina.net
Wed Nov 25 02:33:42 CST 2009


24 nov 2009 kl. 23.17 skrev Matthew Nicholson:

> 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.

That sounds like  a bug to me. So I can only add CDR variables before the first bridge or any time when I'm not in a bridge?

/O


More information about the asterisk-dev mailing list