[asterisk-users] AMI: check if the user has a Mailbox

Pete Mundy pete at fiberphone.co.nz
Thu Apr 21 21:20:12 CDT 2016

Hi Luca

Would greping for the existence of the mailbox number in /etc/voicemail.conf do the trick?


> On 22/04/2016, at 7:34 am, Luca Bertoncello <lucabert at lucabert.de> wrote:
> Hi list!
> On an Asterisk-Server I have some users. Just two of them have a Mailbox.
> I want to write a little Web interface to manage many things and I'd like to
> have a menu point for the voicemail, but just if the user has a Mailbox.
> I found the AMI-Command MailboxStatus, but it does not return what I need,
> since it returns 0 if the user has a Mailbox but no messages and if the user
> has no Mailbox...
> Could someone suggest me a way to get this information?
> Thanks a lot!
> Luca Bertoncello
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160422/d9fa41b0/attachment.html>

More information about the asterisk-users mailing list