What is the correct way to route outgoing calls to the correct trunk ?
Example:
Calls from extension 100 --> Routing to Trunk_A
Calls from extension 200 --> Routing to Trunk_B
Or, do I have to handle this routing with dial patterns ? (prefix x = trunk X)
I prefer the same dialplan, just routing according to the originating extension.
You would need to create one outbound route for every group of extensions that you want to differentiate, just use the CallerID field in the Dial pattern, for example create one route with 1XX for all extensions between 100-199 and another router with 2XX for all extensions between 200-299