Just to make things clear,Trixbox is a IP PBX,in other words its a modified version of Asterisk.
If you need to do the call termination with billing at the sametime.try installing A2Billing on top of Trixbox.
There are better ways to do that but since this a open-Source
try it for free.
And you...