So that IPBrick executes the routing of the calls between the several network interfaces, it is necessary the definition of specific routes according to a telephonic numbering.
As you can see in Figure 4.32 there are two types of routes: Local Routes and Output Routes for SIP servers. There is also the possibility to register IPBrick in the SIP servers.
Local routes
Local routes (Figure 4.33) allow the configuration of an interconnection between LAN, PSTN, PBX or INTERNET.
The possible options by default are:
If there are other configured interfaces, they may be added to the list of routes, and for that it is necessary to click the connection Available Local Routes (Figure 4.33) and then add the necessary routes.
Connection Insert in the Menu Top allows to insert one of the routes mentioned. After insertion, each type of route has a connection that allows its configuration. When acceding to this interface it is possible to choose one of these options:
Back
Modify: To change the type of local route;
Delete: Remove the local route;
Insert: It allows to add the prefixes that must be added to this route. When you indicate a prefix, all the calls whose initial digits coincide with that digit are routed by that route. If you want to keep the prefix indicated when the call is routed, it is necessary to select Yes in Include prefix. Otherwise, keep option No. In the field Prefix After-routing it is possible to indicate the prefix to be added to the previous one, after the number dialled from the telephone. In Fallback Routes is possible to define resource routings, if the present route has problems.
Example: To enable the use of number 6 to route a call to the Portuguese PSTN network, it is necessary to remove this prefix in order that the number stays with the correct format (the format 2XXXXXXXX instead of 62XXXXXXXX).