Hi
All of this is possible, and I would use a combination of freePBX and A2Billing to achieve this.
I think you are referring to a system such as this:-
viewtopic.php?f=5&t=2478Problem 1 is solved with the call forwarding features of either an extension, or you could use a FreePBX ring group.
Problem 2 is solved by setting the extension to call before calling a2billing.php, and setting use_dnid to yes, then configuring a DID, with a destination going out via a local trunk, probably like <<exten-no>>@from-internal.
Joe