Queue Logging

Home » Asterisk Users » Queue Logging
Asterisk Users 6 Comments

Hello,

at the moment I am logging queues into a MySQL DB, but this can quickly become a lot of information.

Is there a way to exclude certain queues from being logged into the queue log ?

Thanks, Jonas.

6 thoughts on - Queue Logging

  • Are you using triggering? If so, perhaps you could modify the trigger values. PS asterisk version?

    From: asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, November 27, 2012 10:21 AM
    To: Asterisk Users Mailing List – Non-Commercial Discussion Subject: [asterisk-users] Queue logging

    Hello,

    at the moment I am logging queues into a MySQL DB, but this can quickly become a lot of information.

    Is there a way to exclude certain queues from being logged into the queue log ?

    Thanks, Jonas.

  • Hello,

    I am not using triggering (what is this ?).

    Just using extconfig.conf

    Asterisk 1.8.12.2

    Kind regards, Jonas.

  • Triggering is a MYSQL mechanism that forces database action on specified conditions. My best guess is that you would have to tweak addons/res_config_mysql.c to be able to filter logs. It would probably be easier to write a daemon to clear the unwanted data on a periodic basis.

    From: asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] Are you using triggering? If so, perhaps you could modify the trigger values. PS asterisk version?

    From: asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jonas Kellens Sent: Tuesday, November 27, 2012 10:21 AM
    To: Asterisk Users Mailing List – Non-Commercial Discussion Subject: [asterisk-users] Queue logging

    Hello,

    at the moment I am logging queues into a MySQL DB, but this can quickly become a lot of information.

    Is there a way to exclude certain queues from being logged into the queue log ?

    Thanks, Jonas.

  • Ah OK, that triggering I know.

    I though maybe there was some kind of setting on a per queue base that could control the logging, like there is “amaflags” on a peer.

    Jonas.

  • How large is your systems? because the information created by of a call on a queue is just like a hundred bytes, so it is usually safe to keep them all in any case on modern systems.

    2012/11/27 Jonas Kellens