Execution
Routing — General
To set up a route in the MX-ONE system, a selection of MML commands are necessary.
A route is identified by the system by its route number which is a fictitious sequence number. The route is given certain characteristics, some characteristics are used by the system (in command ROCAI) and others are used by the interface between the system and the external line (in command RODAI).
An external line is physically connected to the system either to the front of a TLU board or to the front of the Media Gateway. The H.323 and SIP trunk uses the ordinary LAN connection.
An external line is logically connected to the system by associating a route to an equipment position (by command ROEQI). At the same time the external line (equipment position) is given a sequence number based on to which LIM the line is connected. This sequence number is used for outgoing calls at the line selection which can be done in different ways.
A route can have external lines in several media gateways and in several LIMs (servers), providing distribution of the traffic load for the route. The method for selection of the lines can be configured (command ROCAI, parameter SEL).
H.323 and SIP routes represent exceptions to the previous statements. First, these types of routes make use of an IP interface (RTP resource) board (MGU) instead of a TLU board, since it is the same interface as the IP extension. IP interface boards are connected directly to the data network.
There is no association between physical equipment positions in the IP board and external lines. IP interface boards are capable of supporting more calls than equipment individuals, given that not all calls need board media resources and if needed, those resources can be borrowed from another board. So, it is possible to initiate more external lines than board positions. H.323 or SIP external lines are not attached to an equipment position.
Routing — CCSS7

Note: LIM 1 and LIM 2 belong to the same PBX but are located at different places. Therefore they may have access to two different exchanges in the public network.
In the figure above the route set RS1 is set up between Signaling Point Code (SPC) (A) and SPC(X). Signaling routes SR11 and SR22 belongs to RS1. A route set RS2 has to exist between SPC(A) and SPC(Y) but that is not shown in the figure.
To set up a CCSS7 signaling link in the MX-ONE system, a selection of MML commands are necessary.
MTSSI
The first thing to do is to initiate a link set with the command MTSSI. Parameters of special importance are OPC, DPC and LNKSET.
The parameters OPC and DPC are determined by the SPC values. The SPC values are provided when requesting a CCSS7 access from the public network.
Parameter LNKSET states a specific signaling link set.
MTSLI
Secondly, define the characteristics for the signaling links using command MTSLI. Parameters of special importance are LINK, LNKSET, PCMID and SLC.
The parameter LNKSET states a specific signaling link set.
The parameter PCMID states the PCM link identity of the board where the signaling link is situated. The value is used to form the complete circuit identification code (CIC) of all external lines assigned to the board. The parameter value specifies the most significant seven bits of the CIC. The remaining five bits are determined by the corresponding time slot used for the speech connection of the external lines.
The parameter SLC states the code of a signaling link connecting two points in a common channel signaling system No.7 network. The SLC is sent in message signal units (MSUs) to indicate the signaling link, connecting the destination and originating points, to which the message is related.
MTSTI
Thirdly, the signaling route set shall be initiated with command MTSTI. Parameters of special importance are ROUSET, DPC and TEST.
The parameter ROUSET states a signaling route set number.
The parameter TEST states whether a signaling route test will be performed or not.
MTSRI
Next to do is to initiate the signaling routes using command MTSRI. Parameters of special importance are SIGROU, ROUSET, LNKSET and PRIO.
The parameter SIGROU states a signaling route number.
The parameter PRIO states what priority the signal route has.
MTSDC
Finally the signaling links shall be activated. This can be done link by link or for the whole link set by using command MTSDC. Parameters of special importance are LINK, LNKSET and DEACT.
The parameter DEACT states whether the signaling link shall be deactivated (YES) or activated (NO). If the parameter is omitted the value NO is assumed.
Trunk Lines
After initiating the link set, signaling links, route sets, and signaling routes, the trunk lines shall be initiated following the description in the next section. Variables that are of special importance for CCSS7 are:
- SERV D3: Type of route, shall be set to 0, trunk line.
- SERV D4: Call metering characteristics, shall be set to 1, call metering route.
- ADC D20-D21: Start Signaling Point (SSP).
- SIG D12 - Netservices, has to be set to 0, no net service facilities.
- CNTRL: Decides whether the trunk is controlled by its own (YES) or cooperating (NO) exchange. If the Originating Code Point (OPC) is lower than the Destination Code Point (DPC) and the trunk individual is odd, the CNTRL parameter shall be set to YES.
Basic Routing
Below there is a description of the different commands that are necessary to initiate a route, in order to provide it with its specific categories and characteristics.
Note: For specific characteristics at route initiation and allowed categories for H.323 routes, see the operational directions for IP NETWORKING and also see the description for IP NETWORKING.
ROCAI
The first thing to do is to initiate a route with the command ROCAI. Parameters of special importance are SEL, SERV and SIG.
For the parameter SEL the following characteristics are of special interest:
- Criteria for rerouting at DID traffic.
If any rerouting criteria are set, command RODNI must be used to define the answering position to which the call should be rerouted.
For manual incoming routes, the answering position is primarily defined by the commands OPCTS and OPCGS, see the operational directions for PBX OPERATOR TRAFFIC.
- Selection of a line at outgoing traffic.
For instance, the line selection can be done in the way that the calls are evenly distributed among the external lines.
For parameter SERV the following characteristics are of special interest:
- Whether the system is to handle the route as public (trunk line) or private (tie line).
Used to provide correct ringing signal and display message at the called party.
For parameter SIG the following characteristics are of special interest:
- Whether dial tone after seizure of the external line is to be generated in the own or received from the co-operating exchange at outgoing call.
- Whether the route has any clear signal.
Used to check if the parties, that is, a party in the own exchange or an incoming or outgoing route, are allowed to be connected. If both parties lack the clear signal, the connection of the call is prohibited unless the call is extended and supervised by a PBX operator. PBX operator supervision of extended calls is also stated in parameter SIG.
- When the switch should be through-connected
- Type of signaling system, that is, DPNSS, ISDN, H.323, MFC, decadic pulsing/DTMF, or CCSS7
- Whether netservices are supported or not for H.323, DPNSS, or ISDN routes
RODAI
Second, define the characteristics used by the interface between the external line and the system with the command RODAI. These characteristics depend on the type of signaling system and can be found in the parameter description for the external line in question.
Note: A value stating a specific characteristic for one type of route does not necessarily have the same meaning for another route.
There are three parameters for the purpose of stating characteristics. Parameter VARC is used for stating common characteristics, parameter VARI is used for stating characteristics specific for incoming traffic, and parameter VARO is used for stating characteristics specific for outgoing traffic.
Typical characteristics are:
- type of signaling
- whether end of selection (EOS) should be sent
- whether B-answer should be sent
- whether B-answer should be received
- characteristics for different time supervisions
- specific differences within the concerned signaling system (protocol)
ROEQI
Third, the external line or lines should be logically connected to the route with the command ROEQI.
number_initiate, RODDI
Last, if the route allows outgoing traffic, one or more route access codes for external traffic has to be defined.
The route access code should be initiated as an External Destination number type (ED or EC) with the command number_initiate, see the operational directions for NUMBER ANALYSIS.
The External Destination number is affiliated to an outgoing route by command RODDI.
Parameters of special importance are:
- CHO
states whether the route is the primary or an alternative route for the stated External Destination. If an alternative route is defined for an External Destination, this route is selected when no free external line exists in the primary route.
- TRC and PRE
If an alternative route is selected, the called number might be modified to enable a connection to the same destination using another connection path.
TRC states the number of digits to truncate starting from the first called digit.
PRE states the new digits which should be inserted as the first digits. The (first part of) PRE must be initiated as an external destination.
If both TRC and PRE are given, the digits stated in PRE are inserted after the number of digits stated in TRC has been truncated.
- SRT
states the start position in the called number (possibly modified using TRC and PRE) from which digits should be sent to the co-operating exchange.
For instance, if number 00 is defined as the route access code for a route and these digits are not to be sent to the co-operating exchange, SRT is set to 3.