Voicemail count

  1. 9 years ago

    We use FOP2 version 2.28 (free) and Asterisk 1.6.2. We have some problems with displaying count voicemail on the web. When hovering over the voicemail icon I always see the same number of voicemails even though I have already erased them from our web-application. The count only gets updated if I restart fop2.
    In the fop2.conf I set options:
    poll_voicemail=1
    poll_interval=120
    and restart fop2. Then I deleted 1 voicemail message from web-application, but after 120 sec the number of messages displayed in the web interface remains unchanged.

  2. admin

    22 Apr 2015 Administrator

    it is not a problem with FOP2, but your asterisk configuration and the tools you use. When you remove a voicemail from an EXTERNAL application, asterisk is not notified of such action, so it does not broadcast the state, so FOP2 does not get the information. You can somehow make it better by configuring your /etc/asterisk/voicemail.conf to do the voicemail polling:

    pollmailboxes = yes ; If mailboxes are changed anywhere outside of app_voicemail,
    ; ; then this option must be enabled for MWI to work. This
    ; ; enables polling mailboxes for changes. Normally, it will
    ; ; expect that changes are only made when someone called in
    ; ; to one of the voicemail applications.
    ; ; Examples of situations that would require this option are
    ; ; web interfaces to voicemail or an email client in the case
    ; ; of using IMAP storage.
    ;
    pollfreq = 30 ; If the "pollmailboxes" option is enabled, this option
    ; ; sets the polling frequency. The default is once every
    ; ; 30 seconds.

    Or, you can use fop2 with the voicemail explorer feature that will update fop2 correctly when you remove voicemails with it.

    Best regards,

or Sign Up to reply!