Richard Mudgett wrote: > > > > On Wed, Dec 4, 2013 at 12:57 PM, Joshua Colp <jcolp at digium.com > <mailto:jcolp at digium.com>> wrote: > > Richard Mudgett wrote: > > Persistence does not require keeping a backlog because you could > always > flush the > cache and repopulate it as if there were no persistence when you > reconnect. In the > mean time Asterisk can respond with what it knows. Also the link > breaking does not > necessarily mean that Asterisk restarted. > > > How would I flush the cache for mailboxes specific to my application? > > > Asterisk voicemail mailboxes are denoted as box at context. The delete > command would pass @context to delete all mailboxe in that context. I think this entire concept should be documented then since maintaining state between two things is going to be very important and could end poorly if done incorrectly in the application. Gotcha's, approaches, that sort of thing. -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: www.digium.com & www.asterisk.org