I think the command "voicemail show users" is broken in asterisk 1.6.2.17. This command is necessary for the functionality in lighting the BLF associated with the aastra vmail.php script. I downgraded to asterisk 1.6.2.13 and the problem went away I then upgraded back to 1.6.2.17.2 and the problem came back. I decided to try looking the Aastra Daemon located at /var/www/html/aastra/asterisk/aastra_daemon2 to see if I could figure out whate broke. Although I don’t know PHP too well, I was able to understand that this daemon appears to issue an Asterisk command to view all available mailboxes then parse the result to see which users have voicemail waiting. The command it issues is “voicemail show users” and I think this command is broken in the later versions of 1.6.2.xx. Since the Aastra XML scripts rely on the result from this command, I think the associated BLF will stay broken until the problem with this command is solved. I wonder if anyone else has seen this and if anyone may have a solution? Maybe I just need to modify the command in some way? Any insight would be much appreciated.
When I issue this command on a server running an older version of Asterisk here is what I get:
Context Mbox User Zone NewMsg
default pollmailboxes 0
default pollfreq 0
default 201 Front Desk 3
default 204 Matt 0
4 voicemail users configured.
--------------------------------
If I issue this same command on a server running Asterisk 1.6.2.17.2, here is what I see.
You must specify a specific context to show users from realtime!
Usage: voicemail show users [for
Lists all mailboxes currently set up
--------------------------------
I have also tried adding the for default to this command as the above usage suggests also with no results as shownbelow.
Command 'voicemail show users for default' failed.
Member Since:
2008-01-30