Asterisk.

If you don't want to roll your own, you can get it pre-installed on a PBX appliance like this one.

You can probably get the monthly costs down to $25-$50 a month for a small church, although your upfront costs will be a bit higher because you have to purchase the phones and PBX appliance.
_________________________
~ John