[Freeswitch-users] Voicemail refresh event

Michael Jerris mike at jerris.com
Wed Oct 13 13:28:06 PDT 2010


The only place this should be necessary is deleting a message and inserting a message.  There are api commands in freeswitch designed to do this and trigger all the appropriate actions.  If you are doing these from the web ui, you should use the freeswitch api commands to accomplish these tasks instead of directly changing the database.

Mike

On Sep 13, 2010, at 8:09 PM, Tim St. Pierre wrote:

> Hello,
> 
> I'm using ODBC with voicemail, and several other core functions.  My ultimate goal is to use this in
> an HA cluster, but there are also some places where this data gets looked at outside of Freeswitch.
> 
> I'm building a visual voicemail application for Aastra phones using the XML interface.  I can query
> the freeswitch database to see the voicemail_prefs and voicemail_msgs tables, listing each message,
> paths to audio, etc.  Whenever I modify this data, Freeswitch eventually notices and updates the MWI
> indicator on the phone to match what's in the database.
> 
> Is there a way to send an event to Freeswitch that will cause it to poll the database and refresh
> the status of a voice mail box?
> 
> Is it a bad idea to manipulate this data outside of freeswitch?  I don't think I'm doing anything
> that wouldn't take place if the alternate FS box changed this data in an HA situation.




More information about the FreeSWITCH-users mailing list