CONFIGURATION FILES
CHAPTER 5
76
ECOTEL 3G 16.1. Revised: 1 March 2011.
Example: All calls coming from the mobile network (controller 20) are sent to FXS controller 10 (PBX). First,
the Restrict command adds the prefix “pl” to the DAD of the received call for all calls coming
from the mobile network. Then the call is mapped. In the mapping, everything that is prefixed
with “pl” is sent to controller 10 by removing the prefix and adding the controller to the number:
5.3.1.2 MAPALL
Mapping entries are necessary for routing calls. The prefix or telephone number (DAD) for which the mapping ap-
plies is searched and the call routed according to the matching mapping entry.
Mapping entries begin with the keyword
MapAll. They work as follows: anything on the left of the equals sign is
removed from the prefix / telephone number (DAD) that has come in and replaced with what is on the right of the
equals sign.
If, for example, the incoming DAD is 12345678 with 123456 being the trunk number and 78 the extension,
MapAll123456=9123456 means that 123456 is cut off the number and 9123456 is added to it. The called
number is 912345678 with 9 being the port.
MapAll123456=9 means that 123456 is cut off and 9 added. The
called number is 978 with 9 being the port.
<sin>
The service indicator variable sin restricts the command
to one service. Without a
sin, the Restrict com-
mand is valid for all services.
Possible service indicator values are:
01 Telephony
02 Analog services
03 X.21-services
04 Telefax group 4
05 Videotext (64 kbps)
07 Data transfer 64 kbps
08 X.25-services
09 Teletext 64
10 Mixed mode
15 Used internally for calling-party manipula-
tion
16 Video telephone
2
Restrict20=pl
MapAllpl=10
Table 5.19 route.cfg: Restrict Parameters (continued)
Restrict<ns>=<pl> <sin>
Parameter Description No. Digits Optional