Posted: Tue May 19, 2009 2:03 pm Post 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--
Posted: Tue May 19, 2009 2:17 pm Post subject: [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@lists.digium.com [mailto:asterisk-dev-bounces@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--
Posted: Tue May 19, 2009 2:35 pm Post subject: [asterisk-dev] ARA voicemail and MWI
Oops,
If you need new messages only then you will need ... AND dir LIKE '%INBOX'
-----Original Message-----
From: asterisk-dev-bounces@lists.digium.com [mailto:asterisk-dev-bounces@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@lists.digium.com [mailto:asterisk-dev-bounces@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--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum