Problem with voicemailcount Message

  1. 9 years ago

    We have an external application that can delete or move voicemail to a separate folder. We are having a problem with the voicemailcount notification. When logging into the user interface, the counts are often wrong and after manipulating the voicemail by deleting it or moving to a different folder, no voicemailcount message is received with the updated counts.

    In /etc/asterisk/voicemail.conf, we have:
    pollmailboxes = yes
    pollfreq = 10

    My understanding is that these two entries tell FOP2 to check for voicemail changes every ten seconds, but that does not appear to be happening.

    Can you explain how FOP2 gets the correct voicemail counts when voicemail is manipulated from an external source so we can troubleshoot this? Is there a user event we can issue in asterisk to cause FOP2 to update the counts? We currently issue a FOP2VMAIL UserEvent but I am not sure what that does.

    127.0.0.1 -> Mailbox: 4159672903@default
    127.0.0.1 -> Action: UserEvent
    127.0.0.1 -> UserEvent: FOP2VMAIL
    127.0.0.1 -> Channel: USER/4159672903
    127.0.0.1 -> ActionID: 31

  2. admin

    14 Oct 2015 Administrator

    Hi,

    The settings in voicemail.conf are for *asterisk* to check the mailboxes, and fire appropriate events to AMI if there is a change.

    Those values are all that should be needed to get refreshed numbers on FOP2. You can always start FOP2 in debug mode and inspect the manager events, the mailbox counts, that are returned by Asterisk and see if those are correct or still wrong. If the later, is an asterisk problem.. if the former, and fop2 displays wrong data, is a fop2 problem.

    Best regards,

or Sign Up to reply!