[Spce-user] cdr-exporter error?
Serge S. Yuriev
me at nevian.org
Mon Jun 8 07:10:59 EDT 2015
Alex,
Sorry I didn't mentioned (again) version as I try to follow edge.
Line 65 in my version same as yours: replaced "next" with "return";
Will follow up.
On 08/06/15 13:58, Alex Lutay wrote:
> Dear Serge,
>
> I do not remember version of all SPCE users,
> can you please share the version of the system you have next time.
>
> As for mr3.8.1 the line 65 is:
>
>> if(confval('EXPORT_INCOMING') eq "no" && $src_uuid eq "0") {
>> push @ignored_ids, $id;
>> next; # <----------- line 65
>> }
>
> "next" is not proper way to exit from function,
> you can try to replace "next" with "return" and test it from your side.
>
> Sent the fix on review, it will be included in upcoming build if pass
> review/tests.
>
> Tnx for reporting!
>
> On 06/07/2015 09:22 PM, Serge Yuriev wrote:
>> Few days ago we started receiving new variation :)
>>
>> Exiting subroutine via next at /usr/sbin/cdr-exporter line 65
>>
>> Looking in code this looks like skipping Incoming calls, should we
>> just ignore it or here is something to fix?
>
--
Serge S. Yuriev
Lead VoIP engineer
More information about the Spce-user
mailing list