ASTPP already support FreeSwitch.

Review the features missing you want to implement.

If you decide ASTPP is a viable solution, I would contribute to the bounty.

http://www.astpp.org/?q=node/165

-E