Cdr+mysql+billing

i have my * running like crazy but there is one thing that is still bothering me – i am looking for a billing software/script that will access the mysql db and be able to credit my office extensions. Ofcourse i cant make one myself, so anyone who may have a script or free software that will do this simple task for me, that will be so gr8 :wink: