Prepend phone numbers with a calling card dial in number
You might want to take a look at Prefixer, which lets you "prefix, suffix and/or replace numbers in your calls" -- sounds like exactly what you need. There are a few similar apps on the Playstore:


Prefix Dialer
Number Fixer
PreFixer


I'm pretty sure one of them will solve your issue.