Is the command voicemail show users broken in Asterisk 1.6.2.17.2?

robeerski
Posts: 70
Member Since:
2008-01-30

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.



mcisar
Posts: 83
Member Since:
2007-02-13
similar issue here

I may be having a similar issue here, but not quite :-)

I recently did a wholesale upgrade of a client's system (asterisk, freepbx, aastra phone firmware), the system is running AsteriskNow actually, but with the trixbox RPM of the XML scripts. I've since had the client report that they cannot play back voicemails from within visual voicemail, they just get a few beeps and disconnect... and I've had a user this morning report that the BLF for their voicemail isn't working on one mailbox. They are running asterisk 1.6.2.17 in the main branch, and asterisk 1.6.2.11 in the branch office. As far as I know so far the user that's having the BLF problem is located in the main branch, but the BLF that isn't working is pointed to his mailbox in the branch office. This was all working prior to the upgrades (two BLF's, one for his local mailbox, one for the branch office).

I did take a peek here and on both the 1.6.2.17 and 1.6.2.11 "voicemail show users" seems to report the expected info. So maybe your glitch is something that appeared between asterisk 1.6.2.17 and 1.6.2.17.2 ??? Myself I was thinking perhaps my glitches came as a result of upgrading the phone firmware at my client site... now I'm not sure :-)

Cheers,
>>>>> Mike


robeerski
Posts: 70
Member Since:
2008-01-30
I think the problem started wih 1.6.2.14

I actually tried installing many different versions of asterisk after initially reporting the problem and from my tests, the command "voicemail show users" works in version 1.6.2.13 and fails in 1.6.2.14, 1.6.2.15, 1.6.2.16, 1.6.2.17.2 and 1.6.2.18-RC1. I have had the problem you describe and I think it was fixed with something in the CFG file but I can't remember what I had to do.



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.