[asterisk-users] MWI and 1.6.1

Matt Watson matt at mattgwatson.ca
Tue Mar 9 22:34:25 CST 2010


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 <davepoirier at 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100309/d4803f88/attachment.htm 


More information about the asterisk-users mailing list