Re: [asterisk-users] MWI and 1.6.1

2010-03-12 Thread Matt Watson
Hi Dave,

Thought I'd give you an update - I completely rebuilt my astdb the other
night by renaming it, having * recreate it and then re-creating all my
custom entries in it.

Didn't have any effect, I had somebody report false MWI notifications again
earlier this morning.

--
Matt

On Tue, Mar 9, 2010 at 11:34 PM, Matt Watson m...@mattgwatson.ca wrote:

 Hi Dave,

 Sure enough my astdb does contain references to VM files as shown with
 strings - doing the database dump however does not show the references.

 I'm not sure about the internals of how Berk DB works, however I;m also
 seeing references to lots of other data that really shouldn't be part of my
 config anymore either - like I can see some employee names that are no
 longer a part of our company and thus have been deleted from our * config,
 some several years ago.  I suspect that berkdb is just not overwriting some
 of the data for whatever reason and has some internal mechanism for knowing
 what to ignore.

 I believe I can probably test your theory tomorrow evening though, I don't
 think I have too much in my astdb that can't be easily re-created, I think I
 can probably delete my astdb entirely and regenerate it.  I'll just need to
 take a closer look at it first though.

 I would however like to believe that if * is no longer supposed to be using
 berkdb for any VM reference data, that any calls to read the voicemail
 counts from the DB should have been removed.


 --
 Matt

 On Mon, Mar 8, 2010 at 5:08 PM, Dave Poirier davepoir...@gmail.comwrote:


 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


-- 
_
-- 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

Re: [asterisk-users] MWI and 1.6.1

2010-03-09 Thread Will Payne

On 8 Mar 2010, at 22:08, Dave Poirier wrote:

 Top posting to remain consistent...


I drop litter because everyone else does.

;)

W

-- 
_
-- 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


Re: [asterisk-users] MWI and 1.6.1

2010-03-09 Thread SIP
Will Payne wrote:
 On 8 Mar 2010, at 22:08, Dave Poirier wrote:

   
 Top posting to remain consistent...
 


 I drop litter because everyone else does.

 ;)

 W

   

Different entirely. People who switch to bottom posting on a top-posted 
thread make things MUCH harder to read by being needlessly pedantic. 
It's like those people who decide that, even though traffic is moving 
along at an average of 70mph, they're going to drive 55 in the fast lane 
to 'teach everyone the proper speed.'  They're statistically MORE likely 
to cause accidents (or, in LA, get shot) than those travelling along 
with traffic at a speed above the posted speed limit.

On some positions, it is not helpful to be unwavering.

N.

-- 
_
-- 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


Re: [asterisk-users] MWI and 1.6.1

2010-03-09 Thread Will Payne

On 9 Mar 2010, at 11:47, SIP wrote:

 Different entirely. People who switch to bottom posting on a top-posted 
 thread make things MUCH harder to read by being needlessly pedantic. 

it just seemed like a 'I know this is wrong, but...' comment :)

Quoting entire emails is bad, m'kay. Quoting whole threads is worse. If you 
snip the quote down to the relevant portion, you can reply where you like, 
regardless of what's gone on beforehand. 

(Surely there's no such thing as 'needlessly' pedantic - all pedantry is 
necessary :)

W
-- 
_
-- 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


Re: [asterisk-users] MWI and 1.6.1

2010-03-09 Thread SIP
Will Payne wrote:
 it just seemed like a 'I know this is wrong, but...' comment :)
 Quoting entire emails is bad, m'kay. Quoting whole threads is worse. If you 
 snip the quote down to the relevant portion, you can reply where you like, 
 regardless of what's gone on beforehand. 

 (Surely there's no such thing as 'needlessly' pedantic - all pedantry is 
 necessary :)

 W
   

Unless it's errant. Then you upset Churchill.

N.

-- 
_
-- 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


Re: [asterisk-users] MWI and 1.6.1

2010-03-09 Thread Matt Watson
Hi Dave,

Sure enough my astdb does contain references to VM files as shown with
strings - doing the database dump however does not show the references.

I'm not sure about the internals of how Berk DB works, however I;m also
seeing references to lots of other data that really shouldn't be part of my
config anymore either - like I can see some employee names that are no
longer a part of our company and thus have been deleted from our * config,
some several years ago.  I suspect that berkdb is just not overwriting some
of the data for whatever reason and has some internal mechanism for knowing
what to ignore.

I believe I can probably test your theory tomorrow evening though, I don't
think I have too much in my astdb that can't be easily re-created, I think I
can probably delete my astdb entirely and regenerate it.  I'll just need to
take a closer look at it first though.

I would however like to believe that if * is no longer supposed to be using
berkdb for any VM reference data, that any calls to read the voicemail
counts from the DB should have been removed.


--
Matt

On Mon, Mar 8, 2010 at 5:08 PM, Dave Poirier davepoir...@gmail.com wrote:


 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


-- 
_
-- 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

Re: [asterisk-users] MWI and 1.6.1

2010-03-08 Thread Dave Poirier
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 m...@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 dpoir...@mesd.k12.or.uswrote:

 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

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
 

Re: [asterisk-users] MWI and 1.6.1

2010-03-04 Thread Matt Watson
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 dpoir...@mesd.k12.or.uswrote:

 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