<div dir="ltr"><div dir="ltr">On Fri, Nov 18, 2022 at 9:53 AM Nick Olsen <<a href="mailto:nick@141networks.com">nick@141networks.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I've got a handful of servers running asterisk 16 currently with voicemail stored in a database via ODBC.</div><div><br></div><div>Some users register to multiple servers and I'm having an issue with MWI.</div><div><br></div><div>Specifically Polycom phones seem to not be able to use two different MWI sources. So in my immediate instance, a voicemail is left on the primary server. The primary server generates the requisite notify and properly sets the phone's MWI light and makes an audible MWI sound.</div><div><br></div><div>The phone then re-registers to the secondary instance at some point. Even though these machines share a common voicemail database, asterisk isn't aware that a voicemail now exists in the database and thus tells the phone there are no messages. Clearing the phones MWI indications. The phone then registers to the primary again rinse/repeat.</div><div><br></div><div>Is there a way to force asterisk to somehow get an update when a voicemail is dropped in the database? If I manually delete a voicemail from the database via SQL commands asterisk does seem to pick it up shortly thereafter. But it doesn't seem to learn that new voicemails are available. Any help would be greatly appreciated. Thank you!</div></div></blockquote><div><br></div><div>There is polling functionality[1] which may work. It's not instant, it will update based on the frequency.</div><div><br></div><div>[1]  <a href="https://github.com/asterisk/asterisk/blob/18/configs/samples/voicemail.conf.sample#L190">https://github.com/asterisk/asterisk/blob/18/configs/samples/voicemail.conf.sample#L190</a></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Project Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>