[asterisk-users] MWI and 1.6.1
Dave Poirier
davepoirier at gmail.com
Mon Mar 8 16:08:16 CST 2010
Top posting to remain consistent...
Matt,
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?
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.
Anyone know how to load a db_load as version 1.85/1.86? I can't seem to
figure it out.
So a couple of questions I have for you Matt...
If you run strings on your astdb file are you seeing references to messages
files in it?
#strings /var/lib/asterisk/astdb | grep -i msg
and if so...
If you run a db_dump185 on your astdb file do the references go away?
#db_dump185 -p -f /tmp/astdb.dump astdb
Then look at the resulting file in /tmp and see if any references to message
files are there.
At this point I'm completely shooting in the dark but It's the best I've
come up with.
Let me know your results and perhaps we can figure this out.
Thanks,
Dave
On Thu, Mar 4, 2010 at 4:40 PM, Matt Watson <matt at mattgwatson.ca> wrote:
> 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.
>
> 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.
>
> Even if you turn the polling options back on in the voicemail conf file the
> problem still persists.
>
> 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.
>
> 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).
>
> 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.
>
> I'm suddenly very glad I;m not alone on this one!
>
> I;m more than happy to do any testing of patches if anybody has any
> suggestions.
>
> --
> Matt
>
>
> On Tue, Mar 2, 2010 at 1:36 PM, Dave Poirier <dpoirier at mesd.k12.or.us>wrote:
>
>> 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.
>>
>> 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.
>>
>> 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?
>>
>> Thanks,
>> Dave
>>
>>
>> --
>>
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> New to Asterisk? Join us for a live introductory webinar every Thurs:
>> http://www.asterisk.org/hello
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100308/ce31dbe6/attachment.htm
More information about the asterisk-users
mailing list