expire voicemail after x days?

Discussion in 'General' started by FirebornX, Aug 24, 2010.

  1. FirebornX

    Joined:
    Jun 29, 2010
    Messages:
    5
    Likes Received:
    0
    Is there a way to have voicemail messages for an extension expire and be deleted after a certain amount of time?
     
  2. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Hi FirebornX, wellcome to the forums!
    Con este comando eliminas voicemails de más de 60 días. Si lo pones en crontab lo puedes automatizar.

    Code:
    find /var/spool/asterisk/voicemail/* -mtime +60 | xargs rm -rf
    
     
  3. FirebornX

    Joined:
    Jun 29, 2010
    Messages:
    5
    Likes Received:
    0
    Well that's a good start, gracias senor
    (pardon me if that's spelt wrong, I'm terrible at spanish)

    Is there any way to get more specific, say expiring voicemail from an individual extension?
     
  4. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    Exactly the same, but:


    /var/spool/asterisk/voicemail/default/hereyourextensionnumber/*
     

Share This Page