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

Tzafrir Cohen (JIRA) noreply at issues.asterisk.org
Tue Jan 2 07:31:39 CST 2018


Tzafrir Cohen created ASTERISK-27539:
----------------------------------------

             Summary: '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: 15.1.5, 13.18.5
            Reporter: 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