Multiple company outbound CallerID problem

It seems that I can use callerID field on the outbound route page according to this post

But I am not sure how to setup the extensions to the callerids. So, If I have 1XX, 2XX and 3XX extensions, what is the proper way to add dial patterns for the extensions?