<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Luca</div><div class=""><br class=""></div><div class="">Would greping for the existence of the mailbox number in /etc/voicemail.conf do the trick?</div><div class=""><br class=""></div><div class="">Pete</div><div class=""><br class=""></div><font size="2" class="">
</font><br class=""><div><blockquote type="cite" class=""><div class="">On 22/04/2016, at 7:34 am, Luca Bertoncello <<a href="mailto:lucabert@lucabert.de" class="">lucabert@lucabert.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi list!<br class=""><br class="">On an Asterisk-Server I have some users. Just two of them have a Mailbox.<br class="">I want to write a little Web interface to manage many things and I'd like to<br class="">have a menu point for the voicemail, but just if the user has a Mailbox.<br class=""><br class="">I found the AMI-Command MailboxStatus, but it does not return what I need,<br class="">since it returns 0 if the user has a Mailbox but no messages and if the user<br class="">has no Mailbox...<br class=""><br class="">Could someone suggest me a way to get this information?<br class=""><br class="">Thanks a lot!<br class="">Luca Bertoncello<br class=""></div></blockquote></div></body></html>