Sure it's doable. The configuration details depend by your dialplan.
If do not have cisco voip esperience I recommend you hire a reputable professional for the job, else it cab be source of much frustraion to you.
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: