UCP error when accessing Voicemail

Hi,

I’m having an issue in UCP for a user that is trying to access the voicemail for a different user. This has been working fine since the system was deployed around 2 years ago, and it stopped working about 3 weeks ago. It was first reported on 24 Jan and I see in the update logs that the voicemail module was updated on 19 Jan “Upgrading module ‘voicemail’ from 16.0.60 to 16.0.61”. Not sure if a new bug has been introduced?

The users UCP dashboard has their own voicemail widget and the voicemail widget for a shared voicemail box (the final destination for our Queue). Their own VM widget loads fine, but the shared VM widget shows “Loading, please wait…”

When I click on refresh, there is a popup in the top right that says “There was an error. See the console log for more details”

image

I am not sure where the console log is? I have tried “tail -f /var/log/asterisk/*.log”, but it doesn’t show any new messages when the problem occurs.

I have confirmed that User Management → UCP → Voicemail → Allowed Voicemail contains the extension of the VM that they are attempting to access. I also tried removing the allowed VM, Apply Config, then add it back in again.

Can anyone suggest what else I can do to troubleshoot this?

console log is in the browser itself. It’s in the developer tools. If you are using Chrome you can press F12 or right click on the page and select “inspect” from the popup menu. Not sure about other browsers.

Kinda go’s without saying but I assume you’ve got all the modules, including voicemail, up to date?

Which version of FPBX are you running?

Thanks, this is the error that I am seeing in the browser console log on every attempt to refresh the VM:

jsphp_1c70f4ed120911cc663c0d2a9d2eed50.js?load_version=v16.0.38.2:28753  Uncaught TypeError: Cannot read properties of undefined (reading 'transcriptionURL')
    at Object.controlFormatter (jsphp_1c70f4ed120911cc663c0d2a9d2eed50.js?load_version=v16.0.38.2:28753:24)
    at h (jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:548:1213)
    at String.<anonymous> (jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:548:30129)
    at Function.each (jquery-3.1.1.min.js?load_version=v16.0.38.2:2:2815)
    at p.initBody (jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:548:29331)
    at p.load (jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:549:10368)
    at f.load (jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:567:3630)
    at Object.success (jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:549:3241)
    at i (jquery-3.1.1.min.js?load_version=v16.0.38.2:2:27983)
    at Object.fireWith [as resolveWith] (jquery-3.1.1.min.js?load_version=v16.0.38.2:2:28749)
controlFormatter @ jsphp_1c70f4ed120911cc663c0d2a9d2eed50.js?load_version=v16.0.38.2:28753
h @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:548
(anonymous) @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:548
each @ jquery-3.1.1.min.js?load_version=v16.0.38.2:2
p.initBody @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:548
p.load @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:549
f.load @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:567
success @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:549
i @ jquery-3.1.1.min.js?load_version=v16.0.38.2:2
fireWith @ jquery-3.1.1.min.js?load_version=v16.0.38.2:2
A @ jquery-3.1.1.min.js?load_version=v16.0.38.2:4
(anonymous) @ jquery-3.1.1.min.js?load_version=v16.0.38.2:4
load
send @ jquery-3.1.1.min.js?load_version=v16.0.38.2:4
ajax @ jquery-3.1.1.min.js?load_version=v16.0.38.2:4
jQuery.ajax @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:21
p.initServer @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:549
p.refresh @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:549
e @ jquery-3.1.1.min.js?load_version=v16.0.38.2:2
dispatch @ jquery-3.1.1.min.js?load_version=v16.0.38.2:3
(anonymous) @ jquery-3.1.1.min.js?load_version=v16.0.38.2:3

I am running FreePBX 16.0.40.11, everything is set to auto update weekly.

oh, and I just started getting these errors as well:

        GET https://<hostname>/ucp/index.php?quietmode=1&module=voicemail&command=grid&folder=INBOX&ext=91000&sort=origtime&order=desc&offset=0&limit=10&_=1739020924706 401 (Unauthorized)
send @ jquery-3.1.1.min.js?load_version=v16.0.38.2:4
ajax @ jquery-3.1.1.min.js?load_version=v16.0.38.2:4
jQuery.ajax @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:21
p.initServer @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:549
p.refresh @ jsphpg_b76ec9325a1a5caca04f28721d9cc414.js?load_version=v16.0.38.2:549
e @ jquery-3.1.1.min.js?load_version=v16.0.38.2:2
dispatch @ jquery-3.1.1.min.js?load_version=v16.0.38.2:3
(anonymous) @ jquery-3.1.1.min.js?load_version=v16.0.38.2:3

It looks like UCP is attempting to access the mailbox as anonymous and receiving a 401 Unauthorised response. Not sure what has changed to make this start happening. Can anyone confirm whether it is a bug in the 16.0.61 version of the voicemail module? Although, it is probably UCP rather than voicemail?

Did you make sure that all your modules, including voicemail are updated???

Please refer to below thread to know fixed module versions.

thanks

The Voicemail module was auto-updated to 10.0.62 over the weekend and it appears to be working again in that version.

sorry, it was upgraded to 16.0.62

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.