How to deactivate cel

Hello good evening,

I only want the reports from CDR, I dont need CEL reports.

There is anyway to deactivate CEL?

If I modify on:
cel_general_custom.conf
enable=no

And restart asterisk:
CLI> cel show status
CEL Logging: Enabled
CEL Tracking Event: ALL
CEL Tracking Event: CHAN_START
CEL Tracking Event: CHAN_END
CEL Tracking Event: HANGUP

The changes doesnt looks like to take place

If I modify cel_general_additional.conf:
enable=no
and restart Asterisk then:
CLI> cel show status
CEL Logging: Disabled

The changes looks like to take place, but if you modify any parameter on FreePPBX and press apply changes, the system put enable=yes again

There is anyway to deactivate cel on freepbx? Or I will need to clean all the days the database with a cron?

To change settings in FreePBX you generally want to edit the *custom_post.conf files, in this case, cel_custom_post.conf.

[general](+)
enable=no

There is an advanced setting, “Enable CEL Reporting” that I think should disable CEL logging, but I just tested and it doesn’t seem to. Perhaps @jfinstrom can confirm that my understanding of this parameter is correct.

Edit 3 years later - something changed since the original post. Disabling CEL can now be done by adding the following to the file cel_general_custom.conf:

enable=no

Hi Igaetz thanks by your reply :wink:

I have tried several test:

cel_custom.conf
enable=no

cel_custom.conf
[general](+)
enable=no

cel_custom_post.conf
enable=no

cel_custom_post.conf
[general](+)
enable=no

Then execute:
CLI> core reload
CLI> cel show status
CEL Logging: Enabled
CEL Tracking Event: ALL
CEL Tracking Event: CHAN_START
CEL Tracking Event: CHAN_END
CEL Tracking Event: HANGUP
…

Maybe the parsers is not working or maybe I am doing any incorrect

For example, with extensions_custom.conf and sip_custom.conf I dont have any problems.

This only affects to the visualization on the CDR reports module, if you put this parameter off and go to CDR reports you cant see the CEL info what is related to the CDR, but a new entries are created in the database asociated to CEL.

1 Like

That is exactly what I did, and it works for me on FreePBX 13, Asterisk 13.

I dont know what can be happened, I am going to share with you my configuration files, maybe I am not realisez about anything.

cel.tgz (3.1 KB)

By the way, in your cel.conf:

What is the order of your includes?

In my cel.conf the original order was this:

[general]
#include cel_general_additional.conf
#include cel_general_custom.conf
#include cel_custom_post.conf

If I write enable=no on cel_general_custom.conf or in cel_custom_post.conf, the system ignore this.

If the order is this:

[general]
#include cel_general_custom.conf
#include cel_general_additional.conf
#include cel_custom_post.conf

If I have on cel_general_additional.conf: enable=yes
and on cel_general_custom.conf: enable=no, the system use the value enable=no

You really don’t want to disable CEL. We are depreciating CDR in favor of CEL. So at some point you won’t be able to use CDR anymore.

I only need the basic information about a call:

Calling party
Called party
Duration of the call (billsec)

I dont need anymore information and CEL generates DB bigger than CDR

Would the CEL module be back ported to asterisk 11 at this point?
The Reports | Call Event Logging page says the CEL module needs A12 but ‘cel show status’ in A11 shows it running away quite happily.

No. But you can install it.