[asterisk-dev] ARA voicemail and MWI

Dmitry Andrianov dimas at dataart.com
Tue May 19 10:20:05 CDT 2009


Oops,
If you need new messages only then you will need ... AND dir LIKE '%INBOX'

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Dmitry Andrianov
Sent: Tuesday, May 19, 2009 7:03 PM
Subject: Re: [asterisk-dev] ARA voicemail and MWI


core show function VMCOUNT
You may use manager interface to query it and it should work with any kind of voicemail storage.

If you are using ODBC storage, all messages are in the table so you can just count them there.

SELECT COUNT(*) FROM voicemessages WHERE msgnum >= 0 AND mailboxuser='XXXXXXX';


-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of David Hansen
Sent: Tuesday, May 19, 2009 6:53 PM
To: Asterisk Developers Mailing List
Subject: [asterisk-dev] ARA voicemail and MWI


Perhaps this question isn't the ideal place to ask this but, what would be the preffered method for getting a count of how many voicemail messages a person has from a php page?  Can ARA store this count in a table or does agi or something need to be used? 


Also, MWI works fine for ARA, was this fixed in 1.6.X without using RTcache?  Or are people just not knowing how to configure it properly? :P


David Hansen


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list