Converting from Analog to Digital

We are moving office space so we are looking at switching our analog trunks to digital. We will have approx 10 lines.

I know I need new hardware for our server any suggestions?

What programming needs to happen?

Also what are the main advantages/features of digital vs analog. Its seems the cost is the same since we have a t1 line anyway.