How can I enable CEL Logging?


#1

Hi,
I noticed Channel Event Logging (CEL) stopped at some point, and trying to figure out how to enable back again. When I check MySQL database, I see CEL data set becomes empty from particular date,

MariaDB [asteriskcdrdb]> select * from cel where uniqueid='1549562458.2495';
Empty set (0.00 sec)

and I am thinking this is because CEL Logging is disabled at this moment…

[root@pbx asterisk]# asterisk -rx "cel show status"
CEL Logging: Disabled

I am wondering how to enable CEL Logging back again, any suggestion would be appreciated!

Environment

  • OS: CentOS 7.6.1810
  • FreePBX: 14.0.5.25
  • Asterisk: 13.24.1

#2

Because your PBX is being managed by FreePBX I recommend you ask on the FreePBX Community forums at https://community.freepbx.org


#3

Thanks for the comment, I have been asking the topic in FreePBX community forum but I am curious why my asterisk CEL Logging is “disabled”. FreePBX side uses the setting of asterisk.


#4

Check your cel.conf but I caution it is managed by FreePBX and should not be modified by you directly.


#5

That’s already been checked, for FreePBX, it is set by cel_general_addtional.conf and it is enabled.

  • cel.conf
[general]
#include cel_general_additional.conf
#include cel_general_custom.conf
#include cel_custom_post.conf
  • cell_general_additonal.conf
enable=yes
apps=confbridge,meetme,mixmonitor,queue,stopmixmonitor,voicemail,voicemailmain
events=all
dateformat=%F %T
usegmtime=no

Maybe something related to modules, here is the cel related ones.

[root@pbx asterisk]# asterisk -rx "module show like cel"
Module                         Description                              Use Count  Status      Support Level
app_celgenuserevent.so         Generate an User-Defined CEL event       0          Running              core
cel_manager.so                 Asterisk Manager Interface CEL Backend   0          Running              core
cel_odbc.so                    ODBC CEL backend                         0          Running              core
cel_pgsql.so                   PostgreSQL CEL Backend                   0          Not Running      extended
cel_sqlite3_custom.so          SQLite3 Custom CEL Module                0          Not Running      extended
cel_tds.so                     FreeTDS CEL Backend                      0          Not Running      extended
res_format_attr_celt.so        CELT Format Attribute Module             1          Running              core
7 modules loaded

My question here is what conditions for CEL logging to be disabled.
Is there a way to debug in Asterisk, I would appreciate if anyone who has a bit deeper knowledge about CEL Logging feature?


#6

Issue solved by applying cel module update.

https://issues.freepbx.org/browse/FREEPBX-18944