SARK V4.0.0 Route
Outbound Call Routing
SARK schedules outbound calls onto specific trunks which you specify in route entries in the Outbound Panel. A route entry consists of a dialplan (in regular Asterisk dialplan format), together with a list of up to 4 paths, or trunks, which the dialler will use to place a call. Paths are selected in sequence, so the dialler will always first despatch a qualifying call onto trunk #1 and only if the trunk is unavailable will it attempt to use trunk #2, trunk #3 and so on. The dialplan serves as a filter to select calls which this route will handle, for example national calls, premium rate calls and so on, indeed any class of dial which can be characterised by the digits that comprise it.
Out-of-the-box, SARK has a single default route defined. It is a general catch-all which will take any dialled number longer than 4 digits and attempt to route it to "None", i.e., nowhere.
We can route calls that match the default dial-plan by simply specifying a trunk for them to use. For many applications that is enough, simply because there will often only be one physical trunk available to carry the calls and so everything will use that pathway. Of course you will want to augment this route by including any numbers less than 5 digits (for example, 999, 911, 112 and so on) that you also want to send out over the trunk.
You can specify more than one trunk to carry your calls in any given route.