[asterisk-dev] Is this a "bug" or a feature?

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jul 21 10:46:19 CDT 2009


cdr_custom.conf:
[mappings]
Master.csv => "${CDR(clid)}","${CDR(src)}",.....,"${CDR(AGENT)}"


extensions.conf:
exten=>s,1,NoOp(send to agent 166)
exten=>s,n,Set(CDR(AGENT)=166)
exten=>s,n,Dial(SIP/166)

regards
klaus


Alan Lord (News) schrieb:
> On 20/07/09 09:21, Klaus Darilion wrote:
> <snip />
>>> See this thread on asterisk-user I started a couple of days ago.
>>>
>>> http://lists.digium.com/pipermail/asterisk-users/2009-July/234925.html
>> That's probably not what you want to hear - but I always use custom-cdrs
>> and specify some variables which should be logged. Then, during dialplan
>> logic I fill those variables explicitly. Thus, in the CDRs I always have
>> the values which I want to have - not the ones which Asterisk thinks it
>> should put in. Probably everybody wants to have the CDRs a little bit
>> different, that's why there is the custom CDR engine.
>>
>> regards
>> klaus
> 
> Thanks Klaus,
> 
> do you have any examples of what you do that you could send to me please?
> 
> Also, does your answer above mean that this is a bug or a feature?
> 
> Alan
> 
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list