You could start out with Ekiga (ekiga.org) for the software, modify it to your needs (while respecting it's license) and add your own billing software to it.
You could also buy Skype (the company), then you have it all in place :-) Depends on your resources...
Bye,
M
Linux Archive