Adding dialled digits

How can I add digits to the start of a dialled extension in the extensions.conf file? Basically when a local number is dialled I want to add a local code to the front of that number.

Thanks

Paul