If you can answer my questions I can give you a solution:
What exactly do you mean by terminate calls – at a handset level or switch level?
What call volume do you expect?
How many lines do you want to terminate?
What is the interface of the system you will be attaching to, to receive calls?