[asterisk-bugs] [JIRA] (ASTERISK-27539) 'cdr submit' fails: batch mode not enabled.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Jan 3 06:45:39 CST 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241321#comment-241321 ] 

Friendly Automation commented on ASTERISK-27539:
------------------------------------------------

Change 7785 merged by Jenkins2:
cdr: submit: fix logic of test for batch mode

[https://gerrit.asterisk.org/7785|https://gerrit.asterisk.org/7785]

> 'cdr submit' fails: batch mode not enabled.
> -------------------------------------------
>
>                 Key: ASTERISK-27539
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27539
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: CDR/General
>    Affects Versions: 13.18.5, 15.1.5
>            Reporter: Tzafrir Cohen
>            Assignee: Tzafrir Cohen
>            Severity: Minor
>
> I configured the CDR system in batch mode. However the 'cdr submit' command claims that I'm not in batch mode.
> It seems that the logic of the test in the CLI command is reversed.
> cdr.conf:
> {code}
> [general]
> ...
> batch=yes
> ...
> {code}
> {code}
> *CLI> cdr show status 
> Call Detail Record (CDR) settings
> ----------------------------------
>   Logging:                    Enabled
>   Mode:                       Batch
>   Log unanswered calls:       No
>   Log congestion:             No
> * Batch Mode Settings
>   -------------------
>   Safe shutdown:              Enabled
>   Threading model:            Scheduler plus separate threads
>   Current batch size:         0 records
>   Maximum batch size:         100 records
>   Maximum batch time:         300 seconds
>   Next batch processing time: 291 seconds
> * Registered Backends
>   -------------------
>     csv
> *CLI> cdr submit 
> Cannot submit CDR batch: batch mode not enabled.
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list