Will Astrisk work for me?

I am moving a non-profit into a new building and was looking at a few toshiba DK** units and was wondering if Asterisk will work as a replacement.
I am going to have
16 phones
6 pots in
and need voicemail.

I am sure there is going to be some hardware to get from digium.
TIA
xnakxx