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

Reply via email to