Tracking DND

Discussion in 'General' started by centritech, May 27, 2009.

  1. centritech

    Joined:
    Jul 23, 2008
    Messages:
    63
    Likes Received:
    0
    Does anybody have any suggestions for the best way to track DND status by extension? In other words I want to be able to run reports and see how long an extension was on DND over a set amount of time.

    Thank you in advance

    Scott
     
  2. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    A quick answer will be:
    Code:
    cat /var/log/asterisk/full | grep "*78" | grep "Playback"
    
    and
    Code:
    cat /var/log/asterisk/full | grep "*79" | grep "Playback"
    
    With the first command you will get the list of extensions that have enabled DND, you will get the time when it was activated, while with the second command, you will get the list of extensions that have disabled DND, including the hour that was deactivated
     
  3. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0
  4. centritech

    Joined:
    Jul 23, 2008
    Messages:
    63
    Likes Received:
    0
    Thanks for the suggestions, however this has to be a very user friendly for an end user. Something like running reports. The end user will not have access to the command line and will want to run these reports weekly or even daily sometimes.

    that link in the previous response doesn't seem to work.

    Thanks
    Scott
     
  5. Patrick_elx

    Joined:
    Dec 14, 2008
    Messages:
    1,120
    Likes Received:
    0

Share This Page