[Spce-user] cdr-exporter error?

Serge Yuriev me at nevian.org
Fri May 29 08:43:05 EDT 2015


Dear Alex,

I added this to config by myself yesterday and no more errors :) 
That about few other settings: in new configs no more 
EXPORT_UNRATED=no
EXPORT_INCOMING have value (in old version no value defined)

Also QUOTES exists in event-exporter.conf.tt2 - should I modify it too?

On 29 May  2015, at 14:45, Alex Lutay <alutay at sipwise.com> wrote:

> Dear Serge,
> 
> I am not sure what I did yesterday when checking your email :-)
> but proper line 72 of /usr/sbin/cdr-exporter is:
> 
>> sub callback {
>>   [...skipped...]
>>    my $reseller_line = join ",", map { defined $_ ? $quotes . $_ . $quotes : $quotes. $quotes } (@$res_row);
> 
> where $quotes is:
>>    my $quotes = NGCP::CDR::Exporter::confval('QUOTES');
> 
> I suppose your warning is caused by missed QUOTES variable definition in cdr-exporter.conf. Can you please add to /etc/ngcp-config/templates/etc/ngcp-cdr-exporter/cdr-exporter.conf.tt2 :
>> --- a/cdr-exporter/cdr-exporter.conf
>> +++ b/cdr-exporter/cdr-exporter.conf
>> @@ -13,6 +13,8 @@ PREFIX=[% cdrexport.filepreffix %]
>> VERSION=[% cdrexport.fileversion %]
>> MAX_ROWS_PER_FILE=5000
>> 
>> +QUOTES="'"
>> +
>> [% IF rateomat.enable == "no" %]
>> EXPORT_UNRATED=yes
>> [% ELSE %]
> 
> and build it using:
>> ngcpcfg build /etc/ngcp-cdr-exporter/cdr-exporter.conf
> 
> I will release hotfix for mr3.8.1 if it help you.
> 
> Thank you, for reporting warning!
> 
> -- 
> Alexander Lutay

-- 
Serge S. Yuriev






More information about the Spce-user mailing list