Hi Dave,<div><br></div><div>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.</div><div><br></div><div>
Didn't have any effect, I had somebody report false MWI notifications again earlier this morning.</div><div><br></div><div>--</div><div>Matt<br><br><div class="gmail_quote">On Tue, Mar 9, 2010 at 11:34 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;">Hi Dave,<div><br></div><div>Sure enough my astdb does contain references to VM files as shown with strings - doing the database dump however does not show the references.</div>
<div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>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.</div><div>
<br></div><div><br></div><div>--</div><div>Matt</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Mon, Mar 8, 2010 at 5:08 PM, Dave Poirier <span dir="ltr"><<a href="mailto:davepoirier@gmail.com" target="_blank">davepoirier@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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></blockquote></div></div>
</div></div></blockquote></div><br></div>