Top posting to remain consistent...<div><br></div><div>Matt,</div><div>After doing a little more digging I'm starting to think that it has something to do with our upgrade from 1.4 to 1.6 (nothing like stating the obvious). I'm now suspecting that astdb has something to do with it. I ran strings on astdb which lives in /var/lib/asterisk/ and found references to messages files inside the DB. Maybe they lived there in version 1.4 but not in 1.6. Somebody more clueful than me can probably clarify on this. Doing a dump of the same database doesn't show the references to those files. Could this be what is generating the MWI events? </div>
<div><br></div><div>So my thought was to just dump the database in a good state and reload. Unfortunately trying to load the dump leaves me with a newer version of the database files that Asterisk recognize. Asterisk uses a very old version 1 of Berkeley DB.</div>
<div><br></div><div>Anyone know how to load a db_load as version 1.85/1.86? I can't seem to figure it out.</div><div><br></div><div>So a couple of questions I have for you Matt...</div><div>If you run strings on your astdb file are you seeing references to messages files in it?</div>
<div><br></div><div>#strings /var/lib/asterisk/astdb | grep -i msg</div><div><br></div><div> and if so...</div><div><br></div><div>If you run a db_dump185 on your astdb file do the references go away?</div><div><br></div>
<div>#db_dump185 -p -f /tmp/astdb.dump astdb</div><div><br></div><div>Then look at the resulting file in /tmp and see if any references to message files are there.</div><div><br></div><div>At this point I'm completely shooting in the dark but It's the best I've come up with.</div>
<div><br></div><div>Let me know your results and perhaps we can figure this out.</div><div>Thanks,<br>Dave</div><div><br><div class="gmail_quote">On Thu, Mar 4, 2010 at 4:40 PM, Matt Watson <span dir="ltr"><<a href="mailto:matt@mattgwatson.ca">matt@mattgwatson.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm having this EXACT same problem, I haven;t been able to narrow down the cause of it yet, but it seems to me that users are receiving notifications for voicemails in mailboxes that belong to other people, as sometimes their mail count magically disappears, which I have been suspecting is when somebody else checks their VM.<div>
<br></div><div>I found the problem also exists in 1.6.2 which is where I first noticed it (upgraded from 1.4.x to 1.6.2.x). I tried downgrading to 1.6.1 and the problem seemed not quite as bad, but I know its still present. I was actually quite surprised to find that nobody had previously mentioned the problem on this list when I came across it so I thought it might of been something specific to my situation.</div>
<div><br></div><div>Even if you turn the polling options back on in the voicemail conf file the problem still persists.<br><br></div><div>We are using all Aastra phones - a mix of 9133i, 9112i, 480, 35i, 57i phones - but the problem seem unrelated to the make/model of the phone based on seeing you having the same problem with Polycom's.</div>
<div><br></div><div>Not sure that it should matter, but we are using FreePBX 2.6 ontop of asterisk and running it in "users and devices" mode (as apposed to the default "extensions" mode).</div><div><br>
</div><div>If you do a voicemail show users from the Asterisk console it shows the correct VM counts for the mailboxes, so its not that Asterisk is counting them incorrectly, it just seems to be sending the notifications of VMs to the wrong places.</div>
<div><br></div><div>I'm suddenly very glad I;m not alone on this one! </div><div><br></div><div>I;m more than happy to do any testing of patches if anybody has any suggestions.</div><div><br></div><div>--</div><div>
Matt</div>
<div><br></div><div><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Mar 2, 2010 at 1:36 PM, Dave Poirier <span dir="ltr"><<a href="mailto:dpoirier@mesd.k12.or.us" target="_blank">dpoirier@mesd.k12.or.us</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
We are having an issue with Asterisk 1.6.1 and the MWI turning on when a user doesn't have voicemail. We see random MWI lights come on and the phone indicates a random number of messages (its been anywhere from 1-14) when a server reload is done.<div>
<div>I just checked one user, they have no messages old or new and the phone (Polycom IP330) indicates that they have 2 messages. The user will check for messages, the system will tell them that they have none and the light goes out.<div>
<br></div><div>I know that starting in 1.6 Asterisk moved from a polling system to an event based system but it's unclear to me what is causing these events to be generated. Anyone else experience this? Any tips, suggestions?</div>
<div><br></div><div>Thanks,<br>Dave</div><div><br>
</div></div></div>
<br></div></div>--<div class="im"><br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></div></blockquote></div><br></div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>