Teles - Igate 14.0
Teles - Igate 14.0
iGATE
http://www.teles.com/tcs/
All text and figures in this publication have been compiled with great attention to detail. Nonetheless, inaccuracies and typographical errors cannot be entirely avoided.
TELES AG Informationstechnologien provides this document ‘as is’ without warranty of any kind, expressed or implied. TELES AG Informationstechnologien reserves the
right to make changes in product design or specifications without notice.
                                                                                                                                                     table of contents
TABLE OF CONTENTS
                                                                              3
                                                     TABLE OF CONTENTS
                                                                               4
                                                    TABLE OF CONTENTS
                                                                              5
                                                  TABLE OF CONTENTS
                                                                          6
                                                    TABLE OF CONTENTS
                                                                              7
                                                   TABLE OF CONTENTS
                                                                            8
CHAPTER 1
1.1 ORGANIZATION
1.2 CONVENTIONS
                                                                  9
CHAPTER 1
The following symbols are used to indicate important information and to describe levels of possible danger.
              i
                       Note
                       Useful information with no safety implications.
                       Attention
             !         Information that must be adhered to as it is necessary to ensure that the system func-
                       tions correctly and to avoid material damage.
                       Warning
             !         Danger. Could cause personal injury or damage to the system.
                       Dangerous voltage
                       Could cause injury by high voltage and/or damage the system.
                       Electrostatic discharge
                       Components at risk of discharge must be grounded before being touched.
                                                              10
CHAPTER 2
                        Danger of electric shock - the power supplies run on 230 V. Unplug the TELES Infra-
                        structure System from its power source before working on the power supply or ex-
                        tension socket.
                        Bear in mind that telephone and WAN lines are also energized and can cause electric
                        shocks.
                        Do not insert foreign objects into openings in the device. Conductible objects can
                        cause short circuits that result in fire, electric shock or damage to the device.
                        Do not open the TELES Infrastructure System except to install an additional
                        TELES.Component. Changes in the device are not permitted.
                        Make sure to install the system near the power source and that the power source is
             !          easily accessible.
                        Wire your system using only the cables included in the package contents. Use only
                        proper ISDN and Ethernet cables.
                        Be sure to respect country-specific regulations, standards or guidelines for accident
                        prevention.
              i
                        The following information applies for the iGATE GSM only.
        In accordance with the manufacturer’s specifications, the iGATE comes installed with modular transmitters
        Q24CL001 (FCC ID: O9EQ24CL001) and Q24PL001 (FCC ID: O9EQ24PL001).
                                                                11
CHAPTER 2
        The antenna gain, including cable loss, must not exceed 3 dBi at 1900 MHz / 1.4 dBi at 850 MHz for mobile op-
        erating configurations and 7 dBi at 1900 MHz / 1.4 dBi at 850 MHz for fixed mounted operations, as defined in
        2.1091 and 1.1307 of the rules for satisfying RF exposure compliance.
        The antenna(s) used for this transmitter must be installed to provide a separation distance of at least 20 cm from
        all persons and must not be collocated or operating in conjunction with any other antenna or transmitter.
        The iGATE has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of
        the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a resi-
        dential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed
        and used in accordance with the instructions, may cause harmful interference to radio communications. However,
        there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harm-
        ful interference to radio or television reception, which can be determined by turning the equipment off and on, the
        user is encouraged to try to correct the interference by one or more of the following measures:
           Reorient or relocate the receiving antenna.
           Increase the separation between the equipment and receiver.
           Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
           Consult the dealer or an experienced radio/TV technician for help.
        This section describes all points crucial to the TELES Infrastructure System’s system security.
        The system’s location must support normal operation of TELES Infrastructure Systems according to EN ETS 300 386.
        Be sure to select the location with the following conditions in mind:
                        Location: Make sure you install the system horizontally in a clean, dry, dust-free lo-
             !          cation. If possible, the site should be air-conditioned. The site must be free of strong
                        electrical or magnetic fields, which cause disrupted signals and, in extreme cases,
                        system failure.
                        Temperature: The site must maintain a temperature between 0 and 45°C. Be sure to
             !          guard against temperature fluctuations. Resulting condensation can cause short cir-
                        cuiting. The humidity level may not exceed 80%.
                        To avoid overheating the system, make sure the site provides adequate ventilation.
                                                                 12
CHAPTER 2
                            Power: The site must contain a central emergency switch for the entire power source.
                            The site’s fuses must be calculated to provide adequate system security. The electri-
                            cal facilities must comply with applicable regulations.
                            The operating voltage and frequency may not exceed or fall below what is stated on
                            the label.
                            Antenna: iGATE contains no provision or protective device against power surges or
                            lightning strikes.
                            The installation of the antenna must fulfill all necessary safety requirements. Employ
                            the services of a professional antenna installer.
        Regular servicing ensures that your TELES.System runs trouble-free. Servicing also includes looking after the room
        in which the system is set up. Ensure that the air-conditioning and its filter system are regularly checked and that
        the premises are cleaned on a regular basis.
If your system contains any of the following components, replace them according to the following table:
        Changing configuration data and/or SIM card positions may lead to malfunctions and/or misrouting, as well as pos-
        sible consequential damage. Make changes at your own risk. TELES is not liable for any possible damage resulting
        from or in relation to such changes. Please thoroughly check any changes you or a third party have made to your
        configuration!
        Make sure your hard disk or flash disk contains enough storage space. Downloading the log files and deleting them
        from the system on a regular basis will ensure your system’s reliability.
                                                                13
CHAPTER 2
Be careful when deleting files that you do not delete any files necessary for system operation.
        Call Detail Records are intended for analysis of the system’s activity only. They are not designed to be used for
        billing purposes, as it may occur that the times they record are not exact.
              i
                        Inaccuracies in the generation of CDRs may occur for active connections if traffic is
                        flowing on the system while modifications in configuration or routing files are acti-
                        vated.
        Every day hackers develop new ways to break into systems through the Internet. While TELES takes great care to
        ensure the security of its systems, any system with access through the Internet is only as secure as its user makes
        it. Therefore, to avoid unwanted security breaches and resulting system malfunctions, you must take the following
        steps to secure your TELES.System if you connect it to the Internet:
           Use an application gateway or a packet firewall.
           To limit access to the system to secure remote devices, delete the default route and add individual secure
            network segments.
         Access to the system via Telnet, FTP, HTTP, GATE Manager or remote vGateDesktop must be password
            protected. Do not use obvious passwords (anything from sesame to your mother-in-laws maiden name).
            Remember: the password that is easiest to remember is also likely to be easiest to crack.
        The firewall must support the following features:
         Protection against IP spoofing
         Logging of all attempts to access the system
        The firewall must be able to check the following information and only allow trusted users to access the TELES.Sys-
        tem:
           IP source address
           IP destination address
           Protocol (whether the packet is TCP, UDP, or ICMP)
           TCP or UDP source port
           TCP or UDP destination port
           ICMP message type
                                                                14
CHAPTER 2
        For operation and remote administration of your TELES.System, open only the following ports only when the indi-
        cated services are used:
                                                                    15
CHAPTER 2
                  i
                           Connection from a TELES.vGATE Control Unit to a iGATE requires ICMP access. The
                           TCP filters listed above are activated in the default configuration of the TELES.vGATE
                           Control Unit or the NMS server.
                                                                  16
CHAPTER 3
OVERVIEW
                                                 3 OVERVIEW
        Mobile phone charges have become an impor-
        tant cost factor for many carriers and compa-
        nies. Connections from the fixed network to
        mobile networks share a considerable amount
        of these costs.
        The iGATE can help reduce these costs up to
        70%, because calls from mobile network to
        mobile network cost significantly less than
        calls from the fixed network to mobile net-
        works. Fixed-to-mobile calls that travel                               PSTN
        through the iGATE are routed and billed as if
        they occurred within the same mobile network.
        You can insert SIM cards from any carrier into
        the SIM4 or SIM24 module.
        Depending on whether your system includes iGATE 4 GSM Boards, iGATE 4 CDMA Boards or
        iGATE 4 UMTS Boards, each iGATE can provide direct access to the GSM, CDMA or UMTS mobile network with up
        to 32 mobile channels – 4 mobile channels per iGATE 4 Mobile Board or up to 8 iGATE 4 Mobile Boards per iGATE.
        The TELES.iGATE Antenna Splitter Board combines the antennas so that only one or two antennas leave the sys-
        tem.
        The iGATE has 2 optional PRI ports, optional BRI ports and VoIP functionality, which provides up to 32 VoIP chan-
        nels, so connection of the mobile gateway occurs by VoIP. The iGATE combines the cost savings resulting from
        implementation of the iGATE with those of Voice over IP transmission. iGATEs can be set up in various national or
        international locations.
        The iGATE features packages are modular expansion applications that provide services in addition to those offered
        with the standard software. Feature packages can be activated separately or in combination with one another, so
        that you can design your system according to your own needs.
        The iGATE supports all of the following standards:
         GSM (Global System for Mobile Communications)
         CDMA (Code-Division Multiple Access)
         UMTS (Universal Mobile Telecommunications System)
        Throughout this manual, the following boards will be referred to as iGATE 4 Mobile Board, unless otherwise spec-
        ified:
           iGATE 4 GSM Board
           iGATE 4 CDMA Board
           iGATE 4 UMTS Board
                                                              17
CHAPTER 3
OVERVIEW
3 . 1 WH A T ’S N E W I N VE R S I O N 1 4 . 0
                                                           18
CHAPTER 3
OVERVIEW
3.2 FEATURES
        VoIP
           Modular 16 to 180 channels
           H.323 v.4 / SIP v.2 signaling (RFC 3261), operating in parallel
           Various audio codecs: G.711, G.723.1, G.726, G.728, G.729, GSM, iLBC, Fax T.38, Data: clear channel
           Gatekeeper support
           Registrar support
           RTP multiplexing
           STUN (support for non-static IP addresses)
           ENUM (changes phone numbers into IP addresses)
                                                             19
CHAPTER 3
OVERVIEW
3 . 3 H O W I G AT E WO R K S
        The iGATE is connected to the PSTN or an IP network and to the mobile network.
           During outgoing calls from the PSTN or IP network to mobile, dialed digits are compared with the routing-
            table entries for various mobile networks. The calls are then routed through the corresponding SIMs in the
            iGATE and forwarded to the number dialed.
           Only the connection from the SIM in the iGATE to the mobile number in the same mobile network is
            charged.
        In each of the following scenarios, calls are routed through individual gateways into the mobile network:
        a) Integration in a carrier network:
           One or more mobile gateways are
           connected to the carrier network. The
           carrier network routes mobile connec-
           tions to the individual mobile gate-
           ways, which then terminate the
           mobile calls.
PSTN
                                                               20
CHAPTER 3
OVERVIEW
                                                             21
CHAPTER 3
OVERVIEW
PSTN
PSTN
                                                         22
CHAPTER 4
INSTALLATION
                                              4 INSTALLATION
        Follow the easy instructions to set up your iGATE in a matter of minutes. Implementation of individual scenarios
        requires adjustments to the appropriate interfaces. Tips for basic settings are described here. Links to relevant
        chapters are provided for more specific configuration changes.
4.1 CHECKLIST
4 . 2 PA C K A G E C O N T E N T S
        Your iGATE package contains the following components. Check the contents to make sure everything is complete
        and undamaged. Immediately report any visible transport damages to customer service. If damage exists, do not
        attempt operation without customer-service approval:
             1 iGATE
             1 power supply cable
             1 or 2 RJ-45 ISDN cables with gray connectors; 5 meters (optional)
             1 or 2 RJ-45 ISDN cables with green and blue connectors; 5 meters (optional)
             1 RJ-45 LAN cable with gray connectors; 3 meters
             1 copy of quick installation instructions
             1 CD containing Quickstart, GATE Manager, system manual and default configuration files
             Mobile antennas (optional)
        Throughout this manual, the following boards will be referred to as iGATE 4 Mobile Board, unless otherwise spec-
        ified:
             iGATE 4 GSM Board
             iGATE 4 CDMA Board
             iGATE 4 UMTS Board
                                                                 23
CHAPTER 4
INSTALLATION
        The iGATE is available in expansion levels from 4 to 32 mobile channels. The following pages describe installation
        of the iGATE.
        Figure 4.1 > shows the rear view of a iGATE, which contains the following boards:
        Left side from top to bottom:
         iGATE 4 Mobile Board (for mobile channels 1-4)
         iLCR Base Board
         Optional iGATE Antenna Splitter Board
        Right side from top to bottom:
           Optional iGATE 4 Mobile Board (for mobile channels 13-16)
           Optional iGATE 4 Mobile Board (for mobile channels 9-12)
           Optional iGATE 4 Mobile Board (for mobile channels 5-8)
                                                                                   SIM-Card
                               Power                   PRI 1 PRI 2       Antenna   Carrier
                                                                       Ethernet
                                                   Antenna             10/100 Base-T
        Figure 4.2 > shows the rear view of a iGATE BRI, which contains the following boards:
        Left side from top to bottom:
         iLCR 4BRI Board
         iLCR Base Board
         One empty slot
        Right side from top to bottom:
           One empty slot
           iGATE 4 Mobile Board (for mobile channels 5-8)
           Optional iGATE 4 Mobile Board (for mobile channels 1-4)
                                                                                       SIM-Card
                                                               4 BRI                   Carrier
                                Power                          Ports        Antenna    (opt.)
                                                                24
CHAPTER 4
INSTALLATION
        Figure 4.3 > shows the rear view of a TELES.iGATE, which contains the following boards:
        From left to right:
           iLCR Base Board
           iGATE 4 Mobile Board (for mobile channels 1-4)
           iGATE 4 Mobile Board (for mobile channels 5-8)
           iGATE 4 Mobile Board (for mobile channels 9-12)
           iGATE 4 Mobile Board (for mobile channels 13-16)
           Optional iGATE Antenna Splitter Board
           iGATE 4 Mobile Board (for mobile channels 17-20)
           Optional iGATE 4 Mobile Board (for mobile channels 21-24)
           Optional iGATE 4 Mobile Board (for mobile channels 25-28)
           Optional iGATE 4 Mobile Board (for mobile channels 29-32)
                                                PRI 1     SIM-Card
                                                          Carrier       Antenna
                                           PRI 2
                                                        Ethernet
                                Power                   10/100 Base-T        Antenna
        Before installing your iGATE, make sure you have the following connections in place:
           Ethernet connection
           Antenna connection(s)
           Optional ISDN PRI connection to PSTN and/or to the PBX
           Power
           If the system is not connected to a vGATE, insert the SIM cards into the SIM-card carrier, the SIM-card
            carrier into the iGATE 4 Mobile Board.
        To connect the iGATE’s Ethernet port to your local network, connect the system to an Ethernet switch or hub in
        your network. Use the three meter cable with gray connectors.
                                                              25
CHAPTER 4
INSTALLATION
        If you want to connect the iGATE directly to your computer and a connection cannot be established, use a cable
        with the following pin assignment:
                                        Connector 1                         Connector 2
                                               TX+         1                1          TX+
                                               TX-         2                2          TX-
                                               RX+         3                3          RX+
                                                           4                4
                                                           5                5
                                               RX-         6                6          RX-
                                                           7                7
                                                           8                8
        If you are connecting a iGATE to E1 and need to change the assignment of an adapter, assign the pins as follows.
        Connectors on cables included with the iGATE will be gray for TELES TE and gray for NT on the remote device, blue
        for TELES NT, and green for TE on the remote device:
        If you are connecting a system with the former TELES assignment to one with the current TELES assignment, con-
        nectors will be yellow for former TE or NT and green for current TE or NT. Pin assignment will be as follows:
                                                                           Former TELES
                                        TELES System                       Equipment
                                Green            RX    1                    1                      Yellow
                                                 RX    2                    2
                                                       3                    3   TX
                                                 TX    4                    4   RX
                                                 TX    5                    5   RX
                                                       6                    6   TX
                                                       7                    7
                                                       8                    8
                                                               26
CHAPTER 4
INSTALLATION
        If your system contains optional iLCR 4BRI Board, the connection to the PBX or PSTN lines occurs with the RJ45
        connectors. Each connector's pin out is for BRI line:
                    RJ-45                         TE                           NT                        Polarity
            3                         Transmit                     Receive                      +
            4                         Receive                      Transmit                     +
            5                         Receive                      Transmit                     -
            6                         Transmit                     Receive                      -
        Pins 1, 2, 7, and 8 are not used. TE refers to terminal endpoint (connection to PSTN). NT refers to network termi-
        nation Layer 1 (connection to PBX).
        Plug an antenna cable into each of the SMA jacks. If the system contains a iGATE Antenna Splitter Board, plug the
        antenna(s) in there. If not, plug them into the jacks on the iGATE 4 Mobile Board.
                i
                        Antennas connected to the iGATE must be installed by a qulaified technician accord-
                        ing to all necessary safety requirements and the antenna’s installation specifications.
                        The antenna adaptor does not provide power surge protection.
        Each iGATE 4 Mobile Board has a slot for a SIM-card carrier. Insert the SIMs in the SIM-card carrier and then insert
        the SIM-card carrier into the iGATE 4 Mobile Board.
        If the system is connected to a vGATE, the SIM cards will be inserted into the vGATE Sim Unit and not into the
        iGATE.
                        You must configure the PINs in the pabx.cfg before inserting the SIM-card carrier
                i       unless the SIM has no PIN or the PIN is 0000.
                                                                27
CHAPTER 4
INSTALLATION
        The SIM-card carrier module contains the SIM cards for the individual mobile channels. Each iGATE 4 Mobile Board
        (standard) contains one module, which can be inserted into and removed from the back of the
        iGATE 4 Mobile Board during operation. Depending on the modules specifications and version, up to six SIM cards
        can be implemented in each mobile channel or you can assign SIMs to individual mobile channels as you wish (see
        <SIMV> in Table 5.16 >).
        SIM cards are mounted on the front and back of the SIM24 module (optional) or the front of the SIM4 module
        (Figure 4.4 >). As a guide to help you distinguish top from bottom on the SIM24 module, SIM0-5 and SIM12-
        17 are printed in the upper corner near the module’s blue handle, as shown in Figure 4.4 >. The SIMs on the
        SIM4 module are numbered from right to left, with one SIM assigned to each mobile channel in ascending order.
        You can select the SIM cards you would like to use via software. Individual SIM cards on each channel can be active
        in different Timezones, or they can be reassigned following a time limit or call.
                                               Figure 4.4 SIM-Card Carrier Modules
                                                                                                           SIM0-5
            SIM24 Module                                       0        1       2     3      4      5
            Front View
                                                               6        7       8        9   10     11
                                                                                                           SIM6-11
SIM12-17
            SIM24 Module                                      12       13       14   15      16    17
            Rear View
                                                              18       19       20   21      22     23
                                                                                                           SIM18-23
                                                          3        2        1        0
            SIM4 Module
                                                               28
CHAPTER 4
INSTALLATION
                        Insert ONLY the SIM-card carrier module into the iGATE 4 Mobile Board!
             !
        If a SIM24 carrier is used, entries in the subscriber line of the configuration file pabx.cfg or in nightfiles refer to
        the SIM positions for each mobile controller. The SIM positions and mobile controllers correspond with the physical
        SIM slots on the SIM-card carrier module as shown in Table 4.2 >:
                                                                  29
CHAPTER 4
INSTALLATION
        Example:               In the following example, SIMs from various SIM positions in the SIM24 carrier are assigned to
                               individual GSM controllers. Bear in mind that the first GSM controller on the iGATE 4 GSM Board
                               has the physical controller number 00 in the system. SIM 1, which corresponds with slot 0 on the
                               SIM24 carrier, is assigned to the first GSM controller.
             Physical Controller              Mobile Controller on           SIM Card Position for      Slot in the SIM24 Car-
            Number in the System                      the                    the Mobile Controller                rier
                                             iGATE 4 Mobile Board
            08                               1                            1                             0
            09                               2                            3                             9
            10                               3                            2                             6
            11                               4                            6                             23
                                                                        30
CHAPTER 4
INSTALLATION
        Each computer that is to communicate with the iGATE requires a network connection. Please have the following
        information for connection to your network available:
           IP address in the local network for the iGATE to be configured
           Netmask for the iGATE to be configured
           Default gateway for iGATE to be configured
           DNS server address
           NTP server address
              i
                        Bear in mind that the preconfigured iGATE’s default IP address is 192.168.1.2. If it is
                        already being used in your local network, you must run Quickstart without a connec-
                        tion to your local network. This can occur using a back-to-back Ethernet connection
                        from your computer to the iGATE. If the desired IP address for the iGATE is not in your
                        network, you must assign your computer a temporary IP address from this range.
        Quickstart is an application that helps you to configure the basic settings of your iGATE quickly and conveniently.
        Quickstart can be installed on any of the following operating systems:
         Windows 98 SE
         Windows NT
         Windows ME
         Windows 2000
         Windows XP
         Windows Vista
        If you are using any of these operating systems, please follow the instructions in this chapter. If you are using a
        non-Windows operating system (e.g. Linux) follow the instructions in Chapter 4.8 >.
                                                               31
CHAPTER 4
INSTALLATION
                                                                32
CHAPTER 4
INSTALLATION
        Now you can use Quickstart, to set up your iGATE’s IP configuration. Open Quickstart.exe. The program will au-
        tomatically search for your iGATE in the local network. For Quickstart, the source UDP port is 57445. It might be
        necessary to change the firewall rules on your system.
        Click the Search button if you would like to restart the search. When the program has found your iGATE, it will
        appear in the window. As soon as it appears, you can end the search by clicking Stop.
        The system’s icon will appear in gray if it is unconfigured. Once it has been configured, it will appear in green. The
        serial number appears as the system’s name. The iGATE is partially preconfigured. The configuration files
        pabx.cfg and route.cfg are already on the system. Only the system’s IP-related entries must be set. Individ-
        ual port adjustments are to be made manually later. Port properties can be changed and parameters can be as-
        signed then.
        To change the appearance of the window, select Large Icons, Small Icons or Details from the View menu. In
        the following description, we will use the Details View, which contains the following columns:
                   Heading                                               Definition
            Identifier           This column lists the iGATE’s serial number.
            # of VoIP Ctrls      This column lists the number of VoIP Modules installed in the iGATE. Each VoIP Module
                                 represents one VoIP controller.
            VoIP Channels        This column shows the number of VoIP channels per VoIP Module.
            Type                 Lists the type of the system.
            Box                  An X means the system is a VoIPBOX.
                                                                 33
CHAPTER 4
INSTALLATION
        If you are using a computer that does not use a Windows operating system, you can preconfigure the iGATE via
        FTP. The iGATE’s default IP address is 192.168.1.2. To configure the iGATE using FTP, you must assign your com-
        puter an IP address from network range 192.168.1.0 Class C and then access the iGATE via FTP.
                                                                34
CHAPTER 4
INSTALLATION
        The default user is teles and the default password is tcs-ag. To configure the system, use the default configuration
        file example on the CD in the Configfiles directory and the following four subdirectories:
           IPconfig
            This subdirectory contains the file (ip.cfg) responsible for configuration of the Ethernet interface.
           carrier
            This subdirectory contains a configuration (pabx.cfg, route.cfg) for iGATE 32 with
            iGATE 4 GSM Boards and VoIP.
           corporate
            This subdirectory contains a configuration (pabx.cfg, route.cfg) for iGATE 16 with
            iGATE 4 GSM Boards.
           umts_system
            This subdirectory contains a configuration (pabx.cfg, route.cfg) for iGATE 16 with
            iGATE 4 UMTS Boards.
           bri_system
            This subdirectory contains a configuration (pabx.cfg, route.cfg) for iGATE 8 with
            iGATE 4 GSM Boards and an optional iLCR 4BRI Board.
        To edit the default configuration, follow the directions in Chapter 5 >. Upload the configuration files into the /
        boot directory.
        With a management connection to the NMS (Network Management System), the iGATE can retrieve its configura-
        tion files from the configured NMS. That means that custom configuration of the device occurs automatically when
        the device is started. The following setting must be made in the [System] section of the pabx.cfg:
        AlarmCallback=<ip address NMS server>
        RemoteCallback=<ip address NMS server> <time> <days of week + holiday>
        As soon as the device is started, it connects automatically with the NMS, which uses the device’s TAG number to
        send a prepared configuration. For further information on configuration of the NMS, please refer to the NMS Sys-
        tems Manual.
        Each PRI port has one red and one green LED to show the port’s status.
        The red LED displays the status of the bypass relay that connects the ports with each other when the PRI port’s
        relays are off. That means when the system is connected between a PBX and the PSTN, it is transparent when the
        LED is red.
                                                                35
CHAPTER 4
INSTALLATION
The green LED displays whether or not layer 1 is active on the PRI port’s connected cable.
                  LED                                                   Description
            Red on         The system and bypass relay are inactive (normally during the startup phase).
            Red off        The system has started and the bypass relay is active.
            Green on       Layer 1 is active.
            Green off      Layer 1 is inactive.
4 . 1 0 . 2 I G AT E 4 M O B I L E B O A R D S I M - C A R D L E D S
        On the spine of the iGATE 4 Mobile Board, to the right of the SIM card module,
        two columns of green LEDs display the status of each mobile channel.
                                                                                                        GSM Channel 1
                                                                                                                         Connection Operation
        The LEDs in the upper column show the general operational status of the SIM
                                                                                                                                      LEDs
                                                                                                        GSM Channel 2
                                                                                                  SIM
                                                                                                        GSM Channel 3
        cards, while the status of the mobile channels is displayed in the lower column.                GSM Channel 4
        Table 4.5 > contains a description of the LEDs and what they mean:                              GSM Channel 1
                                                                                                        GSM Channel 2
                                                                                                                           LEDs
                                                                                                  GSM
                                                                                                        GSM Channel 3
                                                                                                        GSM Channel 4
Ant
                                                                   36
CHAPTER 4
INSTALLATION
        After the system has been configured and all cables are connected, remote administration and maintenance can
        occur with the GATE Manager (Chapter 4.11.1 >)or via FTP (Chapter 4.11.2 >).
                                                            37
CHAPTER 4
INSTALLATION
4 . 1 1 . 1 G AT E M A N A G E R
        The GATE Manager administration and maintenance software offers a broad range of functions. The
        GATE Manager is user friendly and can be customized to suit your needs.
        The following maintenance functions are possible:
            Display system information and network element status.
            Retrieve and display configuration files.
            Restart network elements.
            Use of a trace option for checking functions and fault diagnosis. Option to use an external tool, e.g. to
             display and break down trace data.
         Update the system software (firmware) and configuration tables.
         Retrieve CDRs (Call Detail Records).
         Display the current connections (status).
         Display statistical information for network elements and interfaces.
         Display the status of the interfaces.
        Use the CD enclosed in your package contents to install the GATE Manager. For a detailed description of installa-
        tion and implementation of the GATE Manager, please refer to the GATE Manager and Utilities Programs Manual.
        GATE Manager remote access can occur via IP or ISDN. GATE Manager access via IP uses port 4444 as origination
        TCP port and port 4445 as destination port. The following default value (4445) is configured in the pabx.cfg
        file for the system’s port:
MoipPort=4445
        In the default configuration, ISDN access is disabled. To configure the system so that certain data calls are received
        as remote administration calls, make the following changes in the pabx.cfg:
        RemoteCode=BBB
        MapAll<num>=BBB DATA
        Make the following entries in the route.cfg if the system is to handle all data calls as remote-administration calls:
                                                                 38
CHAPTER 4
INSTALLATION
            MapAll0=BBB   DATA
            MapAll1=BBB   DATA
            MapAll2=BBB   DATA
            MapAll3=BBB   DATA
            MapAll4=BBB   DATA
            MapAll5=BBB   DATA
            MapAll6=BBB   DATA
            MapAll7=BBB   DATA
            MapAll8=BBB   DATA
            MapAll9=BBB   DATA
        For a detailed description of ISDN configuration, see the TELES Infrastructure Systems Parameters and Hardware
        Manual.
4.11.2 FTP
        Remote access can also occur via FTP. You can use FTP to transfer configuration files. You can also carry out func-
        tions and traces with raw commands. Use the username teles and the defined password to connect to the sys-
        tem with FTP.
        The following entries ensure the security of your FTP access:
                                                            FTP Security
            FtpdPort=<port>
               Defines the FTP access port (default 21).
            RemotePassword=<password>
               Defines the password for FTP and GATE Manager access. Please refer to Chapter 4.11.3 > for instructions
               on how to enter an encrypted password in the pabx.cfg. If you do not define a password, access to the
               system via GATE Manager occurs without a password, and FTP access occurs with the default password
               tcs-ag.
        Once you have access to the system, you will be in the folder /home/teles. To upload or download configura-
        tion files change to the directory /boot. To download log files, change to the directory /data if the system con-
        tains a flash disk. Otherwise change to the directory /boot.
                                                                  39
CHAPTER 4
INSTALLATION
                             Command                                              Function
            SITE xgboot                            Boots the entire system.
            SITE xgact                             Activates the configuration.
            SITE xgact 1-19                        Activates the Night section corresponding with the number 1-19.
            SITE xgtrace 0                         Deactivates trace.
            SITE xgtrace 1                         Activates layer 2 trace.
            SITE xgtrace 2                         Activates layer 3 trace.
4 . 1 1 . 3 S E T T I N G A PA S S W O R D F O R R E M O T E A C C E S S
        The following entry ensures the security of your remote access. Use the mkpwd.exe tool to generate the pass-
        word. You will find it on the enclosed CD in the directory pwd.
        Start the program in a command window with the entry mkpwd <password>. The output shows the encrypted
        password. Enter the encrypted password in the configuration file pabx.cfg’s parameter line as follows:
RemotePassword=<crypt>
        When the file has been transferred to the system and the configuration has been activated, access to the system
        can occur only with the password. Don’t forget to memorize the password!
        If you do not define a password, access to the system via GATE Manager occurs without a password, and FTP ac-
        cess occurs with the default password tcs-ag.
                                                              40
CHAPTER 5
CONFIGURATION FILES
                                     5 CONFIGURATION FILES
        This chapter describes the basic setup and the most commonly used entries for the configuration files. Configura-
        tion of iGATEs is managed in the following three files:
                     File                                                    Function
            ip.cfg                 This file is for the basic configuration of the Ethernet interfaces.
            pabx.cfg               This file is for system-specific and port-specific settings.
            route.cfg              This file is for routing entries.
                 i
                            Changing configuration data and/or SIM card positions may lead to malfunctions
                            and/or misrouting, as well as possible consequential damage. All changes are made
                            at own risk. TELES is not liable for any possible damage out of or in relation with such
                            changes. Please do therefore thoroughly check any changes you or a third party have
                            made to your configuration.
        The system comes without the file ip.cfg. The default configuration with the IP address 192.168.1.2 is active when
        this file is not on the system. You can configure the system using Quickstart, GATE Manager or via FTP (user teles,
        password tcs-ag). If you use the HTTP user interface to make configuration changes, the files will be adjusted au-
        tomatically.
        Make sure you secure the system with new passwords following configuration and remember to memorize the
        passwords!
        These configuration files contain all system-specific settings and are used when the system starts. Comments in-
        cluded in these files must begin with a semicolon. They do not need to be at the beginning of a line. Configuration
        files must end with an empty line.
        Please save a backup of the files pabx.cfg and route.cfg before starting configuration.
                                                                       41
CHAPTER 5
CONFIGURATION FILES
        The configuration files follow these conventions: Individual files are divided into sections. These sections always
        begin with a line entry in square brackets. The basic required sections are in these files:
        The basic settings for the two Ethernet interfaces are entered here. One interface usually suffices. The second in-
        terface can be used for special requirements, e.g. as a hub port, DSL router or vLAN interface. Generally, these
        settings are entered once and then left unchanged.
        This file contains the following sections, which must appear in the order given:
                         Section                                                    Function
            [System] (required)                 This section contains entries that define the default gateway and/or special
                                                routing entries.
            [emac0] (required)                  The Ethernet Media Access Controller section(s) define the physical Ethernet
            [emac1] (optional)                  interface(s).
            [nat] (optional)                    This section includes settings for Network Address Translation.
            [bridge0] (optional)                These section(s) contain settings for the second Ethernet controller in bridge
                                                mode.
            [pppoe<x>] (optional)               These sections contain settings for direct connection between the system
                                                and the DSLAM when the PPPoE protocol is used. <x> can be 0 or 1.
            [firewall] (optional)               This section contains settings for activating the system’s firewall.
                                                                    42
CHAPTER 5
CONFIGURATION FILES
                        Section                                                 Function
            [altqd] (optional)               This section enables prioritization of VoIP packets in the iGATE through an
                                             IP network using bandwidth control.
            [dhcpd] (optional)               This sections contains a list of parameters and settings for the DHCP server
                                             in the system. It is divided into global settings for the server and parameters
                                             for the DHCP subnet.
            [xppp<x>] (optional)             This section contains settings for point-to-point dial-up setup via ISDN.
            [vlan<x>] (optional)             These section(s) contain settings for the virtual networks. <x> can be any-
                                             thing from 0 to 9.
        The [System] section contains entries that define the default gateway and/or special routing entries.
        To define the standard gateway, use the following entry to set the IP address:
        DefaultGw=<ip addr>
        Example:
            [System]
            DefaultGw=192.168.1.254
        If you must route specific net ranges to gateways other than what is defined in the default route, make the follow-
        ing entries in the [System] section:
        Route=<target range> -netmask <ip mask> <ip gateway>
        Example:
            [System]
            DefaultGw=192.168.1.254
            Route=10.0.0.0 -netmask 255.0.0.0 192.168.1.1
        The system includes two Ethernet interfaces (EMAC0 and EMAC1). Only the first is active in the default configura-
        tion. Therefore, make sure you plug the cable into the right controller. The second Ethernet interface can be con-
        figured as needed.
        The following settings are possible for the sections [emac0] (matched to the first Ethernet controller) and [emac1]
        (matched to the second Ethernet controller):
        IpAddress=<ip addr>/<netmask>
        The IP address is entered in decimal notation, followed by a slash (/) and the netmask in bit notation.
                                                                43
CHAPTER 5
CONFIGURATION FILES
Example:
IpAddress=192.168.1.2/24
        A bridge can connect two networks with each other. A bridge works like a hub, forwarding traffic from one inter-
        face to another. Multicast and broadcast packets are always forwarded to all interfaces that are part of the bridge.
        This can occur on the Ethernet or VLAN level:
        BrConfig=add <interface-x> add <interface-y> up
        Activating another Ethernet interface in this way is useful, for example, when the Ethernet switch does not have
        any more ports available for connection of the system. You can simply unplug a cable and plug it into the system’s
        second Ethernet interface.
        Example:
            [bridge0]
            BrConfig=add emac0 add emac1 up
5 . 1 . 4 N AT C O N F I G U R A T I O N
        The NAT (Network Address Translation) module translates IP addresses from the local network to an IP address or
        range on a public interface. All rules are defined in the [nat] section:
                                                                 44
CHAPTER 5
CONFIGURATION FILES
            <public network ad-    Defines the public network range, with network address and mask (usually exactly one
            dress/mask>            address), into which the local IP addresses are to be translated. The IP address is entered
                                   in decimal notation, followed by a slash (/) and the netmask in bit notation.
            <optional entries>     Special rules can be defined for some services or protocols. The system can serve as a
                                   proxy for FTP:
                                   proxy port ftp ftp/tcp
                                   Special ports for the public address(es) can be assigned for the protocols TCP and UDP.
                                   The range is defined by the start and end ports:
                                   portmap tcp/udp <start port>:<end port>
                                   If no optional entry is defined, all other addresses will be translated without special rules.
            rdr=<interface> <public network address/mask> port <port> -> <local network address/mask>
                                         port <port_number> <protocol>
            This parameter redirects packets from one port and IP address to another.
            <interface>            Defines the translated interface or protocol:
                                   emac1          The system’s second Ethernet interface
                                   pppoe0         Protocol used for DSL connections
                                   Protocol used for ISDN and CDMA dial-up connections
            <public network ad-    Defines the public network range, with network address and mask (usually exactly one
            dress/mask>            address), into which the local IP addresses are to be translated. The IP address is entered
                                   in decimal notation, followed by a slash (/) and the netmask in bit notation.
            <port>                 Defines the port number.
            <local network ad-     The IP address is entered in decimal notation, followed by a slash (/) and the netmask
            dress/mask>            in bit notation. The entire local network range is configured.
            <protocol>             Defines the protocol. tcp and udp are possible.
        Example:            The following NAT settings are for a system in which PPPoE (DSL) is used toward the Internet.
                            The local network range 192.168.1.0 Class C is translated with the following rules:
              The proxy mode is used for FTP.
              All other TCP and UDP packets are mapped to the external ports 40000 to 60000.
              There are no special rules for any other services.
              Incoming requests to port 80 and 443 in the public IP address 192.168.1.100 are redirected to ports 80
               and 443 in the local IP address 192.168.1.100.
                                                                   45
CHAPTER 5
CONFIGURATION FILES
            [nat]
            map=emac1   192.168.1.0/24 -> 0/32 proxy port ftp ftp/tcp
            map=emac1   192.168.1.0/24 -> 0/32 portmap tcp/udp 40000:60000
            map=emac1   192.168.1.0/24 -> 0/32
            rdr=emac1   0/0 port 80 -> 192.168.1.100 port 80 tcp
            rdr=emac1   0/0 port 443 -> 192.168.1.100 port 443 tcp
        The protocol Point-to-Point over Ethernet is used for DSL communication with the DSLAM. That means the system
        can connect directly with the carrier network and terminate VoIP traffic directly.
        All necessary information for setup of the PPPoE connection is defined in the [pppoe<x>] section. That means
        username, password and authentication protocol are set here. The Ethernet interface is emac1 and the gateway
        can also be defined. The parameter PppoeIf defines the physical Ethernet interface used (always emac1). The
        settings are entered as follows:Bear in mind that configuration of the firewall, the NAT module and prioritization
        of the VoIP packets must be considered when routing voice and data through the DSL line.
        Example:             The following entry will create the interface pppoe0, with the username user and the pass-
                             word pwd. The PAP authentication protocol is used. The default route occurs via DSL:
            [pppoe0]
            PppoeIf=emac1
            User=user
            Pwd=pwd
            AuthProto=pap
            Route=0.0.0.0
        The firewall settings provide options for limiting or denying access to and from the system. If you do not configure
        this section, the firewall is inactive and access is unlimited.
                            Make sure you configure the firewall rules carefully. The rules are processed from top
               !            to bottom. If you use the option quick, you will break the sequence. We recomend
                            that you put the most restrictive rule at the end of the configuration.
        Example:             In the following example, only port 4445 allows incoming connections from the IP address
                             192.168.1.10. All others will be blocked.
            [firewall]
            fw=pass in quick on emac0 proto tcp from 192.168.1.10/32 to any port
            eq 4445 flags S keepstate keep frags
            fw=block in log quick on emac0 all
                                                                46
CHAPTER 5
CONFIGURATION FILES
                                                          [firewall]
                                                  fw=<mode> <direction> <list>
            <mode>                   Two modes are possible for permitting or denying access:
                                     pass        permits access
                                     block       denies access
            <direction>              Possible directions are in and out:
                                     in             external to internal
                                     out            internal to external
            <list>                   All other entries specify the other settings for the corresponding firewall rules and are
                                     optional. The order in the line is as listed below:
            log
               Records non-matching packets.
            quick
               Allows short-cut rules in order to speed up the filter or override later rules. If a packet matches a filter
               rule that is marked as quick, this rule will be the last rule checked, allowing a short-circuit path to avoid
               processing later rules for this packet. If this option is missing, the rule is taken to be a "fall-through rule,
               meaning that the result of the match (block/pass) is saved and that processing will continue to see if there
               are any more matches.
            on <interface>
               The firewall rule is used only for the defined interface (e.g. emac0, pppoe0).
            from <networkaddress/mask>
            to <networkaddress/mask>
                from defines the source IP-address range for incoming packets. to defines the target IP-address range for out-
                going packets. The IP address appears in decimal notation, followed by a slash (/) and the netmask in bit
                notation. any stands for all IP addresses (e.g.: to any).
             NOTE: If you use the rule pass in/out in combination with the option from <ip> to <ip>, you must
             specify a protocol number with proto and a port number. If you not specify the port, the system
             may not be reachable.
               EXAMPLE:
               fw=pass in quick on pppoe0 proto tcp from any to any port eq 4445
            proto <protocol>
               defines the protocol, for which the rule is valid (e.g.: proto tcp, proto udp, proto icmp).
                                                                    47
CHAPTER 5
CONFIGURATION FILES
                                                          [firewall]
                                                  fw=<mode> <direction> <list>
            port eq <num>
               <num> defines the port as number (e.g.: port eq 4445).
            keep state
               Ensures that the firewall checks packets from the beginning to the end of a session. This is necessary, as the
               firewall does not know when a session begins or ends.
            flags S
                Only syn. packets are accepted and recorded in the state table. In conjunction with keep state, packets from
                sessions that have been inactive will also be routed. The advantage of this entry is that random packets will
                not be accepted.
            keep frags
               Fragmented packets are also routed.
Example:
            [firewall]
            ; loopback
            fw=pass in quick on emac0 all
            fw=pass out quick on emac0 all
            ; traffic to outgoing
            fw=pass out quick on pppoe0 proto tcp all flags S keep state keep frags
            fw=pass out quick on pppoe0 proto udp all keep state keep frags
            fw=pass out quick on pppoe0 proto icmp all keep state keep frags
            ; incoming   traffic
            fw=pass in   quick on pppoe0 proto tcp from 10.4.0.0/16 to any port eq 21 flags S keep state keep frags
            fw=pass in   quick on pppoe0 proto tcp from 10.4.0.0/16 to any port eq 23 flags S keep state keep frags
            fw=pass in   quick on pppoe0 proto tcp from 10.4.0.0/16 to any port eq 4445 keep state
            ; icmp traffic
            fw=pass in quick on pppoe0 proto icmp all keep state
        In many implementation scenarios, the iGATE in router mode (e.g. as DSL router) sends voice and data traffic
        through a connection with limited bandwidth. This can lead to lost voice packets that arrive too late to be used in
        the voice stream. To avoid lost packets, this QOS setting prioritizes packet transmission. You must set the priority
        for voice signaling and for the voice packets. That means you must prioritize SIP/H.323, RTP and RTCP. You will
        find the ports used in Table 5.13 >, in the following entries:
        H225Port
        SipPort
        VoipRtp Port
                                                                   48
CHAPTER 5
CONFIGURATION FILES
        VoipRtpPortSpacing
        Different ports can be used for RTP and RTCP, depending on the configuration.
        The parameter VoipRtpPort shows the first RTP port used. The corresponding RTCP port is the next one up. The
        parameter VoipRtpPortSpacing shows the next RTP port (RTP port + port spacing).
        Example:              In the following example, prioritization is set for a thirty-channel VoIP connection. The SIP signal-
                              ing port 5060 and the RTP/RTCP ports 29000 to 29059 are prioritized at level 7. All other services
                                                                       49
CHAPTER 5
CONFIGURATION FILES
            [altqd]
            interface pppoe0 bandwidth 512K priq
            class priq pppoe0 realtime_class root priority 7
              filter pppoe0 realtime_class 0 5060 0 0 0
              filter pppoe0 realtime_class 0 0 0 5060 0
              filter pppoe0 realtime_class 0 29000 0 0 17
              filter pppoe0 realtime_class 0 0 0 29000 17
              filter pppoe0 realtime_class 0 29001 0 0 17
              filter pppoe0 realtime_class 0 0 0 29001 17
              ....
              filter pppoe0 realtime_class 0 29058 0 0 17
              filter pppoe0 realtime_class 0 0 0 29058 17
              filter pppoe0 realtime_class 0 29059 0 0 17
              filter pppoe0 realtime_class 0 0 0 29059 17
            class priq pppoe0 regular_class root priority 0 default
        The DHCP (Dynamic Host Configuration Protocol) server provides a mechanism for allocation of IP addresses to
        client hosts. The section [dhcpd] contains a list of parameters and settings for the DHCP server in the system. It
        is divided into global settings for the server and parameters for the DHCP subnet.
                                                                    50
CHAPTER 5
CONFIGURATION FILES
Example:
            [dhcpd]
            ; Global dhcp parameters
            allow unknown-clients;
            ddns-update-style none;
        The point-to-point protocol is used for dial-up connection via ISDN lines or via a mobile CDMA connection. That
        means the system can set up an Internet connection, which can be used for all local users or to transmit VoIP calls
        via ISDN dial-up. Make sure you configure the firewall and NAT options accordingly.
                                                                    51
CHAPTER 5
CONFIGURATION FILES
        The advantages of VoIP over ISDN can be seen especially in corporate implementation. For example, it is useful
        when a very high number of connections occurs between subsidiaries and one subsidiary does not have a broad-
        band Internet connection. An ISDN B-channel can be connected to the Internet and up to six voice calls can occur
        simultaniously over one ISDN line. All necessary information for setup of the PPP connection is defined in the sec-
        tion [xppp<num>].
        The settings are entered as follows:
                                                            [xppp<num>]
            Dad=<num>
               Enter the dial-up number. Only digits can be defined here. Any required special characters (* or #) can be set
               in the mapping entry.
            User=<username>
               Enter a username.
            Pwd=<password>
              Enter a password.
            Route=<ip-addr>
               Enter the target IP address range, e.g. 0.0.0.0 (default route).
            AuthProto=<protocol>
               Enter chap or pap for the protocol used for authentication.
            IdleTO=<sec>
                Enter the number of seconds without traffic before the interface tears down the connection.
            MTU=<int>
              Maximum Transfer Unit. We recommend the following default values:
              1500 for ISDN dial-up and 120 for CDMA dial-up.
            Rfc1662=<val>
               Framing to be used:
               0 for ISDN or 1 for CDMA
            LcpTO=<msec>
               Allows you to change the value of the LCP timeout. The timeout-value must be specified in milliseconds (de-
               fault 1000).
            StartDelay=<sec>
                Time in seconds the system will wait to start the ppp process.
                                                                   52
CHAPTER 5
CONFIGURATION FILES
Example:
            [xppp0]
            Dad=12345
            User=user
            Pwd=pwd
            Route=0.0.0.0
            AuthProto=chap
            IdleTO=60
            MTU=1500
            Rfc1662=0
            LcpTO=500
            StartDelay=10
        A VLAN (Virtual Local Area Network) is a virtual LAN within a physical network. Each VLAN is assigned a unique
        number (VLAN ID) and defined in the [vlan<x>] section with
        Tag: value between 1 and 4095
        Priority: value between 0 and 7 (0 is lowest and 7 is the highest priority)
        [vlan0]
        IfConfig=vlan <tag>,<priority> vlanif <interface>
        Example:             The following entry will create the interface vlan1, with VLAN tag 10 and priority 7, on the Ether-
                             net interface emac0. Following this configuration, IP addresses (and/or other protocols) can be
                             assigned to the vlan1 interface:
            [vlan1]
            IfConfig=vlan 10,7 vlanif emac0
            IpAddress=192.168.199.1
5.1.11 EXAMPLES
        In the following example, the system’s IP address is 192.168.1.1, the netmask is 255.255.255.0, and the standard
        gateway is 192.168.1.254:
            [System]
            DefaultGw=192.168.1.254
            [emac0]
            IpAddress=192.168.1.1/24
        In the following example a two-port Ethernet bridge is configured. The system’s IP address is 192.168.1.1, the net-
        mask is 255.255.255.0, and the standard gateway is 192.168.1.254,
                                                                   53
CHAPTER 5
CONFIGURATION FILES
The emac1 interface is active and both Ethernet interfaces are set to bridge mode in the [bridge0] section:
            [System]
            DefaultGw=192.168.1.254
            [emac0]
            IpAddress=192.168.1.1/24
            [emac1]
            IpAddress=up
            [bridge0]
            BrConfig=add emac0 add emac1 up
                                                             54
CHAPTER 5
CONFIGURATION FILES
        5 . 1 . 1 1 . 3 I N T E G R A T E D D S L - R O U T E R S C E N A R I O F O R VO I P TR A F F I C W I T H
                                 AN ACTIVE DHCP SERVER AND FIREWALL
        In the following example, the system is connected to the local IP network through emac0. The DSL modem is con-
        nected to the emac1 interface, which enables the system to connect directly to the carrier network without an ad-
        ditional router when the connection is used only for VoIP data. A DHCP server is used for dynamic IP-address
        allocation:
[System]
            [emac0]
            IpAddress=192.168.0.2/24
            [emac1]
            IpAddress=up
            [pppoe0]
            PppoeIf=emac1
            User=usertelekom
            Pwd=pwd
            AuthProto=chap
            Route=default
            [nat]
            map=pppoe0 192.168.0.0/24 -> 0/32 proxy port ftp ftp/tcp
            map=pppoe0 192.168.0.0/24 -> 0/32 portmap tcp/udp 40000:60000
            map=pppoe0 192.168.0.0/24 -> 0/32
            [firewall]
            ; loopback
            fw=pass in quick on emac0 all
            fw=pass out quick on emac0 all
            ; traffic to outgoing
            fw=pass out quick on pppoe0 proto tcp all flags S keep state keep frags
            fw=pass out quick on pppoe0 proto udp all keep state keep frags
            fw=pass out quick on pppoe0 proto icmp all keep state keep frags
            ; incoming   traffic
            fw=pass in   quick on pppoe0 proto tcp from 10.4.0.0/16 to any port eq 21 flags S keep state keep frags
            fw=pass in   quick on pppoe0 proto tcp from 10.4.0.0/16 to any port eq 23 flags S keep state keep frags
            fw=pass in   quick on pppoe0 proto tcp from 10.4.0.0/16 to any port eq 4445 keep state
            ; icmp traffic
            fw=pass in quick on pppoe0 proto icmp all keep state
            [dhcpd]
            ; Global dhcp parameters
            allow unknown-clients;
            ddns-update-style none;
            ; Parameter for the Subnet
            subnet 192.168.1.0 netmask 255.255.255.0 {
             range 192.168.1.3 192.168.1.20;
             option broadcast-address 192.168.1.255;
             option domain-name "company.de";
             option domain-name-servers 192.168.1.100;
             option routers 192.168.1.2;
             option subnet-mask 255.255.255.0;
                                                                55
CHAPTER 5
CONFIGURATION FILES
        In the following example, the system is connected to the IP backbone through emac0. One Computer is connected
        to the emac1 interface. You can separate voice and data traffic with two different VLANs (vlan0 with tag 10 for
        voice, vlan1 with tag 11 for data). All traffic coming from emac1 will be sent to vlan1. Voice and data will not be
        mixed:
            [System]
            [emac0]
            IpAddress=192.168.1.12/16
            [emac1]
            IpAddress=up
            [vlan0]
            IfConfig=vlan 10,7 vlanif emac0
            IpAddress=10.0.1.2/24
            [vlan1]
            IfConfig=vlan 11,1 vlanif emac0
            IpAddress=172.16.4.5/16
            [bridge0]
            BrConfig=add vlan1 add emac1 up
        The pabx.cfg file contains system-specific settings and the port configuration. It is divided into the [System] and
        [Night<num>] sections.
        The entry in this category is responsible for the life-line (bypass) functionality of the PRI port’s relay when the system
        is on. When the system is off, both PRI ports are connected to each other, which means that it provides a trans-
        parent connection between the PBX and the PSTN. When the system is on, all routing algorithms are active.
        Bypass=ON/OFF
                                                                   56
CHAPTER 5
CONFIGURATION FILES
        CDRs, unconnected calls, system events, trace output and statistics can be saved into files.
        The following entries are necessary to generate log files:
                                 Entry                                                   Description
            ActionLog=/data/protocol.log                          System events
            Log=/data/cdr.log                                     CDR entries
            RRufLog=/data/failed.log                              Unconnected calls
            TraceLog=/data/trace.log                              System trace
            MsgLog=/data/msg.log                                  Incoming SMS and USSD messages
        The path in the example refers to an optional external flash disk. If there is no external flash disk, the path will be:
        boot.
        Example:
        ActionLog=/boot/protocol.log
                i
                          The available internal memory is approximately 8 MB if the iGATE does not contain
                          optional memory expansion. Make sure you monitor the available memory.
        You can define how the log files are to be divided. There are two possibilities for saving entries into a new file:
         In increments of time (twice-daily, daily, weekly, monthly)
         Depending on the size of the file
        You can also define a maximum number of up to 35 files to be generated.
                                                                  57
CHAPTER 5
CONFIGURATION FILES
        Example 1          In the following entry, the files cdr.log and failed.log are renamed every day or when
                           the file reaches 180kB, whichever comes first. Up to 7 CDR files will be saved on the system. If
                           the file size reaches 180kB on one day, the second file will have the same date. Only the running
                           number will be increased.
        Example 2          In the following entry, the file protocol.log is renamed every day or when the file reaches 60 kB.
                           Up to 21 failed files will be saved on the system.
ActionLog=/data/protocol.log daily 60 21
        Example 3          In the following entry, the file trace.log is renamed every day when the file has reached
                           600kB. Up to seven log files will be saved on the system.
        Example 4          In the following entry, the statistic values are reset daily at 12:00 midnight and saved in the
                           asr.log.
                                                                   58
CHAPTER 5
CONFIGURATION FILES
                i
                         Please remember to keep track of how much memory is available on the system.
        The sections for the time-dependent configuration changes and time-controlled routings are defined here.
        A maximum of 19 additional daily configuration zones are possible (Night1 to Night19). The entry NightRe-
        setTime reactivates the original configuration contained in the System section.
        The entry will have the following syntax:
                                                   Night<num>=<time> <day>
            <num>                   Enter a value between 1 and 19 to define which configuration is to be loaded.
            <time>                  If there is a time set with the format hh:mm after this entry, this configuration is loaded
                                    at that time on the defined day.
            <day>                   Use a bitmask to set the weekdays on which the configuration applies here. The daymap
                                    appears in the following order: HoSaFrThWeTuMoSu.
        Example:
        The configuration section is activated Fridays, Wednesdays and Mondays at noon unless the day in question is a
        holiday:
Night2=12:00 00101010
        The configuration section switches back to the default configuration (System section) every day at 8:00 p.m:
        NightResetTime=20:00 11111111
                         Any defined Night sections must be set in the files pabx.cfg and route.cfg. If
                i        there are no changes in these sections, you must copy them from the System section.
                         The complete Subscriber section must appear in the Night section of the pabx.cfg
                         (see Chapter 5.2.5 on page 75 >). The active route(s) (MapAll, Restrict and Redirect
                         entries) must appear in the Night section of the route.cfg (see Chapter 5.3 on
                         page 76 >).
                                                                   59
CHAPTER 5
CONFIGURATION FILES
5.2.1.4 CONTROLLERS
        This category defines the parameters that apply to the ports. The order of the ports is defined as follows: The iGATE
        contains integrated iGATE 4 Mobile Boards, each of which contain four mobile modules. Each
        iGATE 4 Mobile Board’s mobile channels are configured as additional controllers. That means four controllers are
        configured for each board. Beginning with 0, these controllers are defined as the first controllers in the section.
        Next the PRI controllers are defined, followed by the VoIP controllers. All controllers are defined in ascending order.
        Table 5.12 > describes the order for additional boards.
                             Table 5.12 > shows only the maximum number of controllers for each individual in-
                i            terface. Any possible combinations will depend on the system’s specifications!
                                                                 60
CHAPTER 5
CONFIGURATION FILES
                                                                61
CHAPTER 5
CONFIGURATION FILES
            <interrupt>          (Optional) Defines the interrupt used for the first controller on an additional
                                 iGATE 4 Mobile Board. These entries are preconfigured and cannot be changed.
            UNIT:                (Optional) Defines the currency for the charges (default EUR). Special charge generation
                                 is possible. Special charge generation is possible for:
                                 France         UNIT:&F
                                 Spain          UNIT:&SP
                                 Portugal       UNIT:&P
                                 Greece         UNIT:&G
                                 Switzerland
                                                UNIT:&CH
                                 Netherlands
                                                UNIT:&NL
                                 Italy          UNIT:&I
                                  NOTE: The <line_type> must be configured for these entries to work.
                                 EXAMPLE:
                                 Controller02=10 NT DSS1 PMP UNIT:€ VALUE:0.010
                                 Controller03=10 NT DSS1 PMP UNIT:€ VALUE:0.010
VALUE: (Optional) Defines the charges that accumulate by unit (default 12).
        Ports set to the same type can have the same bus number. In this case they will form a trunk group. If you change
        this parameter in the configuration, you must restart the system.
        Example 1         Each iGATE 4 Mobile Board contains 4 controllers. The hardware address and the interrupt are
                          defined behind the first controllers, which are defined in the configuration before the iLCR
                          Base Board. In the following example, the system contains four iGATE 4 Mobile Boards. One PRI
                          controller is configured for TE and one for NT. The protocol used is DSS1, and CRC4 is active. One
                          VoIP Module is attached.
                                                                62
CHAPTER 5
CONFIGURATION FILES
        Example 2          Each iGATE 4 CDMA Board contains 4 controllers. The hardware address and the interrupt are
                           defined behind the first controllers. These are defined in the configuration before the optional
                           iLCR 4BRI Board. The hardware address and the interrupt for this board is also defined behind
                           its first controller. The last controllers are for the iLCR Base Board. In the following example, the
                           system contains 2 iGATE 4 CDMA Boards, a iLCR 4BRI Board with 4 controllers. One PRI control-
                           ler is configured for TE and one for NT. The protocol used is DSS1, and CRC4 is active.
        Example 3          Each iGATE 4 UMTS Board contains 4 controllers. The hardware address and the interrupt are de-
                           fined behind the first controllers, which are defined in the configuration before the iLCR
                           Base Board controllers. In the following example, the system contains 2 iGATE 4 UMTS Boards.
                           One PRI controller is configured for TE and one for NT. The protocol used is DSS1, and CRC4 is
                           active. One VoIP Module is attached.
                                                                  63
CHAPTER 5
CONFIGURATION FILES
5.2.1.5 SUBSCRIBERS
        Various functions for individual interfaces (ISDN or VOIP) are defined in each controller’s Subscriber line. The
        order of the subscriber lines is the same as the order of the controller lines (see Chapter 5.2.1.4 on page 60 >).
        Most changes become active following a restart. If it suffices to activate the configuration, this is noted in the pa-
        rameter description: Additional parameters for mobile controllers are described in Table 5.15 > and Table
                                                   Subscriber<port>=<list>
            <port>                         Defines the running (physical) port number.
            The <list> variable may contain one or more of the following keywords:
            DEFAULT                        The standard configuration will be used. No other parameters in this table are
                                           set.
            TRANSPARENT ROUTER             Only the number is sent as caller ID (without the virtual port address). Activate
                                           configuration suffices to activate changes.
            CASR2[<name>]                  Activates the profile defined in the corresponding [CASR2] section.
            ALARM                          Activates the monitoring mode for the respective port. If a relevant error occurs
                                           at the port, a remote call is placed to the number defined in
                                           RemoteCallBack. Activate configuration suffices to activate changes.
            SWITCH                         Changes internal port handling. In the default configuration, the VoIP control-
                                           ler is set to NT. You can use this parameter to change it from NT to TE. Restart
                                           the system to activate the changes.
            CHMAX[xx]                      Defines the number of channels per VoIP controller (VoIP Module), e.g. 16 or
                                           for the virtual DTMF controller. This figure must be entered in double digits. A
                                           maximum of six concurrent channels are possible for DTMF recognition.
                                             NOTE: If all six channels are used, no PPP dialup or remote access
                                             via ISDN is possible.
            DTMF[<sec>,/<dir>/<file>]      Please refer to Chapter 11.2.1.1 >.
        5.16 >. The parameters listed in Table 5.15 > are required for mobile controllers and those listed in Table
        5.16 > are optional, depending on the implementation scenario.
                                                                 64
CHAPTER 5
CONFIGURATION FILES
                                           Subscriber<port>=<type>
                         [<pin>,<lain>,<SMSC>,<sim>,<loudGSM>,<loudPCM>,SIM<x>,...]
            <port>              Defines the running (physical) port number.
            <type>              Defines whether a GSM, CDMA or UMTS module is used.
            <pin>               Defines the SIM card’s PIN. The PIN is always four digits. If no PIN is defined for a SIM
                                card, the PIN 0000 must be used.
                                  NOTE: An error message appears in the protocol.log file when a PIN is in-
                                  correctly configured.
            <lain>              Defines the LAIN (Local Area Identification Number) – the mobile network to be used.
                                This prevents roaming into another mobile network. The LAIN is always five digits. If the
                                LAIN is set at 00000, roaming will not be prevented. The LAIN configuration prevents
                                accidental logon of the SIM card with another network and the use of false SIM cards.
            <SMSC>              Defines the SMS center’s access number. The number must always begin with + and the
                                country code.
            <SIM>               Defines the SIM card to be used. You can enter the values 1, 2, 3, 4, 5, 6 (optional when
                                using the 24 SIM card carrier). Default 1. Do not change the default entry if you use the
                                parameter SIM4 or SIMS. Activate configuration suffices to activate changes.
                                  NOTE: Please see the example following Table 5.16 > for information on
                                  numbering SIM cards.
            <loudGSM>           Defines the volume level for the mobile line. The values 0 to 3 are possible. 0 is loudest
                                and 3 is the least loud.
            <loudPCM>           Defines the volume level to the fixed network. The values 0 to 7 are possible. 7 is loudest
                                and 0 is the least loud.
            SIM4                Defines the SIM-card carrier used. The number entered (4) refers to the number of slots.
                                The SIM-cards can be distributed among the 4 mobile channels at will.
                                  NOTE: This parameter cannot be used in combination with SIM24, SIMS
                                  and SIMV.
            SIM24               Defines the SIM-card carrier used. The number entered (24) refers to the number of slots.
                                The SIM-cards can be distributed among the 4 mobile channels at will.
                                  NOTE: This parameter cannot be used in combination with SIM4, SIMS and
                                  SIMV.
                                                               65
CHAPTER 5
CONFIGURATION FILES
                                                                  66
CHAPTER 5
CONFIGURATION FILES
        Example:            The following example has two groups of SIMs. Different SMS center numbers are set for con-
                            trollers 00-07 and 08-15. SIM 24 Carriers are used, so that several SIMs can be used for each
                            mobile channel. SIM-position 1 is used in the SIM 24 Carrier for the first, third and fourth
                            iGATE 4 Mobile Board (SIM-slots 0-3). SIM-position 2 is used in the second
                                                                67
CHAPTER 5
CONFIGURATION FILES
iGATE 4 Mobile Board SIM-slots 4-7). Routing to mobile is based on the LAIN (CHADDR):
                i
                           For a detailed description of the configuration of the iGATE 4 Mobile Board, includ-
                           ing the keywords CHADDR, NEXT, LIMIT and CONTINUE, please refer to Chapter 7 on
                           page 95 >.
                                                             System Parameters
            VoipGlobalMaxChan=<count>
               Max. number of channels for the entire system.
            VoipRtpPort=<port>
               Defines the starting UDP port used to transmit RTP packets (default 29000).
            VoipRtpPortSpacing=<count>
               Defines the space between the ports used for individual RTP streams (default 2).
            H225Port=<port>
               Endpoint-to-endpoint port (default 1720).
            SipPort=<port>
               Sip signaling port (default 5060).
                                                                      68
CHAPTER 5
CONFIGURATION FILES
                                                          System Parameters
            VoipMaximumBandwidth=<int>
               Defines an upper limit for available bandwidth for the VoIP profiles to be configured (see VoipBand-
               widthRestriction in Table 9.6 >) if traffic shaping is active for the corresponding VoIP profile. Individual co-
               decs are assigned the following values:
               g711a, f711u, trp:                 8
               g72632, t38:                       4
               g72624                             3
               g72616, gsm                        2
               Other                              1
               You must define the list of codecs to be used in the VoIP profiles, whereby the codec with the highest priority
               must be defined first. Calls will be set up using the codec with the highest priority as long as the sum of the
               values for individual calls remains lower than defined here. If the sum is greater, the next call will be set up
               with, and existing calls will be switched to, a higher compression rate. Bear in mind that the VoIP peer must
               support this feature.
            VoipStrictRfc3261=<mode>
               If yes is set, the SIP transaction/dialog matching will occur strictly as per RFC3261. You must disable this
               feature for peers that use RFC2543 (from and to name). Default is yes.
            StunServerAddress=<ip addr>
               When this parameter is active, the iGATE looks for a (NAT) firewall in the network and figures out how to
               bypass it without requiring changes. All ports for signaling, RTP and RTCP are checked. The parameter Voip-
               GlobalMaxChan defines the number of ports for RTP and RTCP.
             NOTE: This is not a solution for all firewall types.
            StunServerPollInterval=<sec>
               Interval (in seconds) for the stun request at each port (default 600).
            Radius=<mode>
               On (default) activates the Radius service. If you change Off to On, you must restart the system.
            RadiusAuthPort=<num>
               Port used for Radius authentication (default 1812).
            RadiusAcctPort=<num>
               Port used for Radius accounting (default 1813).
            NameServer=<ip addr>
              IP-address configuration for the DNS server. Enter your network or ISP’s DNS server. If you don’t know it, you
              can also enter another DNS server. If you have more than one address, enter this parameter up to three times
              on different lines.
                                                                   69
CHAPTER 5
CONFIGURATION FILES
                                                           System Parameters
            Timezone=<continent/city>
               Defines the time difference between the iGATE’s time zone and time zone 0 (Greenwich Mean Time). Enter
               the continent and a large city (usually the capital) in the time zone.
            NtpServer=<ip addr>
               Sets the IP address at which the iGATE’s SNTP server queries the standard time. The query occurs every four
               hours.
             NOTE: If your system is not attached to an NTP server, you can enter the following configuration
             to query the time on an attached PBX via a TE port:
               Subscriber=...TIME
            Clockmaster=<type>
               Enter S0 to take the system clock from the BRI port if the system has an additional BRI board and special
               firmware installed on which at least one controller is connected to the PSTN in TE mode. This parameter only
               makes sense if the system does not have a PRI port connected to the PSTN.
            S2MLongHaul=<mode>
               This option increases the sensitivity on PRI receiving side to support Long Haul applications. The default value
               is No (Short Haul).
            MoipPort=<port>
              Defines the GATE Manager access port (default 4445).
            FtpdPort=<port>
               Defines the FTP access port (default 21).
            TelnetdPort=<port>
                Defines the TELNET access port (default 23).
            TftpdPort=<port>
                Defines the TFTP access port (default 69).
            Ftpd=<mode>
               Activates (on) or deactivates (off) FTP access. Default on.
            Telnetd=<mode>
                Activates (on) or deactivates (off) TELNET access. Default on.
            Tftpd=<mode>
                Activates (on) or deactivates (off) FTP access. Default off.
                                                                     70
CHAPTER 5
CONFIGURATION FILES
                                                         System Parameters
            RemotePassword=<password>
               Defines the password for FTP and GATE Manager access. Please refer to Chapter 4.11.3 > for instructions
               on how to enter an encrypted password in the pabx.cfg. If you do not define a password, access to the system
               via GATE Manager occurs without a password, and FTP access occurs with the default password tcs-ag.
            SimCtrlUnitAddress=<ip addr>
               Enter the vGATE Control Unit’s IP address. For a detailed description of iGATE configuration for connection
               to a vGATE, see Chapter 7.1 >.
            DialTone=<country>
               If the system is used in a corporate settings and attached through a PBX to the PSTN, it may be necessary to
               generate the carrier’s dial tone. It depends on whether the system sends the dialed digits to the PSTN or
               whether it waits for a routing entry to take the call.
               The following values can be entered:
                           GE
                           DE
                           IR
                           UK
                           US
                           FR
                           IT
Example:
            VoipGlobalMaxChan=60
            H225Port=1720
            SipPort=5060
            VoipRtpPort=29000
            VoipRtpPortSpacing=2
            NameServer=192.168.0.254
            Timezone=Europe/Berlin
            NtpServer=192.168.0.254
            DialTone=GE
                i
                          There is no internal time generation for the system when the power is interrupted.
                          That means the default time is used when the system is restarted or rebooted!
                          Therefore it is important to set the system time with an NTP server. If the system is
                          connected via BRI or PRI, a clock may come from the network connected to the cor-
                          responding port. Enter !TIME in the pabx.cfg’s subscriber line and then activate
                          the configuration to block this clock.
                                                                  71
CHAPTER 5
CONFIGURATION FILES
        The following entries in the pabx.cfg’s [Mail] section are used to send e-mail messages from the iGATE. The con-
        nection to the SMTP server can be used to send CDR files, incoming SMS to an e-mail account or alarm messages.
                 i
                          You must restart the system after making changes to activate the settings.
            SmtpServer=<ip addr>
               In <ip addr>, enter the IP address of the destination SMTP server that is to receive the e-mail messages.
            MailUserIn=<username>
               Enter a username for incoming e-mail authentication.
            MailUserOut=<username>
               Enter a username for outgoing e-mail authentication.
            MailPwdIn=<password>
               Enter a password for incoming e-mail authentication.
            MailPwdOut=<password>
               Enter a password for outgoing e-mail authentication.
            MailAuthEncr=<type>
               Enter an encryption method for e-mail authentication (default base64).
            MailRcpt=<domain>
               In <domain>, enter the destination domain, the destination address and an @ sign. If the destination ad-
               dress is already complete (with an @ sign), <domain> is not added.
            MailFrom=<domain>
               In <domain>, enter the source domain, the source address and an @ sign. If the source address is already
               complete (with an @ sign), <domain> is not added.
                                                                 72
CHAPTER 5
CONFIGURATION FILES
            MailRcvMax=<count>
               Maximum number of incoming e-mails queued for transmission via SMS or USSD.
            MailRcptMax=<count>
               Number of "RCPT TO" entries in e-mails that come from the LAN (a message is sent to the LCR for each
               "RCPT TO" entry in each incoming e-mail).
            MaxMailsToHost=<count>
              Maximum number of e-mail messages sent to the LCR simultaneously.
            MailToHostDelay=<count>
               Number of seconds until an e-mail message is sent to the LCR (this timer runs separately for each
               MaxMailsToHost message).
            MailToHostRetries=<count>
               Number of retries when SMS transmission is not successful. When the limit entered is reached, an error mes-
               sage is sent to the e-mail sender (default 3).
            MailSendRetries=<count>
               Number of times an attempt is made to send an e-mail.
            MailMaxIncomingClients=<count>
               Defines the maximum number of clients that can access the system simultaneously. If 0 is entered, the SMTP
               port (25) will be blocked for incoming sessions. Default 5.
            MailTcpRcvTimeout=<sec>
               Defines the number of seconds after which a session will be terminated following a possible receiving error
               in the data stream. Default 0 (immediately).
            MailTcpSndTimeout=<sec>
               Defines the number of seconds after which a session will be terminated following a possible transmission
               error in the data stream. Default 0 (immediately).
            MailAllowedPeers=<ip addr>
               Defines IP addresses from which incoming SMTP connections will be accepted. Separate IP addresses with a
               space. If a dash (-) is entered, the SMTP port (25) will be blocked for incoming sessions. If this parameter is
               left empty (default), incoming connections will be accepted from all IP addresses.
            MailPropPort=<num>
               Enter the port number for a TELES proprietary mail protocol.
                                                                   73
CHAPTER 5
CONFIGURATION FILES
Example:
            [Mail]
            SmtpServer=172.16.0.10
            MailRcpt=teles.de
            MailFrom=172.16.0.100
            MailRcvMax=500
            MailRcptMax=100
            MaxMailsToHost=2
            MailToHostDelay=3000
            MailToHostRetries=10
            MailSendRetries=10
            MailAllowedPeers=172.16.0.10
            ...
            ActionLog=/data/protocol.log daily 1000 5 @<e-mail account>
            ...
        The [NumberPortability] section includes the parameters necessary for communication with the database server.
        For a description of the functionality and configuration of this feature, please see Chapter 11.6 >.
                 i
                          You must restart the system after making changes to activate the settings.
            MNPQAddress=<ip addr>
              Enter the IP address to which the number portability query is to be sent. The service comes from an external
              provider. It is also used as the iMNP address if the parameter MNPQSum=Yes is set.
            MNPQPort=<port>
              Enter the port to which the number portability query is to be sent.
            MNPQAddress2=<ip addr>
              Enter the IP address to which the second number portability query is to be sent when ! appears in the map-
              ping entry. A second database will then be queried, for example if the first on is not online.
                                                                 74
CHAPTER 5
CONFIGURATION FILES
            MNPQPort2=<port>
              Enter the port to which the second number portability query is to be sent.
            MNPQSum=<mode>
              This parameter must be activated (Yes) if a iMNP is used.
            E2EMRSAddress=<ip addr>
               Enter the IP address to which the number portability query is to be sent. The service comes from an external
               provider.
            E2EMRSPort=<port>
               Enter the port to which the number portability query is to be sent.
Example:
            [NumberPortability]
            MNPQAddress=172.16.0.100
            MNPQPort=9003
            MNPQSum=Yes
        The Simple Network Management Protocol facilitates network management and monitoring of iGATE network de-
        vices and their functions. For a detailed description of SNMP configuration, please refer to Chapter 12.2 >.
                 i
                          You must restart the system after making changes to activate the settings.
        The [Night<num>] section is reserved for prospective time-controlled configuration changes. In the pabx.cfg
        file, the Night sections contain all of the system’s Subscriber entries.
        Individual SIM-card positions can be configured here. For a detailed description of time-controlled SIM switching,
        please refer to Chapter 7.10 >
5 . 2 . 6 .C A S R 2 S E T T I N G S
        If you are working with Channel Associated Signaling, you must activate a CAS profile in the relevant Control-
        ler and Subscriber entries and define the profile in a separate [CASR2:<name>] section.
        Generally you will need to set only the country code 55 for Brazil. The default country code is 0, which sets the ITU-
        T standard.
                                                                  75
CHAPTER 5
CONFIGURATION FILES
Example:
                i
                          You must restart the system after making changes to activate the settings.
        The system’s routing information is saved in the route.cfg. The file contains the following sections:
             [System]
              Contains all routing entries (MapAll, Restrict, Redirect) that are to be active when the default configuration
              is used.
             [Night<num>]
              Contains all routing entries (MapAll, Restrict, Redirect), and VoIP, gatekeeper and registrar profiles that
              are to be active with the defined time configuration. Bear in mind that you must also copy all routing and
              profile settings that may already appear in the das System section or in the individual profile sections, even
              if they do not change!
             [VoIP:<name>]
              Contains all settings necessary for communication with the VoIP peer.
             [GateKeeper:<name>]
              Contains all settings for the gatekeeper. This profile is then assigned to the VoIP profiles.
             [Registrar:<name>]
              Contains all settings to register with the registrar.
                                                                   76
CHAPTER 5
CONFIGURATION FILES
5.3.1.1 MAPPING
                                              MapAll<direct>=<num> <mode>
            <direct>              Defines the prefix or telephone number for which the entry applies.
            <num>                 Defines the following in the order given:
                                   Destination port’s controller number
                                   Optional VoIP profile name followed by a colon if the call is terminated via VoIP
                                   Optional prefix
                                   Part of the number on the left that is to appear on the right
                                  The special symbol ? may be used as a wildcard to represent any digit.
            <mode>                VOICE         Applies for calls with the service indicator voice (default).
                                  DATA          Applies for calls with the service indicator data.
        Example:           In the following example, all mobile calls with the prefix 01555 are transmitted to the mobile
                           controllers (20). All international calls are sent to the VoIP carrier (40) with the profile name
                           DF. All national calls are sent to the PRI controller with the number 9:
            MapAll01555=|2001555<<14
            MapAll00=40DF:00
            MapAll0=90
        If CHADDR appears in the mobile port’s Subscriber lines, the entry will look like this:
        MapAll<num>=<lain><num>
        Example:           In the following example, all calls with the prefixes 01555 and 01556 are sent to the mobile con-
                           trollers with the LAIN 26212. All calls with the prefixes 01444 and 01445 are sent to the mobile
                           controllers with the LAIN 26213. Digit collection is activated:
            MapAll01555=|2621201555<<17
            MapAll01556=|2621201556<<17
            MapAll01444=|2621301444<<17
            MapAll01445=|2621301445<<17
                i
                         Make sure that the numbers for the carriers are routed to the correct ports! For de-
                         tailed information on digit collection and enblock/overlap receiving, see
                         Chapter 8.1 >.
                                                                77
CHAPTER 5
CONFIGURATION FILES
5.3.1.2 RESTRICT
        This entry is for controller-specific routing entries. These entries apply only for a single controller and can be set for
        an OAD base number or an MSN:
                                                     Restrict<ns>=<pl> <sin>
            <ns>                   Defines the virtual controller number plus an optional base number or a specific calling
                                   number.
            <pl>                   Stands for a virtual placeholder used for the mapping entry that routes calls for the the
                                   Restrict command.
            <sin>                  The service indicator variable sin restricts the command to a service. Without a sin, the
                                   Restrict command is valid for all services.
                                   Possible service indicator values are:
                                   00             All services
                                   01             Telephony
                                   02             Analog services
                                   03             X.21-services
                                   04             Telefax group 4
                                   05             64 kbps videotext or TELES-specific SMS services
                                   06             TELES-specific USSD services
                                   07             Data transfer 64 kbps
                                   08             X.25-services
                                   09             Teletext 64
                                   10             Mixed mode
                                   15             Videotext (new standard)
                                   16             Video telephone
            <time>                 Optional. For type 2 redirect entries, a timer (in seconds) can be defined after the service
                                   indicator entry.
                                    NOTE: In the entry is to apply for all service indicators, the value 00 must
                                    be defined for <sin>.
        Example:           In the following example, all calls from PRI controller 9 (PSTN) are sent to PRI controller 10 (PBX)
                           without regard to the routing file:
            Restrict9=pl
            MapAllpl=10
        Example:           In the following example, calls from mobile controllers with the LAIN 26212 are sent to PRI con-
                           troller 10 (PBX), extension 0. This is imperative, since the caller cannot dial an extension directly
                                                                   78
CHAPTER 5
CONFIGURATION FILES
with mobile:
Restrict26212=100
5.3.1.3 REDIRECT
        This entry facilitates alternative routing when the first destination cannot be reached or is busy. A placeholder ap-
        pears to the right of the equal sign. The routing entry (MapAll) can be defined for the redirect using the placeholder
        entered:
                i
                         This function requires the LCR license.
                                                                 79
CHAPTER 5
CONFIGURATION FILES
        Example:           In the following example all mobile calls with the prefix 01555 are transmitted to the mobile car-
                           rier with the LAIN 26212. Digit collection is activated. If the carrier cannot be reached or is busy,
                           the redirect command activates the second target mapping with the placeholder A and the call
                           is automatically sent to PRI controller 9.
            MapAll01555=|2621201555<<17
            Redirect326212=A
            MapAllA=9
                                                                  80
CHAPTER 5
CONFIGURATION FILES
            BUSY[<cause>]                 Defines a hexadecimal cause value according to DSS1. When connections to the
                                          destination are rejected because of the reason defined by the cause value, the
                                          iGATE sends a busy signal to the attached PBX. Alternative routing is not carried
                                          out. You can also define a range of consecutive cause values:
                                          BUSY[<cause>,<cause>]
        Example:            In the following example, all outgoing calls over controller 04 are rejected with the cause value
                            91 when the called party is busy. Alternative routing is not carried out.
Subscriber04=....BUSY[91]
        If you use a time-configured route on the system, please see Chapter 5.2.1.3 > for a definition of individual con-
        figuration zones. The active route is configured in the route.cfg file.
        The following example contains three sections ([System], [Night1] and [Night2]), in which the route changes. All
        international calls are sent to the VoIP carrier DF in the default configuration. Digit collection is actived. In the time
        span for [Night1], these international calls are routed to VoIP carrier Ni, and in the time span for [Night2] they are
        routed through the PRI controller to the carrier with the prefix 010xx. National calls are always sent to VoIP carrier
        DF and local calls are routed to the outside line.
        Example:
            [System]
            MapAll00=|40DF:00<<24
            MapAll0=|40DF:0<<24
            MapAll?=9?
            [Night1]
            MapAll00=|40Ni:00<<24
            MapAll0=|40DF:0<<24
            MapAll?=9?
            [Night2]
            MapAll00=9010xx00
            MapAll0=|40DF:0<<24
            MapAll?=9?
                                                                   81
CHAPTER 5
CONFIGURATION FILES
                 i
                           Any defined Night configurations must be set in the files pabx.cfg and route.cfg. If
                           there are no changes in these sections, you must copy them from the System section.
                           The complete Subscriber section must appear in the Night section of the pabx.cfg
                           (see Chapter 5.2.5 on page 75 >). The active route must appear in the route.cfg (see
                           Chapter 5.3 on page 76 >).
5 . 3 . 2 VO I P P R O F I L E S
This section includes all of the most important parameters for communication with the VoIP peer.
Basic Parameters
                                                                   82
CHAPTER 5
CONFIGURATION FILES
                                                                  83
CHAPTER 5
CONFIGURATION FILES
            VoipSilenceSuppression=<mode>
               Yes (default) activates silence suppression, CNG (comfort noise generation) and VAD (voice activity detec-
               tion). No deactivates silence suppression.
             NOTE: In SIP signaling, silence suppression is negotiated as per RFC3555.
            VoipTxM=<num> or <list> fix
               The multiplication factor (1-12) for the frame size for transmission of RTP packets (default is 4). 10ms is the
               default frame size (20ms for iGATE32). A list can be defined if different frame sizes are to be used for different
               codecs in the VoIP profile. The list must correspond with the list in the parameter VoipCompression.
               Normally the peer’s frame size will be used if it is smaller than the one defined. If you enter fix, the configured
               factor will always be used.
                                                                     84
CHAPTER 5
CONFIGURATION FILES
Management Parameters
        Gatekeeper profiles are used to connect the iGATE to several systems by using a gatekeeper if the protocol is
        H.323. It is possible to configure different gatekeepers for different destinations and to define backup gatekeepers.
                                                                   85
CHAPTER 5
CONFIGURATION FILES
                                                      Gatekeeper Parameters
            [Gatekeeper:<name>]
               Name of the gatekeeper profile.
            RasPort=<port>
               Indicates the port the gatekeeper uses (default 1719) for registration, admission and status.
            OwnRasPort=<port>
              Indicates the port the system uses (default 1719) for registration, admission and status.
            RasPrefix=<list>
               iGATE’s defined prefix(es). Use a space to separate entries.
            RasId=<name>
               The alias used for gatekeeper registration.
            GkId=<name>
               The gatekeeper’s alias.
            GkPwd=<name>
               Password to log onto the gatekeeper. If you do not use authentication, leave this entry blank.
            GkAdd=<ip addr>
              The gatekeeper’s IP address.
            GkTtl=<sec>
               Gatekeeper time to live (default 0 means infinite).
            GkMaxChan=<count>
              Max. number of channels used for this gatekeeper. If this parameter is not defined (default), there will be no
              limit.
                                                                     86
CHAPTER 5
CONFIGURATION FILES
                                                       Gatekeeper Parameters
            GkDynMaxChan=<mode>
              The static number of available channels in the gatekeeper profile (GkMaxChan=<count>) is replaced with a
              dynamic number of active mobile ports (up to the number entered in GkMaxChan) when Yes is entered here.
              Default is No.
            GkUseStun=<mode>
              Enter yes (default) to use the STUN values for the GK profile.
            GkTerminalAliasWithPrefix=<mode>
               Some gatekeepers may require that prefixes are listed in the Terminal Alias section. Enter Yes to activate this
               function; default value is No).
            GkTerminalTypeWithPrefix=<mode>
               Enter no to deactivate sending the Dialed Prefix Information in the Registration Request (default yes).
        Registrar profiles are used to register the iGATE with a SIP registrar. It is possible to configure different registrars
        for different destinations and to define backup registrars. These registrar profiles are then assigned to the VoIP
        profiles:
                                                        Registrar Parameters
            [Registrar:<name>]
               The name of the registrar profile.
            RegId=<name or ip addr>
               Host name or IP address used in the register’s request header. Bear in mind that the DNS service must be
               active if you enter the host name.
            RegOwnId=<name@ip addr/domain>
               Typically a host name or telephone number followed by an @ sign and a domain name or IP address. The
               entry used in the From: field. The default setting is RegUser@RegId.
            RegContact=<name or ip addr>
               Used in the Contact: field.
            RegUser=<name>
               Enter a username for authorization.
                                                                   87
CHAPTER 5
CONFIGURATION FILES
                                                         Registrar Parameters
            RegPwd=<password>
               Enter a password for authorization.
            RegProxy=<ip addr>
               Enter an alternative IP address if you want the request to be sent to an address other than the one entered
               in RegId.
            RegExpires=<sec>
               Enter the number of seconds registration is to be valid. Default 0 means infinite.
            RegPing=<sec>
               Interval (in seconds) for the registrar ping. The iGATE sends an empty UDP packet to the registrar’s IP address.
               The packet is essentially an alive packet to avoid possible firewall problems.
        Radius profiles are used to connect the iGATE to a Radius server. You can use a Radius server for different desti-
        nations and for access and/or accounting. These Radius profiles are then assigned to the VoIP profiles:
                                                          Radius Parameters
            [Radius:<name>]
               The name of the Radius server profile assigned to one or more VoIP profiles.
            Host=<name or ip addr>
               Radius server’s host name or IP address. Bear in mind that the DNS service must be active if you enter the
               host name.
            User=<name>
               Enter a username for authorization.
            Password=<password>
               Enter a password for authorization.
            Secret=<secret>
               Enter the shared secret.
            OwnId=<name or ip addr>
              Host name or IP address used in the NAS identifier or NAS IP address (Cisco VSA gateway ID).
            ServiceType=<num>
               As defined in RFC 2865, Chapter 5.6.
                                                                    88
CHAPTER 5
CONFIGURATION FILES
                                                          Radius Parameters
            RequestTimeout=<sec>
               Number of seconds during which the request is repeated if the Radius server does not respond.
            RequestRetries=<count>
               Number of packet retries sent at one time.
            StopOnly=<mode>
               When yes is entered, only Accounting Request Messages with the status type stop are transmitted to the
               Radius server.
            AlwaysConnected=<mode>
               Enter No (default) to set the value for the field ConnectedTime to that of the field
               DisconnectedTime in accounting-stop messages when the call was not connected.
            CallingStationId=<num>
               This parameter is used to set the calling station ID. The default setting is the OAD, but you can define any
               calling station ID. To define a partial calling station ID, enter a ? for each digit. For example,
               CallingStationId=??? will consist of the first three digits of the OAD.
            CallType=<int>
               Enter one of the following to define the call type:
               3 = VoIP and telephony
               2 = VoIP only
               1 = Telephony only
            FramedProtocol=<int>
               Enter one of the following to define the framed protocol (see RFC 2865, Chapter 5.7):
               1 = PPP
               2 = SLIP
               3 = AppleTalk Remote Access Protocol (ARAP)
               4 = Gandalf proprietary SingleLink/MultiLink protocol
               5 = Xylogics proprietary IPX/SLIP
               6 = X.75 Synchronous
            NasId=<string>
               The string entered is used as network access server identifier attribute in access requests. If no string is en-
               tered, the attribute will not be set (default).
                                                                     89
CHAPTER 6
ROUTING EXAMPLES
6 ROUTING EXAMPLES
6 . 1 I G AT E I N T E G RA T I O N I N A C A R R I E R N E T W O R K
SimCtrlUnitAddress=172.16.0.100
            [System]
            DTMFWaitDial=5
            MapAll01555=|2621201555<<17
            MapAll01556=|2621201556<<17
            MapAll01444=|2621301444<<17
            MapAll01445=|2621301445<<17
                                                                90
CHAPTER 6
ROUTING EXAMPLES
             6 . 2 I G AT E I N T E G RA T I O N W I T H S I M - C A RD S W I T C H I N G I N A N H . 3 2 3
                                                CARRIER NETWORK
                                                                       91
CHAPTER 6
ROUTING EXAMPLES
            [System]
            DTMFWaitDial=5
            MapAll01555=|2621201555<<17
            MapAll01556=|2621201556<<17
            MapAll01444=|2621301444<<17
            MapAll01445=|2621301445<<17
            [Voip:DF]
            VoipDirection=In
            VoipPeerAddress=10.0.0.0
            VoipIpMask=0xffff0000
            VoipSignalling=0
            VoipCompression=g729 g72632 g711a g711u
            VoipSilenceSuppression=Yes
            VoipMaxChan=30
            VoipTxM=2
            VoipGk=GK1
            [Gatekeeper:GK1]
            RasPort=1719
            OwnRasPort=1719
            RasId=iGATE01
            RasPrefix=01555 01556 01444 01445
            GkId=GK
            GkAdd=192.168.0.10
            GkPwd=
            GkTtl=300
            GkMaxChan=30
            GkDynMaxChan=Yes
                                                       92
CHAPTER 6
ROUTING EXAMPLES
6 . 3 I G AT E A S A S E C O N D - G E N E R A T I O N L C R W I T H VO I P
                                                                      93
CHAPTER 6
ROUTING EXAMPLES
            [system]
            DTMFWaitDial=5
            Restrict9=10
            Restrict40=10
            Restrict26212=10001
            Restrict26213=10001
            MapOut01555=|2621201555<<17
            MapOut01556=|2621201556<<17
            MapOut01666=|2621301666<<17
            MapOut01665=|2621301665<<17
            MapOut00=40DF:00
            MapOut0=010xx0
            MapOut?=9?
            Redirect326212=A
            Redirect326213=A
            MapAllA=9
            [Voip:DF]
            VoipDirection=IO
            VoipPeerAddress=sip-carrier.de
            VoipIpMask=0xffffffff
            VoipSignalling=1
            VoipCompression=g729 t38
            VoipSilenceSuppression=Yes
            VoipMaxChan=60
            VoipTxM=4
            VoipOwnAddress=user@sip-carrier.de
            VoipUser=user
            VoipPwd=pwd
            VoipRegistrar=reg
            [Registrar:reg]
            RegId=sip-carrier.de
            RegOwnId=user@sip-carrier.de
            RegContact=user@sip-carrier.de
            RegUser=user
            RegPwd=pwd
                                                        94
CHAPTER 7
7 . 1 C O N N E C T I O N T O A V G AT E
        The vGATE is a system that enables more convenient management of a network of iGATE systems. All SIM cards
        in the network are installed in and maintained at a central server, so that it is no longer necessary to install SIM
        cards into each gateway. The iGATEs connected to the vGATE do not require SIM-card carriers, as the vGATE con-
        tains SIM-card carriers for the entire network.
                i
                          Bear in mind that no SIM-card carriers are to be inserted in iGATEs connected to a
                          vGATE.
        The following parameters must be configured in the pabx.cfg of each iGATE connected to the vGATE. After the
        parameters have been entered, you must restart the iGATE to activate the changes:
            SIMS
               Enter this keyword in the Subscriber lines of the mobile controllers to connect the system to a vGATE.
               EXAMPLE:
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,+00000,1,1,1,SIMS] CHADDR ALARM
            SimCtrlUnitAddress=<ip addr>
               Enter the vGATE Control Unit’s IP address. Set this parameter in the IP configuration section.
               EXAMPLE:
            SimCtrlUnitAddress=192.168.0.1
7 . 2 M O D U L E D I S T R I B U T I O N O F VA R I O U S M O B I L E N E T W O R K S
        You can assign each mobile port in the iGATE system either one mobile network or different access groups to dif-
        ferent mobile networks. The port numbers in the iGATE must be the same for the individual groups.
        The keyword NEXT ensures equal distribution of calls.
        The following configuration samples (from the pabx.cfg configuration file) show the changes:
        Example 1           All ports in the following example must have the same number for all mobile channels to route
                            calls to the same mobile network. The subscriber line of the first port must also contain the
                                                                  95
CHAPTER 7
            ...
            Controller00=20 GSM
            Controller01=20 GSM
            Controller02=20 GSM
            Controller03=20 GSM
            Controller04=20 GSM
            Controller05=20 GSM
            Controller06=20 GSM
            Controller07=20 GSM
            Controller08=20 GSM
            Controller09=20 GSM
            Controller10=20 GSM
            Controller11=20 GSM
            Controller12=20 GSM
            Controller13=20 GSM
            Controller14=20 GSM
            Controller15=20 GSM
            ...
            Subscriber00=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM NEXT
            Subscriber01=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber02=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber03=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber04=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber05=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber06=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber07=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber08=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber09=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber10=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber11=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            ...
        Example 2          In the following example, a group of 16 mobile channels is assigned to three different mobile
                           networks. The subscriber line of the first port in each group must contain the keyword NEXT
                           to ensure the equal distribution of calls.
                                                                  96
CHAPTER 7
            ...
            Controller00=20 GSM
            Controller01=20 GSM
            Controller02=20 GSM
            Controller03=20 GSM
            Controller04=20 GSM
            Controller05=20 GSM
            Controller06=22 GSM
            Controller07=22 GSM
            Controller08=22 GSM
            Controller09=22 GSM
            Controller10=22 GSM
            Controller11=22 GSM
            Controller12=24 GSM
            Controller13=24 GSM
            Controller14=24 GSM
            Controller15=24 GSM
            ...
            Subscriber00=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM NEXT
            Subscriber01=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber02=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber03=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber04=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber05=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber06=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM NEXT
            Subscriber07=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber08=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber09=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber10=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber11=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM NEXT
            Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM4]   ALARM
            ...
        The customer’s network routes calls to the mobile network with a defined prefix. Because this code is not always
        uniform, the iGATE might have to convert it. Conversion requires the following information:
         The mobile network’s access number
         Destination number format (with or without prefixes, national or international)
        Conversion occurs according to the following formula:
<national/international><prefix[incoming]>=<destination number>
converted as:
Be sure to make the following entry in the route.cfg configuration file to configure this conversion:
The iGATE system converts national into one zero and international into two zeros.
                                                                  97
CHAPTER 7
            ...
            MapAll00491555=2001555
            MapAll00491556=2101556
            ...
        This example shows how the customer’s network provides the prefix international+49+1555+destination number
        for one mobile network, and international+49+1556 for the other. The configuration entries see to it that
        00491555+destination number is converted to 2001555+destination number and 00491556+destination num-
        ber is converted to 2101556+destination number. The calls to the carrier with prefix 01555 are routed to ports
        with the number 20 and calls to the carrier with prefix 01556 are routed to the ports with the number 21.
        Use the LAIN as controller with the CHADDR parameter to prevent logging onto the wrong SIM card. This will en-
        sure that routing is network specific. The following example is based on the German country code. One carrier’s
        LAIN is 26212 and the other carrier’s LAIN is 26213:
pabx.cfg
            ...
            Controller00=20   GSM
            Controller01=20   GSM
            Controller02=20   GSM
            Controller03=20   GSM
            Controller04=20 GSM
            Controller05=20 GSM
            Controller06=20 GSM
            Controller07=20 GSM
            ...
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,+49556,1,1,1,SIM4] CHADDR ALARM
            Subscriber01=TRANSPARENT ROUTER GSM[0000,00000,+49556,1,1,1,SIM4] CHADDR ALARM
            Subscriber02=TRANSPARENT ROUTER GSM[0000,00000,+49556,1,1,1,SIM4] CHADDR ALARM
            Subscriber03=TRANSPARENT ROUTER GSM[0000,00000,+49556,1,1,1,SIM4] CHADDR ALARM
                         If you remove the keyword CHADDR from the pabx.cfg, you must restart the system.
                i        Controllers belonging to the same trunk group must have the same address. You
                         must delete all routing entries based on port addresses when using the LAIN as con-
                         troller.
                                                               98
CHAPTER 7
route.cfg
            ...
            MapAll01555=2621201555
            ...
            MapAll01556=2621301556
            ...
        Enter CHADDR[<addr>] to remove a mobile controller belonging to an LAIN group from the standard routing
        process (e.g. for specific routes or only for SMS transmission). The port address can be set to <addr>.
        Example:
MapAllSMS=444 05
7 . 4 I N C O M I N G VO I C E C A L L S F RO M M O B I L E
        Incoming mobile calls (service indicator 01 represents voice calls) can be routed to a specified number. This enables
        each mobile controller to receive a unique identifier. It will then be mapped to a number:
            Restrict20=90123 01
            Restrict21=91234 01
        The mobile controllers can also have the same identifier, so that all voice calls (service indicator 01) from controller
        20 are sent to number 1111 at port 9. This number could, for example, serve a call center.
Restrict20=91111 01
        This function allows you to block a port, so that the corresponding mobile channel is omitted from the distribution
        of calls. The function is particularly useful when mobile channels fail or SIM cards cannot be immediately replaced.
        To block a port (i.e. a mobile channel), enter the keyword CHINC[...] in the Subscriber line.
        In Example 1 >, port 10 is blocked.
        Example 1
            ...
            Subscriber10=TRANSPARENT ROUTER GSM[0000,00000,<SMSC>,1,1,1,SIM4] CHADDR         ALARM    CHINC[01,01]
            ...
To activate the port, remove the entry and enter Activate configuration.
                                                                  99
CHAPTER 7
        It is also possible to block an entire port with the remote administration program GATE Manager. The CHINC[...]
        function is not necessary with this application. The port’s status is displayed by remote administration. You can
        remove the block with Activate a configuration or with the Unblock option.
        This function enables you to monitor time units. A unit can be set, either to the defined time interval or in 10-second
        intervals (default value). At the beginning of the defined unit, the current connection is torn down either immedi-
        ately or when the call has been terminated (cf. Chapter 7.7.3 on page 102 >); no more connections will be set
        up. An alarm also goes off and an entry is generated in the log file.
                i
                         Bear in mind that you must add 1 to the values you wish to set, since the units change
                         at the beginning of each interval.
            ...
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,+00000,1,1,1,SIM4] CHADDR ALARM NEXT LIMIT[6001]
            ...
            ...
            ChargeUnitGenerate=1
            ...
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,+00000,1,1,1,SIM4] CHADDR ALARM NEXT LIMIT[60001]...
            ...
            ChargeUnitFirst=60
            ChargeUnitGenerate=10
            ...
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,+00000,1,1,1,SIM24] LIMIT[6061] ALARM NEXT...
            ...
                                                                 100
CHAPTER 7
        Information about the active SIM cards can be found in GATE Manager and Port Status.
        To remove limits from the configuration, follow these steps:
              Enter LIMIT[-].
              Activate the configuration.
              Delete the entry LIMIT[-].
              Activate the configuration again.
        This function enables you to monitor time quotas. A limit can be set, either to the defined time interval or in 10-
        second intervals (default value). When this value is reached, the current connection is torn down either immediately
        or when the call has been terminated; either no more connections will be set up or the system will switch to another
        SIM card. An alarm also goes off and an entry is generated in the log file.
        You can configure different limits for each SIM card per mobile channel. To activate this function, enter the keyword
        LIMIT[<val1>,<val2>,<val3>,<val4>,<val5>,<val6>] at subscriber for the corresponding port. <valx> defines a
        number of units as a threshold value for the respective SIM card. If only one limit is entered, this limit will apply for
        all SIM cards at this port.
                 i
                          Make sure the SIM24 card carrier is inserted and the size of the SIM-card carrier
                          (SIM24) is entered in the Subscriber line.
        If a dash ( - ) is entered for <valx>, no limit will apply for the corresponding SIM card. If only two values are entered,
        a dash must be entered for the other SIM cards; these SIMs will have no limit. A corresponding alarm message is
        generated when the limit on each card has been reached. If the keyword CHANGE is configured, the mobile chan-
        nel will not switch beyond the sixth SIM card.
        Different settings are possible for the various SIM-card carriers. The number entered (4, 24) refers to the number
        of slots. The respective number of SIMs per mobile channel is 1 or 6.
        The following configurations are possible. Settings shown here are for the SIM-24 carrier:
                     Configuration                                                Definition
            LIMIT[10,20,30,40,10,20]               Each SIM card has a defined limit.
            CHANGE
            LIMIT[10] CHANGE                       Each SIM has the same limit.
            LIMIT[10,-,-,-,-,-] CHANGE             The first SIM has a defined limit, the second has none.
            LIMIT[10,20,0,0,10,20] CHANGE          SIMs 1, 2, 5 and 6 have defined limits. The SIMs in positions 3 and 4 are
                                                   not used.
                                                                   101
CHAPTER 7
        If the keyword CONTINUE is configured, the mobile channel will switch beyond the sixth SIM card. When the limit
        on the last card has been reached, the mobile channel will switch back to the first card.
        In the following example, the mobile channel shuts down and switches to the next SIM card when 6,000 intervals
        of 10 seconds each have passed. The port is blocked after the limit has been reached on the last SIM card:
            ...
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,<SMSC>,1,1,1,SIM24] CHADDR ALARM NEXT LIMIT[6000] CHANGE...
        In the following example, the mobile channel shuts down and switches to the next SIM card when 6,000 intervals
        of 10 seconds each have passed. The mobile channel switches to the first SIM card after the limit has been reached
        on the last SIM card. To reset the counter on a monthly basis, see Chapter 11.4.1 on page 208 >:
            ...
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,<SMSC>,1,1,1,SIM24] CHADDR ALARM NEXT LIMIT[6000] CONTIN-
            UE...
        In the following example, only two SIM cards are inserted in the SIM-card carrier. These SIMs are used alternately
        in intervals of 3600 seconds each:
            ...
            ChargeUnitGenerate=1
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,<SMSC>,1,1,1,SIM24] CHADDR ALARM NEXT
            LIMIT[3600,3600,0,0,0,0] CONTINUE...
        In the following example, the mobile channel shuts down after the call has been disconnected, and switches to the
        next SIM card when 6,000 intervals of 10 seconds each have passed. When the parameter LimitWODisc is ON, the
        call will be torn down when the calling party hangs up. If it is set at OFF, the call will be terminated immediately
        when the limit is reached:
            LimitWODisc=OFF
            ...
            Subscriber00=TRANSPARENT ROUTER GSM[0000,00000,<SMSC>,1,1,1,SIM24] CHADDR ALARM NEXT LIMIT[6000] CHANGE...
            ...
        To find information about the current counts and limits for each mobile channel, click Statistics in the
        GATE Manager.
                                                               102
CHAPTER 7
                         If LIMIT is configured, bear in mind that SIM 1 must be configured in the pabx.cfg
                i        for the corresponding mobile port.
        By entering the parameter CALL in the Subscriber line, you can terminate calls that reach a defined time limit. For
        each call the limit is reset at 0. You can define a value anywhere within <limit>-<random>, and you can define a
        maximum value for <random>. The value entered for CALL must be at least 30 seconds.
                i
                         Bear in mind that you must add 1 to the values you wish to set, since the units change
                         at the beginning of each interval
        If this parameter is configured once, it will be set in each configuration file. If you prefer not to use it for all SIMs,
        set the limit higher than any call is likely to last (e.g. 360,000 seconds). To deactivate this function, remove the
        entry from the pabx.cfg and restart the system.
        Example:
The following entry is required if the iGATE is used in conjunction with a vGATE:
                         This function cannot be used in conjunction with the LIMIT function described in
                i        Chapter 7.7 >.
                                                                  103
CHAPTER 7
7 . 9 PA U S E B E T W E E N TW O C A L L S
        If the parameter WAIT appears in the Subscriber line, the mobile controller will not be used after a successful con-
        nection for a random amount of time between 1 and 30 seconds
        Example:
        You can define a time at which a mobile channel will change to another SIM card (up to six SIM cards are possible
        for this option). Before proceeding, please refer to Chapter 5.2.1.3 > for basic information.
        You must define all time windows you would like to use in the [System] section of the pabx.cfg, in the subsection
        night configuration.
        The following entry in the configuration file pabx.cfg is necessary:
        Night<num>=<time> <day>
        Example:           In the following example, six time windows are defined. The standard configuration is active ev-
                           ery day from 12:00 midnight to 4:00 a.m.. The time window Night1 is active from 4:00 to 8:00
                           a.m., etc.
            ;Night configuration
            ; ---------------------
            Night1=04:00 11111111
            Night2=08:00 11111111
            Night3=12:00 11111111
            Night4=16:00 11111111
            Night5=20:00 11111111
            NightResetTime=00:00 11111111
        To generate a NightConfiguration section for SIM switching, copy the complete Subscriber subsection from the
        [System] section after making the appropriate entries in the [Nightx] section.
        Finally, enter the SIM-card number (1-6 for the SIM 24 Carrier) that is to be active during the specified time period
        in the mobile port’s subscriber entry.
        Example:           In the following example, SIM cards change in the individual time windows (as configured
                           above). Only the Subscriber lines for controllers 12-15 are presented in simplified form. In a
                           proper configuration, all Subscriber lines must be defined.
                                                                104
CHAPTER 7
            [System]
            ...
            Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,1,1,1,SIM24]   ALARM
            Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,1,1,1,SIM24]   ALARM
            Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,1,1,1,SIM24]   ALARM
            Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,1,1,1,SIM24]   ALARM
            ...
            [Night1]
            ...
            Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,2,1,1,SIM24]   ALARM
            Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,2,1,1,SIM24]   ALARM
            Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,2,1,1,SIM24]   ALARM
            Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,2,1,1,SIM24]   ALARM
            ...
            [Night2]
            ...
            Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,3,1,1,SIM24]   ALARM
            Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,3,1,1,SIM24]   ALARM
            Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,3,1,1,SIM24]   ALARM
            Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,3,1,1,SIM24]   ALARM
            ...
            [Night3]
            ...
            Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,4,1,1,SIM24]   ALARM
            Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,4,1,1,SIM24]   ALARM
            Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,4,1,1,SIM24]   ALARM
            Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,4,1,1,SIM24]   ALARM
            ...
            [Night4]
            ...
            Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,5,1,1,SIM24]   ALARM
            Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,5,1,1,SIM24]   ALARM
            Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,5,1,1,SIM24]   ALARM
            Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,5,1,1,SIM24]   ALARM
            ...
            [Night5]
            ...
            Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,6,1,1,SIM24]   ALARM
            Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,6,1,1,SIM24]   ALARM
            Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,6,1,1,SIM24]   ALARM
            Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,+49555,6,1,1,SIM24]   ALARM
            ...
        The only difference is in the active SIM card. Activate the configuration after the required files have been copied
        onto the system.
        Bear in mind, that you must also make the appropriate entries in the corresponding route.cfg sections. For more
        information, please refer to Chapter 5.3 >.
                         This function cannot be used in conjunction with the LIMIT function described in
                i        Chapter 7.7 >.
                                                                 105
CHAPTER 7
Example:
            [System]
            Subscriber12=ALARM   GSM[0000,00000,+49555,1,1,1,SIM24]
            Subscriber13=ALARM   GSM[0000,00000,+49555,1,1,1,SIM24]
            Subscriber14=ALARM   GSM[0000,00000,+49555,1,1,1,SIM24]
            Subscriber15=ALARM   GSM[0000,00000,+49555,1,1,1,SIM24]
            [Night1]
            Subscriber12=ALARM   GSM[0000,00000,+49555,2,1,1,SIM24]
            Subscriber13=ALARM   GSM[0000,00000,+49555,2,1,1,SIM24]
            Subscriber14=ALARM   GSM[0000,00000,+49555,2,1,1,SIM24]
            Subscriber15=ALARM   GSM[0000,00000,+49555,2,1,1,SIM24]
            [Night2]
            Subscriber12=ALARM   GSM[0000,00000,+49555,-,1,1,SIM24]
            Subscriber13=ALARM   GSM[0000,00000,+49555,-,1,1,SIM24]
            Subscriber14=ALARM   GSM[0000,00000,+49555,-,1,1,SIM24]
            Subscriber15=ALARM   GSM[0000,00000,+49555,-,1,1,SIM24]
        When the iGATE is implemented in a corporate network and connected to a PBX or between a PBX and the outside
        line, the following configuration entry activates a feature, that uses a mobile caller’s OAD to connect with the last
        PBX extension the caller unsuccessfully dialed:
                i
                         Callback is not possible for VoIP calls.
        DialBack=<hours>
        The callback list is active for the number of hours entered.
        Example:           In the following example, the callback list is active for the previous five hours. The German coun-
                           try code is used for the LAINs. All calls with the prefixes 1111 and 2222 are terminated through
                           the carrier with the LAIN 26212. Calls with the prefix 3333 are terminated through the carrier
                           with the LAIN 26213:
DialBack=5
            MapAll1111=262121111
            MapAll2222=262122222
            MapAll3333=262133333
                         Make sure that no Restrict entries are configured for these mobile controllers.
                i
                                                                106
CHAPTER 7
7 . 1 2 O P T I O N A L M O B I L E Q U A L I T Y PA R A M E T E R S
The following table describes specific signaling and quality parameters for configuration of the mobile interface.
                                                                GSM=...
            Enter any of the following parameters after the equal sign for the following functions. Entries may appear in any
            order, but all entries must appear in the same line and in double-digit notation as follows:
            GSM=RSSI[10] STOP[18,08] ANNOUNCE[00,08] FAX[a2] ASR[20,35]
            ALERT[<sec>]               Set this parameter to generate alert signal in the D channel immediately after dial-
                                       end signal. If you enter optional square brackets containing a number of seconds, the
                                       alert signal will occur when the number entered has passed.
            ANNOUNCE                   Set this parameter to define what happens when a recorded announcement is recog-
                                       nized:
                                        No ANNOUNCE entry (default)
                                           A D-channel PROGRESS message stating Inband Information Available will be
                                           generated
                                        ANNOUNCE[<cause>]
                                           The connection will be rejected with the defined ISDN cause value.
                                        ANNOUNCE[00,<sec>]
                                           A timeout for voice recognition is defined in seconds (default value: 120 seconds).
                                           After the interval entered has passed, the connection is torn down.
            ASR[<limit>,               Allows you to change the default value (40 calls at 30% ASR). For a definition of ASR,
            <calls>]                   see Chapter 11.4.1 >.
                                                                  107
CHAPTER 7
                                                             GSM=...
            FAX[<cause>]            This entry allows you to reject fax calls with the defined cause value.
            RSSI[<limit>]           Configure this parameter to set a limit for the reception field strength. When the re-
                                    ception field strength falls below this limit, the mobile channel will be blocked. If the
                                    field strength is above the limit, the mobile channel will log on with the mobile carrier
                                    again. The values used are 0 to 31, which represent the following field strengths: -
                                    113dBm to -51 dBm. An error is generated in the protocol log. The result must
                                    be divided by 2.
                                    EXAMPLE: To define a field strength of -95 dBm, subtract -95 from-113 and divide
                                    the result by 2:
                                    - 113dB - (-95dB) = -18dB / 2 = 9
                                    Enter RSSI[9]
            STOP[<val1>,            This entry allows you to define a maximum number of connection setups that always
            <val2>]                 result in a recorded message (<val1>) without a call-connected signal or successful
                                    connection setup, or that are always accepted (<val2>). The mobile port is blocked
                                    when the defined value is reached and an entry is recorded in the log file (...Err:
                                    Voice). In this way inactive SIM cards that are forwarded to a recording (with or with-
                                    out a connect from the mobile carrier) can be recognized and blocked so that they
                                    are removed from the routing process. The default status of this function is off.
            NOCP                    When this option is configured and the call is from ISDN to GSM, the Call Proceeding
                                    signaling message will be eliminated from signaling. This may be necessary if the
                                    ISDN peer does not support Call Proceeding. Bear in mind that the peer’s Setup Ack
                                    Timer is usually set at 5 seconds, which means that an Alert must be generated as
                                    follows: GSM=ALERT[5]
        Configuring Class2Next=Off in the pabx.cfg file ensures that calls rejected with a class 2 cause value are not re-
        routed to the next available port.
                                                                108
CHAPTER 7
        When ASRBlock=Off is used, the port will be restarted and will remain open.
        The following parameter in the pabx.cfg file allows you to change the default value (30% for 40 calls):
        GSM=ASR[<percent>,<number of calls>]
GSM=ASR[20,35]
        Prepaid SIM cards are an alternative to mobile telephone SIMs with a contract. Instead of being billed retroactively,
        prepaid SIMs are paid for in advance and then recharged when they run out.
        The advantages of prepaid SIMs are:
         No monthly basic fee
         Cost control
         No surprises resulting from unexpectedly high mobile telephone bills
        When the account is empty, it can be recharged. The recharging methods for prepaid SIM cards of different carriers
        vary:
         Recharging via SMS/USSD
         Recharging via call to a defined number
         Recharging via DTMF
         Automatic recharging via direct debit
        When prepaid SIMs that do not recharge automatically (e.g. through a credit card) are used in a iGATE, it is possible
        to recharge them directly from the system. The following requirements apply:
             The SIM is registered and no connection is active.
             Exact knowledge of the mobile carrier-specific recharging procedure exists.
             One valid prepaid voucher exists for one recharge.
                                                                 109
CHAPTER 7
               account manager. Unfortunately, only a few mobile carriers currently support SMS recharging. Please ask
               your mobile carrier if he supports SMS recharging.
              Connection setup to the account manager with subsequent menu selection and DTMF-tone transmission
               of the voucher number
               – Direct recharging: Connection setup from a telephone through the iGATE to the account manager and
                    manual DTMF-tone transmission.
               – Indirect recharging using the GATE Manager: The GATE Manager sets up a connections through the
                    iGATE to the account manager and sends the configured DTMF tones automatically.
                 i
                           Direct recharging is the simplest procedure. Since a direct connection exists, it is pos-
                           sible to react to commands and error messages immediately. Indirect recharging by
                           means of USSD is the most reliable and quickest way to recharge SIMs if the config-
                           uration in the TELES.GATE Manager and iGATE is correct.
        To avoid recharging the wrong SIM card, be sure to check the mobile controller's active SIM using the
        GATE Manager:
GATE Manager
        Connect to the system and go to the Port Status window. The active position in the SIM-card carrier is displayed
        in the SIM # column. The mobile controller's active SIM is displayed in the IMSI column.
            7 . 1 5 . 1 . 2 A D D R E S S I N G S I M S U S I N G P O R T - A N D C O N T R O L L E R- S P E C I F I C
                                                           ROUTING
        SIM recharging for a specific mobile controller requires configuration and activation of port- and controller-specific
        routing entries in the route.cfg or pabx.cfg configuration file. Usually SIM cards are assigned to a carrier's trunk
        group and all calls through the carrier's network are evenly divided between the mobile controllers in the group.
        This would also apply to recharge calls.
                                                                110
CHAPTER 7
            MapAll4400=20*0001:12345
            MapAll4401=20*0101:12345
            MapAll4402=20*0201:12345
            MapAll4403=20*0301:12345
            MapAll4404=20*0401:12345
            MapAll4405=20*0501:12345
            MapAll4406=20*0601:12345
            .......
            MapAll4431=20*0631:12345
        If a call is active on the mobile port containing the SIM to be recharged, the recharging process will not occur. For
        this reason it is better to block the port before recharging the SIM. In the Connections window, you must check
        the status No Connection on the mobile port. Block Port does not tear down a connection, it only prevents a new
        connection from being set up.
                i
                         Port- and controller-specific routing has a higher priority than the Block Port com-
                         mand. This ensures that normal calls are blocked, but recharge calls can be sent
                         through the defined mobile port.
        This is the easiest method when it is possible to set up a telephone connection to the iGATE system via PSTN or
        VoIP. This call can be connected with the carrier's account manager over a defined mobile controller. This means
        the call is set up over the controller's active SIM. Then you simply follow the account manager's recharge instruc-
        tions. After the SIM has been successfully recharged, it can be used again for a certain amount of time.
        The call can be set up using a number of methods. This is also possible if there are not enough available telephone
        numbers to handle all of the system's available mobile controllers.
           DLA via DTMF
            The user calls a defined number in the system. The called number is connected with the DTMF platform.
            The digits that are transmitted via DTMF match those in the routing entries. When the connection to the
            account manager has been established, both legs will be connected (see Chapter 7.15.1.2 >).
         GATE Manager (described in Chapter 7.15.2.2 > below)
        That means no BRI connection is necessary for a telephone that is connected directly to the system!
                                                                111
CHAPTER 7
7 . 1 5 . 2 . 2 I N D I R E C T R E C H A R G I N G V I A G AT E M A N A G E R
        This chapter describes automatic recharging of prepaid SIMs using the GATE Manager. It is not necessary to set up
        a telephone connection to the iGATE. The GATE Manager can set up its own connection to the carrier's account
        manager and send the pattern of DTMF tones or a USSD message.
                                                               112
CHAPTER 7
lowing transmission of the voucher key and a 10-second pause, the call will be torn down.
                i
                         Bear in mind that DTMF tones are only generated with connections into the mobile
                         network. Test calls over the PRI, BRI or VoIP interfaces do not transmit DTMF tones
                         and no tones can be heard!
Controller36=41DTMF
        The configuration file route.cfg must contain the following entry in the [System] section:
        MapAllDTMF=<dtmf port>DTMF
        MapAll<place>??=<port>*??01:
        or
        MapAll<place>??=<LAIN>*??01:
        First a placeholder is defined, followed by ?? so that one mapping entry applies for the entire group of the carrier's
        mobile controllers. The right side of the mapping entry begins with the mobile port number or the port's LAIN.
        Example:           In the following example, prepaid SIMs from 2 different carriers are used in the system. The letters
                                                                 113
CHAPTER 7
                           Y and Z are used as placeholders, and the carrier's LAINs are 26212 and 26213 (based on the
                           German country code):
            MapAllDTMF=41DTMF
            MapAllY??=26212*??01:
            MapAllZ??=26213*??01:
        Set up a connection to the system through the GATE Manager and select Commands | Send Call. Enter DTMF
        in the 1st Number dialog box. In the 2nd Number dialog box, enter the carrier's placeholder (Y or Z) and the
        number of the controller in which the SIM card is active (15 or 05). Enter a 0 in front of single-digit controller num-
        bers. Then enter the carrier's USSD code (*101*) and the voucher number (44444444444 or 55555555555). The
        USSD command ends with #.
                         Incorrect USSD commands can result in blocked SIMs or failure in the mobile module!
               !
        Configuration entries for recharging confirmation are described in Chapter 3.
                                                                 114
CHAPTER 7
You will find it in the General view under Licenses when you connect to the system via GATE Manager.
        The name for the license is SMS. This entry is required to send SMS.
        You must configure the mail service in the [Mail] section of the file pabx.cfg if you want to send the SMS messages
        with an e-mail client through a mail server or directly to the iGATE:
        [Mail]
        SmtpServer=<server addr>
        MailRcpt=<domain>
        MailFrom=<own address or name>
                i
                         This entry is not necessary when using only the GateManager's Send SMS command.
The third entry in the mobile controller's Subscriber line is the SMS center number:
German example:
                                                               115
CHAPTER 7
            MapAllSMS00=26212*0001:12345
            MapAllSMS01=26212*0101:12345
            MapAllSMS02=26212*0201:12345
            MapAllSMS03=26212*0301:12345
            MapAllSMS04=26212*0401:12345
            MapAllSMS05=26212*0501:12345
            MapAllSMS06=26212*0601:12345
            ……
        If the SMS is sent with a normal e-mail client, the keyword SMS will appear in the To dialog box, followed by the
        short number, which indicates the mobile controller. An @ sign and the iGATE's IP address or name if the system
        is attached to a DNS server will follow. The message box contains the recharge code in the carrier's syntax.
        SMS00@<ipaddr>
        SMS00@<domain>
        If the SMS is used with the Send SMS command in the
        GATE Manager's Commands menu, use only the short number
        and not the keyword SMS.
        To save the recharge platform's confirmation e-mail, the e-mail
        can be sent to an account using the following entry in the
        route.cfg:
        Restrict<port>=@<addressee> 05
        It can also be saved into a file using the following entry in the
        pabx.cfg:
        MsgLog=/data/msg.log
        To save it into a file, the following entry in the route.cfg is also
                                                                                            Figure 7.5 Send SMS
        required:
        Restrict<port>=@FILE 05
        Example:           In the following example for saving the SMS into a file, all incoming SMS to LAIN 26212 is saved
                           into the file msg.log:
Restrict26212=@FILE 05
If the e-mail is sent to an account, the routing entry will look like this:
Restrict26212=@nase 05
        Use the following entries in the pabx.cfg to connect the iGATE to an e-mail server:
        [Mail]
        SmtpServer=<server address>
        MailRcpt=<domain>
        MailFrom=<own address or name>
                                                                  116
CHAPTER 7
        After a SIM card has successfully been recharged, you can query its current account status. The following variations
        are possible:
           Direct query via call
           Indirect query with the GATE Manager
           Listening in on the GATE Manager connection
           USSD account-status query
        The same basic settings apply here as have already been described for SIM recharging.
        That means routing configurations must be entered that set up a connection between the caller and the carrier's
        prepaid platform. Use the same routing configuration described in Chapter 7.15.2 >. The only difference is that
        you will select the account-status query instead of account recharging from the menu.
        The indirect method with the GATE Manager and listening in on the connection requires a change in the pattern
        of DTMF tones. You must, of course, know what the pattern is beforehand, and then you must configure it in the
        Send Call dialog.
        The indirect USSD account-status query corresponds with the USSD recharging procedure with altered USSD ac-
        count-status-query command instead of the recharging command with cash code (voucher number).
              i
                        The USSD recharging procedure results in an immediate USSD response message, so
                        that the iGATE does not require an explicit query following USSD recharging.
                                                               117
CHAPTER 7
        Account-status information can be saved to a file in the iGATE. The following entry in the pabx.cfg is required:
        MsgLog=/data/msg.log
        The corresponding routing entries in the route.cfg configuration file will look like this:
        Restrict<port>=@FILE 06
        Restrict<LAIN>=@FILE 06
        Example:           The following example shows incoming USSD messages for 2 carriers:
            Restrict26212=@FILE 06
            Restrict26213=@FILE 06
7 . 1 6 D E F I N I N G S P E C I A L C H A R A C T E R S F O R VO I C E C A L L S
        In cases in which the called number includes special characters (e.g. * or #), it may be necessary to define the call
        type used in the mobile network (command or voice call). Calls to GSM or CDMA that begin with * or #, are sent
        as command calls by default. For voice calls beginning with * or #, you must define the call type voice in the map-
        ping entry with a > sign.
        The routing entry will look like this:
        MapAll<num>=<LAIN>><num>
        Example:
MapAll222=11111>*222
                                                                 118
CHAPTER 8
        This function makes it possible to collect digits and transmit calls when a specific number of digits has been dialed.
        The entire call number is required for the call to be set up with a mobile phone or the mobile gateway. Since most
        numbers have a uniform number of digits, the mobile gateway can collect digits when calls enter the gateway in
        overlap mode. Digit collection occurs through the following mapping command:
        MapAll<direct>=|<num><<<digits>
        The | (pipe) signifies that the following digits will be collected before they are transmitted, and <digits> is the total
        number of the port digits and the digits of the called party number. This figure can range between 00 and 24 and
        must be entered in double digits. The parameter DTMFWaitDial defines the number of seconds the system waits
        between the individual digits (default 5). Please bear in mind that you can configure a maximum of 11 digits in the
        first part of the command and 19 (including a special character, e.g. #) in the second. The call will be forwarded
        as soon as the specified number of digits has been dialed or a time-out limit has been reached.
        Example:           The following example shows a call with the prefix 01555. The | (pipe) signifies that the following
                           digits will be collected before they are transmitted. The 14 at the end is the sum of the port digits
                           and the digits of the called party number (e.g. |#20=3, 01555899666=11, 3+11=14).
            ...
            MapAll01555=|#2001555<<14
            ...
            DTMFWaitDial=5
            ...
        This chapter describes the configuration options for exclusion of data calls, prefixes, or call numbers from the rout-
        ing process.
        The system will reject all calls directly if the MapAll entry contains the keyword & followed by the two-digit cause
        value (see ETS 300 102-1).
        MapAll<direct>=&<cause>
                i
                         A maximum of 5000 MapAll entries per time zone can be defined. For more than 5000
                         entries, please use the iMNP.
Example: In the following example, all calls to the number 004915551234 and all service calls with the
                                                                 119
CHAPTER 8
prefix 0180 are rejected with a busy signal. All other calls are sent to the VoIP profile DF:
            MapAll015551234=&91
            MapAll004915551234=&91
            MapAll0180=&91
            MapAll0=40DF:0
            ...
            MapAll9=40DF:9
                i
                         A maximum of 1000 Restrict entries per time zone can be defined.
        Example:           In the following example, the numbers 12345 and 12346 connected to the PBX at port 10 cannot
                           make any international calls. All national calls are sent to the VoIP profile DF and all local calls
                           are sent to the PSTN:
            Restrict1012346=int
            MapAllint00=&91
            MapAllint0=40DF:0
            MapAllint1=91
            ...
            MapAllint9=90
        Example:           In the following example, all incoming calls from the mobile port trunk groups 26212 and 26213
                           are rejected with a busy signal:
            Restrict26212=not
            Restrict26213=not
            MapAllnot=&91
        ISDN data calls can be handled differently from voice calls depending on the configuration of the call types DATA
        or VOICE. This setting is especially interesting for VoIP or GSM calls:
        MapAll<direct>=&<cause> <mode>
                i
                         Analog modm connections are not included in this configuration, as they generally
                         do not have a specified bearer capability.
Example: In the following example, all ISDN data calls are rejected with the cause value AA (switching
                                                                 120
CHAPTER 8
                           equipment congestion). All calls with the prefix 0170 are routed to the mobile trunk group 26211
                           and all other calls are routed through VoIP:
            MapAll0=&aa DATA
            ...
            MapAll9=&aa DATA
            ...
            MapAll0170=262110170
            MapAll0=40DF:0
            ...
            MapAll9=40DF:9
8 . 2 . 4 S P E C I F I C R O U T I N G O F D A T A C A L L S V I A VO I P
        In the ISDN network, data calls have a special service type. When an ISDN PBX is connected to a VoIP network, it
        must continue to work without any problems (e.g. PBX remote maintenance calls or ISDN terminal adapter). In the
        case of VoIP, a specific RTP payload type is used: trp, ccd or gnx64.
        Example:           In the following example, two VoIP profiles are configured, so that all calls are routed, regardless
                           of whether they are data calls or voice over IP calls. The first one is for outgoing voice calls and
                           all calls from VoIP to ISDN. The second profile is exclusively for outgoing data calls, so that sig-
                           naling consists solely of clear mode in SDP:
            MapAll0=40DATA:0 DATA
            ...
            MapAll9=40DATA:9 DATA
            MapAll0=|40DF:0<<24
            ...
            MapAll9=|40DF:9<<24
            Restrict40=In
            MapAllIn=10
            [Voip:DF]
            VoipDirection=IO
            ...
            VoipCompression=g711a g729 trp t38
            ...
            [Voip:DATA]
            VoipDirection=Out
            ...
            VoipCompression=trp
            VoipECE=No
            ...
        This function allows you to route calls with Calling Line Identification Presentation (CLIP) differently from calls with
        Calling Line Identification Restriction (CLIR). For example, all CLIP calls can be rejected, so that only calls that do
        not present the calling number or calls without a calling party number (e.g. analog) are transmitted through the
        iGATE.
                                                                 121
CHAPTER 8
            ...
            InsertCLIR=On
            ...
            Restrict9=OK 01
            Restrict|9=OK 01
            Restrict90=FAIL 01
            ...
            MapInOK00491555=2200491555
            MapInFAIL=&aa
            ...
        InsertCLIR=On activates this mode. 01 is the service indicator for telephony (analog and ISDN) and is used to dif-
        ferentiate these calls from remote administration calls. Restrict9=OK 01 means that all telephony calls without a
        calling number are put through. Restrict|9=OK 01 means that all CLIR telephony calls are put through.
        Restrict90=FAIL 01 means that all CLIP telephony calls are rejected with No Channel Available as rejection cause
        when they are mapped to MapInFAIL=&aa.
        This function enables you to bypass CLIR for calls through the defined mobile port. The following configuration in
        pabx.cfg activates this function:
Subscriber<xx>=...GSM[...,!CLIR]...
                i
                         When this function is configured, the SIM’s telephone number (and not originating
                         telephone) is always transmitted to the B subscriber.
        Setting a hash (#) in front of a call number makes it possible to suppress the presentation of the origination number
        of calls regardless of how the call comes into the system.
        The following sytax is used: MapAll<num>=#<port><num>
        Example:           The following example shows an appropriate configuration. With this entry, all calls beginning
                           with 00491555 are sent to the port with the address 22 and the presentation of the number is
                           restricted:
MapAll00491555=#2200491555
        Setting an exclamation point (!) in front of a call number makes it possible to force the presentation of the origi-
        nation number of calls regardless of how the call comes into the system.
                                                                122
CHAPTER 8
MapAll004930=!9004930
        The conversion of call numbers makes it possible, for example, to implement number portability or to redirect calls
        when the user can be reached at another number. In the following mapping command, the call number
        015550123456 is changed to 015559876543 and sent to the mobile channel (MapAll...=20..):
        Example 1
            ...
            MapAll015550123456=20015559876543
        Example 2 > presents an alternative, in which the routing file is searched through again after conversion of the
        call number to determine the route for the prefix 01555. Please bear in mind that you can configure a maximum
        of 1499 mapping entries with no more than 11 digits in the first part of the command and 19 in the second.
        Example 2
            ...
            MapAll015550123451=$Reception
            MapAll015550123452=$Reception
            MapAll015550123453=$Reception
            MapAllReception=015559876543
8 . 6 S E T T I N G N U M B E R TY P E I N O A D / DA D
        In some cases it may be necessary to set a specific number type for the OAD or DAD. There are different methods
        for the various interfaces. The following number types can be set:
                                         Type                           Definition
                                u                       Unknown
                                s                       Subscriber number
                                n                       National number
                                i                       International number
        OAD
        Use the following entry to set a specific number type in the OAD:
                                                               123
CHAPTER 8
        Restrict<port><num>=<type> 15
        For the national and international types, remove the 0(s) at the beginning of the number:
        Restrict<port>0=n 15
        Restrict<port>00=i 15
        Example:           In the following example, the bit is set in the caller’s origination number for a call via BRI con-
                           troller 01:
            Restrict90=n 15
            Restrict900=i 15
        Example:
        You can set a u (unknown type of number) in the Restrict entry to change transmission of the national/international
        bit to 0 or 00 at the beginning of the OAD. As in a mapping entry, the national/international bit will always appear
        left of the equal sign as 0 or 00.
        Restrict<port>0=u0 15
        Restrict<port>00=u00 15
        In the following example, the area code 030 with a 0 at the beginning of the OAD of the PBX’s extension is set as
        a digit and transmitted along with the number:
Restrict10555=u030555 15
                         Restrict entries are handled from general to specific from top to bottom.
                i
        DAD
        Enter one of the four specific number types in the DAD as follows:
        MapAll<num>=<port><type><num>
        In the case of a VoIP controller, enter the following:
        MapAll<num>=<port><voip profile>:<type><num>
        The number type will then be defined at the port. For the national and international types, remove the 0(s) at the
        beginning of the number:
        Example:           In the following example, the international bit is set for all calls to Italy (0039) and the number
                           is transmitted with 39. For the area code 012, the national bit is set and the number is transmit-
                           ted with 12:
            MapAll0039=40iG1:i39 VOICE
            MapAll012=40iG1:n12 VOICE
        General Example
        Example:           In the following example, a 1:1 routing entry for the individual PRI controllers to VoIP appears in
                                                                 124
CHAPTER 8
                              addition to the international flag from PRI to VoIP. A placeholder routing entry is used (bla or blu),
                              in which the PRI ports are directly assigned to a mapping. Traffic at PRI port 9 is sent directly to
                              VoIP port 40 with the VoIP profile iG1. Traffic from PRI port 10 is sent to VoIP port 40 with the
                              profile iG2:
            Restrict9=bla
            Restrict900=i 15
            Restrict10=blu
            Restrict1000=i 15
            MapAllbla00=40iG1:i
            MapAllblu00=40iG2:i
                         The restrict entries for the individual ports must appear in the following order:
                i        placeholder, OAD international flag, DAD routing with international flag.
        You can set the screening indicator to define whether the calling-party number sent is specified as user provided
        verified and passed or network provided:
        User provided verified and passed: v
        Example:              In the following Restrict example, the calling party number sent is specified as user provided ver-
                              ified and passed:
Restrict10=v 15
        Network provided: p
        Example:              In the following Restrict example, the calling party number sent is specified as network provided:
Restrict10=p 15
        If you also want to define a number type (see Chapter 8.6 >), it must appear in front of the screening indicator:
        Example:              In the following Restrict example, the screening indicator is specified as network provided, and
                              the number type is international:
Restrict10=ip 15
        Example:              Please bear in mind that this entry will not work if you set a minus sign (-) behind Voi-
                              pOad=<num>.
Use the Restrict command to set a default origination number (*<oad> 15) when the OAD is restricted (<num>):
                                                                    125
CHAPTER 8
        Restrict<port><oad>=*<num> 15
        Example:              In the following example, 12345 replaces the original OAD. When the destination number begins
                              with 030, the call is sent through controller 10:
            Restrict9=*12345 15
            MapAll030=10030
        Use the entry Restrict<port><oad>=<num> 15 if digits at the beginning of the OAD are the only ones to be re-
        stricted.
        Example:              In the following example, the digits 004930 are replaced with 030 followed by the remaining
                              digits. The destination number begins with 030 and is sent through port 10.
            Restrict9004930=030 15
            MapAll030=10030
In some cases the ISDN or H323 peer system may require this byte for routing, or the byte may disrupt signaling.
MapAll0=)90
MapAll0=(40DF:0
                                                                   126
CHAPTER 8
        In the following scenarios it may occur that some call numbers must be routed with differing lengths or that some
        call numbers may require additional number conversion:
             Calls without a destination number
             Connection to a PBX with an extension prefix
             Routing based on the length of the destination number
        Enter the following configuration in the route.cfg if the iGATE must route calls that come in without a destination
        number:
        Restrict<port>=<pl>
        MapAll<pl><num>=<port><num>
        MapAll<pl>=<port>
        Incoming calls from the configured port will be assigned a placeholder and then all calls beginning with the place-
        holder will be routed to the placeholder’s placeholder’s mapping.
        Example:           In the following example, all calls from controller 9 are routed to controller 10, regardless of
                           whether a destination number appears in the setup:
            Restrict9=pl
            MapAllpl=10
        To route calls with a DAD differently from those without a DAD, you must activate the block feature in the pabx.cfg
        and restart the system:
        Block=1
        Set all other parameters in the route.cfg. First define the port from which the incoming calls are to be routed. In-
        coming calls from the configured port will be assigned a placeholder and then digit collection will occur for all calls
        beginning with the placeholder. The $ in the mapping entry, followed by the defined placeholder (MMM), causes
        a second search of the routing file when the number is complete:
        DTMFWaitDial=<sec>
        Restrict<port>=<pl>
        MapAll<pl>=|$MMM<<98
        The second routing-file search is based on the routing entry with the leading placeholder (MMM):
        MapAllMMM<digits>=<dest><digits>
        Example:           In the following example, digit collection is activated for all calls that come into port 9. Calls with
                           the destination number 2222 are sent to the VoIP controller with the profile DF and the destina-
                           tion number is replaced with the SIP account Betty. Calls with the num-ber 3333 are sent to VoIP
                           with the SIP account Al. All other calls with a destination number are sent to controller 10. Calls
                                                                  127
CHAPTER 8
without a destination number are sent to the number 12345 at port 10:
            DTMFWaitDial=5
            Restrict9=pl
            MapAllpl=|$MMM<<98
            MapAllMMM2222=40DF:Betty
            MapAllMMM3333=40DF:Al
            MapAllMMM0=100
            MapAllMMM1=101
            MapAllMMM2=102
            MapAllMMM3=103
            MapAllMMM4=104
            MapAllMMM5=105
            MapAllMMM6=106
            MapAllMMM7=107
            MapAllMMM8=108
            MapAllMMM9=109
            MapAllMMM=1012345
8 . 1 1 C H A N G I N G C A U S E VA L U E S
        It is possible to group cause values together into a single defined cause value so that rejected calls can be handled
        in a specified manner by the switch sending the call to the iGATE. The following cause value groups can be defined
        in the pabx.cfg:
                                                                128
CHAPTER 8
        Use the following parameter to translate a cause from ISDN to a specific SIP response:
        SipCause<ISDN cause>=<SIP Response>
        Repeat the entry to initiate an additional translation.
        Use the following paramter to translate a cause from SIP to ISDN:
        SipEvent<SIP Response>=<ISDN Cause>
        The following range of values applies:
        400<= <SIP Cause> <=699            (defined in RFC 3261)
        0<= <ISDN Cause> <=127             (DSS1 decimal cause number)
                                                                  129
CHAPTER 9
                          9 A D D I T I O N A L VO I P PA R A M E T E R S
        You can enter the following additional parameters in the route.cfg to adjust the configuration for improved com-
        munication with the VoIP peer.
9 . 1 S I G N A L I N G PA R A M E T E R S
                                                                   130
CHAPTER 9
                                                                    131
CHAPTER 9
            VoipMapAddressType=<mode>
               For calls from PSTN to VoIP only. Enter yes to change the 00 at the beginning of a number to international
               and 0 to national.
            VoipSetupAck=<int>
               1=setup acknowledge is transmitted; 0= setup acknowledge is not transmitted; 2 (default) =transmitted
               with H.323 information.
            VoipH245Transport=<int>
               This option determines the H.245 offer. 0 (default)=all signaling variants are offered; 1=FastStart only;
               2=H.245 tunneling only; 3=extra session.
            VoipCanOverlapSend=<mode>
               Enter off to deactivate overlap sending during setup (default on).
            VoipRestrictTCS=<mode>
               If Yes is entered, the response in the H.323 tunneling terminal capability set contains only the codecs offered
               by the peer and not those configured in the system. Default No.
                                                                  132
CHAPTER 9
                                                                  133
CHAPTER 9
                                                                   134
CHAPTER 9
9 . 2 R E G I S T R A R PA RA M E T E RS
The following parameters can be used in the VoIP profile when the SIP agent wants to register with the iGATE.
                                                                  135
CHAPTER 9
        Example:            The following example creates an account for a user agent with the username 130 and password
                            test130. Authentication occurs with the procedure www:
MapAll130=40U1:130
            [Voip:U1]
            VoipDirection=IO
            VoipIpMask=0x00000000
            VoipOwnUser=130
            VoipOwnPwd=test130
            VoipExpires=300
            VoipAuth=www
            VoipCompression=g711a g711u g729 g729a g729b g729ab
            VoipSilenceSuppression=no
            VoipSignalling=1
            VoipMaxChan=8
            VoipTxM=2
            VoipDtmfTransport=0
            VoipRFC2833PayloadType=101
            VoipMediaWaitForConnect=Tone
                                                                  136
CHAPTER 9
9 . 3 R O U T I N G PA R A M E T E R S
                                                                   137
CHAPTER 9
9 . 4 Q U A L I T Y PA R A M E T E R S
                                                                   138
CHAPTER 9
                                                                  139
CHAPTER 9
                                                                  140
CHAPTER 9
                                                                 141
CHAPTER 9
                                                                 142
CHAPTER 9
                                                                  143
CHAPTER 9
            VoipT304=<sec>
               An outgoing VoIP calls will be canceled in the state of Setup Acknowledge (for H323) or Trying (for SIP) if
               the number of seconds entered has passed and there is no response from the IP or VoIP carrier.
            VoipT310=<sec>
               An outgoing VoIP calls will be canceled in the state of Call Proceeding (for H323) or Session Progress (for
               SIP) if the number of seconds entered has passed and there is no response from the IP or VoIP carrier.
The following specifications for Quality of Service correspond with RFC791 and RFC1349.
            Bit                  0             1         2            3           4           5            6                7
            Distribution         Precedence                           TOS                                                   MBZ
            Bit                  Description
            0-2                  Precedence
            3                    TOS: 0=normal delay, 1=low delay
            4                    TOS: 0=normal throughput, 1=high throughput
            5                    TOS: 0=normal reliability, 1=high reliability
                                                                   144
CHAPTER 9
9 . 5 C O M P R E S S I O N PA R A M E T E R S
        The following parameters are for RTP multiplexing, which aggregates RTP packets (voice user data) for individual
        VoIP calls into a packet. The header (for Ethernet, IP, UDP and RTP) is sent only once for all calls instead of for each
        individual call. The relationship between header and payload benefits the payload when several calls occur simul-
        taneously. This compression does not result in any loss in voice quality.
        This feature is possible with a Teles peer and requires the following entries in the VoIP profile:
                                                                    145
CHAPTER 9
9 . 6 FA X / M O D E M PA R A M E T E R S
            VoipFaxECM=<mode>
               You can use this parameter to disable the error correction mode for fax transmission: yes=enabled (default),
               no=disabled.
            The following parameters are responsible to set the modem transport method if a modem connection is detected.
            VoipV21Transport=<mode>
               0=disabled (must be set to 0).
                                                                  146
CHAPTER 9
            VoipV23Transport=<mode>
               0=disabled, 2=bypass (default).
            VoipV32Transport=<mode>
               0=disabled, 1=relay (default), 2=bypass .
            VoipV34Transport=<mode>
               0=disabled, 1=fallback to v32, 2= bypass (default).
                                                                147
CHAPTER 9
9 . 7 D T M F PA R A M E T E RS
                                                                  148
CHAPTER 10
        When typographical errors are made in the configuration files, an entry appears in the protocol.log when the
        configuration is activated. This entry includes the line number and its contents.
        The protocol.log file – assigned as the file for logging the protocol in the configuration file
        (ActionLog=file) – contains information on all activities within the system. In the example below, you can see
        that all activities are recorded beginning with the date and time. If functions were activated by key combinations
        from terminal devices you can identify these along with the service ID.
                                                              149
CHAPTER 10
                                                            150
CHAPTER 10
        The following options are available for monitoring the iGATE 4 Mobile Boards’ status or the status of each mobile
        channel. You can access status information through data recorded in the protocol.log file or in the Layer 1
        column in the GATE Manager’s Port Status window.
                                                              151
CHAPTER 10
                                                                152
CHAPTER 10
        The following status and error messages appear in the protocol.log file when ALARM appears in the VoIP
        port’s subscriber line:
                         Message                                                 Definition
         System Configuration (a)
         config: <num> duplicate profile           Specified line in pabx.cfg or route.cfg contains duplicate profile.
         config: <num> invalid                     Specified line in pabx.cfg or route.cfg is invalid.
         config: evaluation errcode <num>          Internal error.
         Port-Specific Entries
         [<port>]Unblock Port                      The <port> has been unblocked. This can occur via remote access
                                                   for all controller types or automatically via vGATE for mobile chan-
                                                   nels.
         [<port>]Block Port                        The <port> has been blocked. This can occur via remote access for
                                                   all controller types or automatically via vGATE for mobile channels.
         [<port>]Restart Port                      The <port> has been blocked. This can occur via remote access for
                                                   all controller types or automatically via vGATE for mobile channels.
         Ethernet Interface
         [99d]ERR: emac<num><state>                The Ethernet controller’s status is checked every minute and any
                                                   change in status is noted.
                                                   <num>         Number of the EMAC interface (0 or 1).
                                                   <state>       up Ethernet link is active
                                                                 down Ethernet link is inactive
         !resolve ip-address                       ARP request for specified IP address failed.
         pingcheck failed                          Ping to configured server failed for configured amount of time; host
                                                   might reboot this port.
         Voice Packetizer Task (b)
         [<port>]ERR: OK, <count> devices          The number (<count>) of DSPs were loaded during startup without
                                                   errors. The first VoIP controller appears in [<port>].
         [<port>]ERR: init failed                  A DSP could not be loaded. This DSP or the first VoIP controller is
                                                   defined in [<port>].
         VP: <channel> <msg>                       Voice-packetizer chips report fatal error on specified channel, with
                                                   specified message.
         VoIP (c)
         GK <name> URC                             Successful UnRegister from specified gatekeeper.
                                                             153
CHAPTER 10
                         Message                                                    Definition
         GK <name> GRJ <num>                          GatekeeperRequest was rejected
         GK <name> RCF                                Successful RegistrationRequest (RegistrationConfirm).
         GK <name> RRJ <num>                          RegistrationRequest was rejected.
         GK <name> ARJ <dad> <num>                    AdmissionRequest was rejected.
         GK <name> !ACF dad                           AdmissionRequest was not answered.
         GK <name> !GCF                               GatekeeperRequest was not answered.
         no profile for ipaddress                     Incoming VoIP call from specified IP address was rejected due to no
                                                      matching VoIP profile.
         registrar <name>: registration done          Successful registration at SIP registrar.
         registrar <name>: wrong auth-type            Registrar does not perform MD5 for authentication.
         <num>
         registrar <name>: gives no nonce             Nonce missing in response from registrar (possible error in registrar
                                                      configuration).
         registrar <name>: registration forbidden     Registration with specified registrar is not allowed.
         registrar <name> not answering               Specified registrar does not respond.
         voipconn oad->dad broken                     Voice codec chips report broken RTP connection.
         voip FdInitAll failed <cause>                Internal failure.
         voip ISDNListen failed                       Internal failure.
         voipIpSocketInit failed                      Internal failure.
         !DNS-lookup <hostname>                       DNS lookup for specified host name failed (DNS not activated? Miss-
                                                      ing or invalid DNS server?).
         message from <ip addr> not decodable         H323, ASN1 packet cannot be decoded.
         vGATE
         [99]ERR: SimUnit !connect                    An outgoing connection to the vGATE Sim Unit could not be estab-
                                                      lished.
         [99]ERR: ControlUnit <ip addr> !connect      An outgoing connection to the vGATE Control Unit could not be es-
                                                      tablished.
         Number Portability
         [99i]ERR: np !connect                        Connection to the iMNP could not be established.
         [99i]ERR: np connect <ip addr>               Connection to the iMNP reestablished.
                                                                154
CHAPTER 10
                         Message                                                   Definition
         System Kernel (e)
         task <name> suspended                        specified task was suspended due to internal error; host might re-
                                                      boot this port.
         Mail (f)
         cdr !connect <ip addr>                       sending CDR: TCP connect to specified IP address failed.
         mail !connect <ip addr>                      sending e-mail: TCP connect to specified IP address failed.
         Radius (g)
         !DNS-lookup <hostname>                       DNS lookup for specified host name failed (DNS not activated? Miss-
                                                      ing or invalid DNS server?).
         timeout auth <ip addr>                       Authentication request to specified Radius server failed due to tim-
                                                      eout.
         timeout acnt <ip addr>                       Accounting request to specified Radius server failed due to timeout.
         !rsp-auth <ip addr>                          Response authenticator from specified Radius server was invalid
                                                      (wrong secret/password?).
         !auth <ip addr> <num>                        Authentication denied by specified Radius server.
         Configuration Errors in the ip.cfg
         Error in ip.cfg line <line>: section [<section_name>] unknown
         Error in ip.cfg line <line>: parameter "<parameter_name>" in [<section_name>] unknown
         Error in ip.cfg line <line>: parameter "<parameter_name>" does not belong to any Section
         There is an error in the NAT Configuration
         The NAT was not loaded, please check the Configuration for mistakes
         There is an error in the DHCPD Configuration
         The DHCP SERVER was not loaded, please check the Configuration for mistakes
         There is an error in the ALTQD Configuration
         The ALTQD SERVER was not loaded, please check the Configuration for mistakes
         There is an error in the FIREWALL Configuration
         The FIREWALL was not loaded, please check the Configuration for mistakes
         Error in <dsl_interface> Connection failed. Please, connect a cable in the <ethernet> port
         Error in <dsl_interface>: Connection Failed. Please, revise your Username/Password configuration
         Error in <dsl_interface>: Connection Failed. Please, revise the DSL Modem
                                                                155
CHAPTER 10
        You may find that you would like to implement features that are only possible with a more recent software version.
        To update the software on your system, follow these instructions.
                        Make sure no traffic is running on the system while updating the system. Do not turn
             !          the system off during the update.
        Check the software version running on your system to make sure the one you want to install is newer. The basic
        software consists of the following files:
        start
        netbsdz
        netbsdfs.gz
        and one of the following:
        iGATE GSM: igate.tz1
        or
        iGATE CDMA: cgate.tz1
        or
        iGATE UMTS: igate.tz1
              i
                        These files form a unit and belong to the same software version. To avoid compati-
                        bility conflicts, check with TELES service before you update the software.
                        Upload the new files ONLY via GATE Manager. Do not use any other process (e.g. FTP)
             !          to update the software files. This can lead to irreversible damage to the operating
                        system.
        Make sure there is enough available memory for the new version. We recommend that you delete unnecessary log
        files and back-ups. Do NOT delete or rename existing software files before updating.
              i
                        If an error message appears during the update process, no NOT restart or turn off the
                        system! Make a note of the error message and the update steps that have been taken
                        and contact TELES service.
        Once the files have been completely transferred, check the file size and reboot the system. As soon as you can reach
        the system via GATE Manager again, check the version number of the running software.
                                                               156
CHAPTER 10
        An update of the following optional function modules (see Chapter 12 >) occurs in the same way. Make sure the
        file extension has the same running number as that of the file on the system:
           HTTP user interface:
            httpd.tz2
            httpd.izg
         DNS forwarder:
            dnsmasg.tz2
         SNMP agent:
            snmpd.tz0
         IP update:
            ipupdate.tz2
        The only exception is that you must shut down the modules that have *.izg files before updating. To shut down
        these modules, change the name of or delete the corresponding *.tz* file and restart the system.
        Following transfer of the *.izg file, you must rename the *.tz.* file again and restart the system.
                                                                157
CHAPTER 10
1 0 . 4 TR A C E
        During operation, the trace readouts of the iGATE can be saved in a file or transmitted with remote maintenance
        directly. The trace options must be turned on in the GATE Manager (offline or online trace) or via FTP raw com-
        mands (see Chapter 4.11.2 >). Trace results presented here are for PRI,VoIP, GSM/CDMA/UMTS interfaces and
        for the following services in various levels:
                      Option                                                Definition
         Mail                                Output for all SMTP packets.
         NumberPortability                   Output of all packets for communication with the iMNP.
         vGATE                               Output of all packets for communication with the vGATE.
         VoiceCodecs                         Output of RTCP information described under VP module.
         PPP                                 Output of PPP connection information.
         DTMF                                Output for DTMF tone recognition.
         Remote                              Output for GATE Manager and NMS communication.
                                                              158
CHAPTER 10
        iGATE systems create trace files when the TraceLog=file entry is present in the pabx.cfg. Traces can be activated
        via remote administration (GATE Manager or FTP).
Table 10.5
               i
                        Please bear in mind that the volume of trace readouts can grow quite large, so that
                        faulty transmission of the trace data may result with remote maintenance. A trace
                        at full capacity can cause the system to crash.
                                                              159
CHAPTER 10
1 0 . 4 . 1 I S D N TR A C E O U T P U T
        Trace output for DSS1 and SS7 are in hexadecimal notation. You can use the external tool TraceView.exe to trans-
        late offline trace output. You will find the tool in the Software folder on the enclosed CD. The GATE Manager’s
        trace window can also display translated online traces.
        Example:         The following example shows an untranslated DSS1 trace:
1 0 . 4 . 2 G S M / C D M A / U M T S TR A C E O U T P U T
        The trace output for GSM appears in hexadecimal notation. Its format is the same as that for ISDN output. Table
        10.6 > and Table 10.7 > describe the contents of GSM trace output.
                                                                             160
CHAPTER 10
Example: The following example shows a GSM call through the fourth GSM controller:
         Status Request
         [14:57:51.80] s[04]: 06
         Status Information:
         [14:57:51.80] r[04]: 16
         Setup Request:
         [14:57:52.29] s[04]: 00 4c 93 04 00 00 00 35 36 36 37 00 35 38 2c 36 34 36 2c 33 30 2c 2c 2c 30 2c 2c 2c
         30 2c 32 36 32 2c 30 37 2c 00 72 64 09 75 70 20 7b 64 35 7d 20 27 2e 2e 2b 43 43 45 44 3a 20 32 36 32 2c
         30 37 2c 34
         Dial End:
         [14:57:55.47] r[04]: 18
         Alert:
         [14:57:55.63] r[04]: 0b
         Connect Indication:
         [14:57:56.63] r[04]: 0d
         Disconnect Request:
         [14:59:54.13] s[04]: 02 4c 93 00
         Disconnect Indication:
         [14:59:54.19] r[04]: 10
1 0 . 4 . 3 VO I P TR A C E O U T P U T
        As described above in Chapter 10.4 >, there are four modules for VoIP traces. The groups x (send), y (receive)
        and i (information and internal output) appear when a Layer2 or Layer3 offline or online trace is started. Group a
        (RTCP output) only appears when the module Voice Codecs is active.
                                                               161
CHAPTER 10
        Particularly in the case of VoIP connections (protocols H.323 and SIP), the trace output is quite extensive and ab-
        breviations make it difficult to keep track of the results. The following list contains a description of H.323 output.
        Output for the signaling protocol SIP is transmitted in ASCII and translated for better legibility. Since they are dis-
        played unabridged, no description is necessary. Information and internal output traces correspond with the H.323
        output and are described in the following tables. For ENUM, please refer to Chapter 10.4.3.5 >.
        In general, the following rules apply for this trace output:
                Packet                                                  Description
         h225                   H.225-protocol messages.
         h245                   H.245-protocol messages.
         pstn                   Messages of the internal protocol interface that provides the interface to the other inter-
                                faces PRI, BRI and GSM.
         rcv                    Coming from the IP network or the internal protocol interface; appears with <dir> in the
                                trace lines.
         snd                    Sending to the IP network or the internal protocol interface; appears with <dir> in the
                                trace lines.
                                                                 162
CHAPTER 10
                                                                163
CHAPTER 10
                                                               164
CHAPTER 10
                                         Synonym                      Codec
                                  A                         G.711Alaw64k
                                  B                         G.711Ulaw64k
                                  C                         G.7231
                                  D                         G.728
                                  E                         G.729
                                  F                         gsmFullRate
                                  G                         T.38fax
                                  O                         G.729A
                                  P                         G.72616
                                  Q                         G.72624
                                  R                         G.72632
                                  S                         G.729B
                                  T                         G.729AB
                                  U                         G.729E
                                                         165
CHAPTER 10
                                                Synonym                     Codec
                                          V                        G.723L
                                          W                        Transparent
                                          X                        G.721
                                          Y                        iLBC20
                                          Z                        iLBC30
When the call is sent in the direction of the IP network, the trace will include only the most important information:
Or:
                                                                166
CHAPTER 10
        RTP/RTCP Output
        The RTP/RTCP output displays whether the signaling information corresponds with the contents of the compression
        chips. The output occurs when a media channel is set up or torn down:
rtp start cr <cr> ch <ch> li <li> ri <ri> st <st> fx <fx> cp <comp> txm <factor>
<ri> 1 appears when the remote RTP address (and port) have been established.
         <st>                    0 appears if the channel's voice packetizer has not yet been started. 1 appears if the
                                 voice packetizer can receive, but not send. 2 appears when the voice packetizer can re-
                                 ceive and send.
         <fx>                    1 appears when T.38 (fax) is used, otherwise 0.
                                                              167
CHAPTER 10
                                                                 168
CHAPTER 10
An RTP connection has ended when the following trace output appears:
The following output results when the codec changes for a fax connection:
                                                              169
CHAPTER 10
                                                                170
CHAPTER 10
The following output shows various values for fax transmission (see Table 10.24 for a description of the values):
             Value                                                Description
         n1          UnableToRecoverFlag (0 no, 1 yes)
         n2          IllegalHdlcFrameDetectedFlag (...)
         n3          FaxExitWithNoMcfFrameFlag
         n4          HostTransmitOverRunFlag
         n5          HostTransmitUnderRunFlag
         n6          InternalErrorFlag
         n7          ReceivedBadCommandFlag
         n8          TimeOutErrorFlag
         n9          TxRxFlag (0 receive, 1 transmit)
                                                                171
CHAPTER 10
             Value                                             Description
         n10         T30State
                     0            FAX_RELAY_T30_STATE__INITIALIZATION
                     1            FAX_RELAY_T30_STATE__CNG
                     2            FAX_RELAY_T30_STATE__CED
                     3            FAX_RELAY_T30_STATE__V21
                     4            FAX_RELAY_T30_STATE__NSF
                     5            FAX_RELAY_T30_STATE__NSC
                     6            FAX_RELAY_T30_STATE__CSI
                     7            FAX_RELAY_T30_STATE__CIG
                     8            FAX_RELAY_T30_STATE__DIS
                     9            FAX_RELAY_T30_STATE__DTC
                     10           FAX_RELAY_T30_STATE__NSS
                     11           FAX_RELAY_T30_STATE__TSI
                     12           FAX_RELAY_T30_STATE__DCS
                     13           FAX_RELAY_T30_STATE__CTC
                     14           FAX_RELAY_T30_STATE__CRP
                     15           FAX_RELAY_T30_STATE__DCN
                     16           FAX_RELAY_T30_STATE__PRE_MESSAGE_RESPONSE
                     17           FAX_RELAY_T30_STATE__POST_MESSAGE_RESPONSE
                     18           FAX_RELAY_T30_STATE__POST_MESSAGE_COMMAND
                     19           FAX_RELAY_T30_STATE__VXX
                     20           FAX_RELAY_T30_STATE__TCF
                     21           FAX_RELAY_T30_STATE__IMAGE
         n11         NumberOfTransferredPages
         n12         BadInputPacketId
         n13         BadInputPacketTotalSize
         n14         FaxBitRate
                     1            FAX_BIT_RATE__300_BPS
                     2            FAX_BIT_RATE__2400_BPS
                     3            FAX_BIT_RATE__4800_BPS
                     4            FAX_BIT_RATE__7200_BPS
                     5            FAX_BIT_RATE__9600_BPS
                     6            FAX_BIT_RATE__12000_BPS
                     7            FAX_BIT_RATE__14400_BPS
                                                             172
CHAPTER 10
The following output appears when the compression chip recognizes DTMF tones:
        These trace outputs always begin with the keyword pstn, followed by the direction and the message type. The
        message is then either concluded or other information follows:
pstn<type> <mt1> dad <num> oad <num> cr <cr> s <si> ch <chan> isdncr<icr>
                                                             173
CHAPTER 10
        Output also appears when a call comes from the internal protocol interface and is assigned to a VoIP profile. The
        characters appear in front of the colon in the routing entry:
        Assignment of media channel used for the internal interface and the ISDN call reference for the VoIP call's appears
        as follows:
                                                                174
CHAPTER 10
h245<dir>(<tt>) cr <cr>
        Following this trace output, either a detailed description of the message and its corresponding message type, in-
        cluding negotiating information, or trace output elements that are explained later appear. The most important mes-
        sage types that contain further information elements are as follows:
                                                               175
CHAPTER 10
The trace output is as follows when the message type is not translated or is ignored:
                                                  ID                       Message
                                     0 (Table 10.34 >)               Request
                                     1 (Table 10.35 >)               Response
                                     2 (Table 10.36 >)               Command
                                     3 (Table 10.37 >)               Indication
                                                              176
CHAPTER 10
Depending on the system control message type, one of the following message IDs appear:
                                          ID                     Message
                                     0           NonStandard
                                     1           MasterSlaveDetermination
                                     2           TerminalCapabilitySet
                                     3           OpenLogicalChannel
                                     4           CloseLogicalChannel
                                     5           RequestChannelClose
                                     6           MultiplexEntrySend
                                     7           RequestMultiplexEntry
                                     8           RequestMode
                                     9           RoundTripDelayRequest
                                     10          MaintenanceLoopRequest
                                     11          CommunicationModeRequest
                                     12          ConferenceRequest
                                     13          MultilinkRequest
                                     14          LogicalChannelRateRequest
                                     ID                          Message
                                 0             NonStandard
                                 1             MasterSlaveDeterminationAck
                                 2             MasterSlaveDeterminationReject
                                 3             TerminalCapabilitySetAck
                                 4             TerminalCapabilitySetReject
                                 5             OpenLogicalChannelAck
                                 6             OpenLogicalChannelReject
                                                               177
CHAPTER 10
                          ID                           Message
                     7             CloseLogicalChannelAck
                     8             RequestChannelCloseAck
                     9             RequestChannelCloseReject
                     10            MultiplexEntrySendAck
                     11            MultiplexEntrySendReject
                     12            RequestMultiplexEntryAck
                     13            RequestMultiplexEntryReject
                     14            RequestModeAck
                     15            RequestModeReject
                     16            RoundTripDelayResponse
                     17            MaintenanceLoopAck
                     18            MaintenanceLoopReject
                     19            CommunicationModeResponse
                     20            ConferenceResponse
                     21            MultilinkResponse
                     22            LogicalChannelRateAcknowledge
                     23            LogicalChannelRateReject
                    ID                                 Message
                0              NonStandard
                1              MaintenanceLoopOffCommand
                2              SendTerminalCapabilitySet
                3              EncryptionCommand
                4              FlowControlCommand
                5              EndSessionCommand
                                                   178
CHAPTER 10
                    ID                               Message
                6            MiscellaneousCommand
                7            CommunicationModeCommand
                8            ConferenceCommand
                9            h223MultiplexReconfiguration
                10           NewATMVCCommand
                11           MobileMultilinkReconfigurationCommand
                    ID                               Message
                0            NonStandard
                1            FunctionNotUnderstood
                2            MasterSlaveDeterminationRelease
                3            TerminalCapabilitySetRelease
                4            OpenLogicalChannelConfirm
                5            RequestChannelCloseRelease
                6            MultiplexEntrySendRelease
                7            RequestMultiplexEntryRelease
                8            RequestModeRelease
                9            MiscellaneousIndication
                10           JitterIndication
                11           h223SkewIndication
                12           NewATMVCIndication
                13           UserInput
                14           h2250MaximumSkewIndication
                15           McLocationIndication
                16           ConferenceIndication
                                                    179
CHAPTER 10
                                ID                                Message
                              17         VendorIdentification
                              18         FunctionNotSupported
                              19         MultilinkIndication
                              20         LogicalChannelRateRelease
                              21         FlowControlIndication
                              22         MobileMultilinkReconfigurationIndication
        As a general rule, the most important terminal and gatekeeper messages appear written out with the gatekeeper's
        IP address (<ip addr>):
                                                                180
CHAPTER 10
                                                            181
CHAPTER 10
                            ID                     Reject Reason
                        0          resourceUnavailable
                        1          terminalExcluded
                        2          invalidRevision
                        3          undefinedReason
                        4          securityDenial
                        5          genericDataReason
                        6          neededFeatureNotSupported
                       ID                          Reject Reason
                   0             DiscoveryRequired
                   1             InvalidRevision
                   2             InvalidCallSignalAddress
                   3             InvalidRASAddress
                   4             DuplicateAlias
                   5             InvalidTerminalType
                   6             UndefinedReason
                   7             TransportNotSupported
                   8             TransportQOSNotSupported
                   9             ResourceUnavailable
                   10            InvalidAlias
                   11            SecurityDenial
                   12            RullRegistrationRequired
                                                    182
CHAPTER 10
                    ID                         Reject Reason
                   13        AdditiveRegistrationNotSupported
                   14        InvalidTerminalAliases
                   15        GenericDataReason
                   16        NeededFeatureNotSupported
                        ID                   Reject Reason
                    0         CalledPartyNotRegistered
                    1         InvalidPermission
                    2         RequestDenied
                    3         UndefinedReason
                    4         CallerNotRegistered
                    5         RouteCallToGatekeeper
                    6         InvalidEndpointIdentifier
                    7         ResourceUnavailable
                    8         SecurityDenial
                    9         QosControlNotSupported
                    10        IncompleteAddress
                    11        AliasesInconsistent
                    12        RouteCallToSCN
                    13        ExceedsCallCapacity
                    14        CollectDestination
                    15        CollectPIN
                    16        GenericDataReason
                    17        NeededFeatureNotSupported
                                               183
CHAPTER 10
                        ID                        Message
                    0           GatekeeperRequest
                    1           GatekeeperConfirm
                    2           GatekeeperReject
                    3           RegistrationRequest
                    4           RegistrationConfirm
                    5           RegistrationReject
                    6           UnregistrationRequest
                    7           UnregistrationConfirm
                    8           UnregistrationReject
                    9           AdmissionRequest
                    10          AdmissionConfirm
                    11          AdmissionReject
                    12          BandwidthRequest
                    13          BandwidthConfirm
                    14          BandwidthReject
                    15          DisengageRequest
                    16          DisengageConfirm
                    17          DisengageReject
                    18          LocationRequest
                    19          LocationConfirm
                    20          LocationReject
                    21          InfoRequest
                    22          InfoRequestResponse
                    23          NonStandardMessage
                    24          UnknownMessageResponse
                    25          RequestInProgress
                                                 184
CHAPTER 10
                                         ID                      Message
                                       26       ResourcesAvailableIndicate
                                       27       ResourcesAvailableConfirm
                                       28       InfoRequestAck
                                       29       InfoRequestNak
                                       30       ServiceControlIndication
                                       31       ServiceControlResponse
This output is assigned to group i and occurs with Layer2 and Layer3 traces:
10.4.3.6 EXAMPLES
        The following examples are offline traces. You can generate them using the GATE Manager or FTP commands. The
        filename is trace.log. The following cases appear in the examples:
             Incoming H323 Call with FastStart >
             Outgoing H323 Call with FastStart >
             Fax Call >
                                                               185
CHAPTER 10
                                                            186
CHAPTER 10
         [15:04:09.12] r[00]:   02 01 46 48 08 02 22 54 05 04 03 80 90 a3 18 03 a9 83 94 6c 06 01 81 31 31 31 31 70
         04 81 33 32 31 7d 02   91 81
         [15:04:09.12] s[00]:   02 01 01 48
         [15:04:09.12] s[00]:   00 01 48 48 08 02 a2 54 0d 18 03 a9 83 94
         [15:04:09.12] i[02]:   pstnrcv setup dad DF:321 oad 1111 cc 0 id 15d006
         [15:04:09.12] i[02]:   pstnrcv get_voipcfg <DF>
         [15:04:09.12] i[02]:   h225connect to 172.16.0.200 cr 6
         [15:04:09.12] x[02]:   h225snd setup dad 1 cr 6
         [15:04:09.12] r[00]:   00 01 01 4a
         [15:04:09.15] y[02]:   h225rcv tpkt msg d h225cr 6 addr 172.16.0.200 pt 80412800
         [15:04:09.15] y[02]:   h225 decode rc 0, q931 msg d (11), len 32
         [15:04:09.15] y[02]:   h225rcv msg d (11) h225cr 6 FS:0(-,0,0) TUNN:1 H245:0(0,0)
         [15:04:09.50] y[02]:   h225rcv tpkt msg 1 h225cr 6 addr 172.16.0.200 pt 80412800
         [15:04:09.50] y[02]:   h225 decode rc 0, q931 msg 1 (3), len 121
         [15:04:09.50] y[02]:   h225rcv faststart <E1>
         [15:04:09.50] y[02]:   h225rcv alert h225cr 6 FS:1(E,172.16.0.200,29000) TUNN:1 H245:0(0,0)
         [15:04:09.50] i[02]:   rtp start cr 6 ch 1 li 1 ri 1 st 2 fx 0 cp E txm 1
         [15:04:09.50] s[00]:   00 01 4a 48 08 02 a2 54 01 1e 02 80 88
         [15:04:09.50] a[02]:   vp start(201) ch=0 local=29000 remote=ac1000c8:29000 agg=0 pcm=0
         [15:04:09.50] r[00]:   00 01 01 4c
         [15:04:09.53] a[02]:   vp rtcp 0: RR Tx pc 0 oc 0 ji -1 rt 0 fl -1 cl -1
         [15:04:09.53] a[02]:   vp ch 0: in 0 out 74
         [15:04:11.79] y[02]:   h225rcv tpkt msg 7 h225cr 6 addr 172.16.0.200 pt 80412800
         [15:04:11.79] y[02]:   h225 decode rc 0, q931 msg 7 (2), len 79
         [15:04:11.79] y[02]:   h225rcv connect h225cr 6 FS:0(-,0,0) TUNN:1 H245:0(0,0)
         [15:04:11.79] i[02]:   pstnsnd connect cr 6
         [15:04:11.79] s[00]:   00 01 4c 48 08 02 a2 54 07
         [15:04:11.80] r[00]:   02 01 48 4e 08 02 22 54 0f
         [15:04:11.80] s[00]:   02 01 01 4a
         [15:04:12.50] a[02]:   vp rtcp 0: SR Rx pc 21 oc 394 ji 201 rt -1 fl 0 cl 0
         [15:04:16.13] a[02]:   vp rtcp 0: SR Tx pc 192 oc 3236 ji 196 rt 0 fl 0 cl 0
         [15:04:16.13] a[02]:   vp ch 0: in 14612 out 13796
         [15:04:17.98] y[02]:   h225rcv tpkt msg 5a h225cr 6 addr 172.16.0.200 pt 80412800
         [15:04:17.98] y[02]:   h225 decode rc 0, q931 msg 5a (5), len 33
         [15:04:17.98] y[02]:   h225rcv relack h225cr 6 FS:0(-,0,0) TUNN:1 H245:0(0,0)
         [15:04:17.98] y[02]:   h225rcv relack h225cr 6 cau 0x10
         [15:04:17.98] i[02]:   rtp hold cr 6 ch 1
         [15:04:17.98] s[00]:   00 01 4e 4a 08 02 a2 54 45 08 02 80 90
         [15:04:17.98] i[02]:   h225 connection 4 terminated
         [15:04:17.99] r[00]:   00 01 01 50
         [15:04:18.04] r[00]:   02 01 4a 50 08 02 22 54 4d 08 02 84 90
         [15:04:18.04] s[00]:   00 01 50 4c 08 02 a2 54 5a
         [15:04:18.06] i[02]:   pstnrcv terminate connection (3201) cr 6 cau 90 err 16 state 17 ch 1 rsid 1
         [15:04:18.06] i[02]:   rtp stop cr 6 ch 1
         [15:04:18.06] r[00]:   00 01 01 52
         [15:04:18.06] a[02]:   vp ch 0: in 21288 out 20708
         [15:04:18.06] a[02]:   vp stop ch=0
                                                            187
CHAPTER 10
Fax Call
                                                              188
CHAPTER 10
        This trace option provides output for communication with the GATE Manager or NMS. To activate this option, ac-
        tivate the section Remote in the GATE Manager. You can choose the depth of the trace output: Error is limited
        to error messages; Debug provides information; Detail provides the entire packet.
        Output is defined with a g, and the port number is 99.
        The following output shows an established GATE Manager connection:
                                                              189
CHAPTER 10
All other trace output appears in detail mode in ASCII and are also translated.
1 0 . 4 . 5 S M T P TR A C E O U T P U T
        This trace option provides output for communication with the mail server that occurs when status information or
        files are sent, or in the other direction, which e-mails are received and converted to SMS or USSD.
        To activate this option, activate the section Mail in the GATE Manager. You can choose the depth of the trace
        output: Error is limited to error messages; Debug provides information; Detail provides the entire packet.
        Output is defined with a m, and the port number is 99.
                                                               190
CHAPTER 10
All other trace output appears in detail mode in ASCII and are also translated.
Table 10.51 SMTP Output: Receiving E-Mail and Sending as SMS or USSD
The following output displays which packets are sent to the SMTP peer:
Table 10.52 SMTP Output: Receiving E-Mail and Sending as SMS or USSD
                                                                191
CHAPTER 10
        All other trace output appears in detail mode in ASCII and are also translated.
        The following output displays which packets are received from the SMTP peer:
Table 10.53 SMTP Output: Receiving E-Mail and Sending as SMS or USSD
All other trace output appears in detail mode in ASCII and are also translated.
The following output shows that the SMTP connection is being closed:
m[99]:mail: terminate_session
        The mail module now converts the e-mail message to the internal format and then sent as SMS or USSD. Bulk mail
        (several recipient entries for the same e-mail) appear as individual messages:
Table 10.54 SMTP Output: Receiving E-Mail and Sending as SMS or USSD
The following output appears when the message has been successfully sent:
        This is converted in the confirmation message, with the subject sent. The output in the subsequent communica-
        tion with the mail server are identical to those described above in Sending Files or Status Information >.
                                                                 192
CHAPTER 10
        The following output appears when errors occur during transmission of the SMS or USSD message:
        Message transmission was faulty and will be repeated:
Retried message transmission was also faulty, and an e-mail will be generated:
        The output in the subsequent communication with the mail server are identical to those described above in Sending
        Files or Status Information >.
        All other trace output appears in detail mode in ASCII and are also translated. The output in the subsequent com-
        munication with the mail server are identical to those described above in Sending Files or Status Information >.
1 0 . 4 . 6 N U M B E R P O R T A B I L I T Y TR A C E O U T P U T
        This trace option provides output for the communication with the iMNP database. To activate this option, activate
        the section Number Portability in the GATE Manager. Output is defined with an n, and the port number is 99.
        The following output appears when the system sets up a TCP session with the iMNP is being set up:
                                                                 193
CHAPTER 10
The following output shows that the connection has been established:
The following output shows a keep alive packet from the iMNP to keep the TCP session open:
1 0 . 4 . 7 D T M F TO N E TR A C E O U T P U T
        Output about the setup of connections with the DTMF module and DTMF tone recognition are debugged. The out-
        put differentiates between the groups err and inf. Output is defined with a d, and the port number is that of
        the virtual DTMF controller:
        The following output shows incoming call setup to the DTMF module:
                                                               194
CHAPTER 10
The following output shows transmitted signaling messages depending on the call state:
The following output shows that the media channel has been designated for DTMF tone recognition:
                                                             195
CHAPTER 10
The following output shows the output for negotiated DTMF tones:
                                                            196
CHAPTER 11
FEATURE PACKAGES
                                         1 1 F E A T U R E PA C K A G E S
        The iGATE feature packages are modular expansion applications that provide services in addition to those offered
        with the standard software. Feature packages can be activated separately or in combination with one another, so
        that you can design your system according to your own needs.
        The following feature packages are available:
             Dial-In/Callback Services (cf. Chapter 11.2 on page 198 >)
             Least Cost Routing (cf. Chapter 11.3 on page 202 >)
             Online Traffic Monitor (cf. Chapter 11.4 on page 208 >)
             SMS Gateway (cf. Chapter 11.5 on page 214 >)
             SS7-Specific Settings (cf. Chapter 11.7 on page 221 >)
             Ported Number Screening (cf. Chapter 11.6 on page 219 >)
        Each feature package requires a license. Once you have ordered a feature package, you can activate the license:
        The /boot/ directory of each system contains a file called license.key, which contains information on the system’s
        ID, the included components, which feature packages are active and the license number:
        Example:
            [IDENTIFICATION]
            SYSTEM: TELES.iGATE
            SERNO: VT810011
            AUTOR: create    Wed Sep 09 15:01:09 2006
            [COMPONENTS]
            ...
            CARD99:11 d1 S0   PB900034
            ...
            [FEATURES]
            PRI:Max
            SS7:0
            GSM:Max
            IP:Max
            VoIP:Max
            SIM manager: On
            DDI and call back: Off
            least cost routing: On
            statistics and CDR: On
            SMS gateway: On
            ported number screening: Off
            roaming: Off
            [SIGNATURE]
            00000000000license0number00000000000
        You will receive a new license.key file any time you order a new license package. Simply save the new file, over-
        writing the old file, and restart the system.
                         Deleting or making changes in the license.key file will delete any feature package
                i        licenses, causing the system to revert to the standard configuration!
                                                              197
CHAPTER 11
FEATURE PACKAGES
        This package contains money-saving features that expand the functionality of your iGATE to include callback ca-
        pability and DTMF services. It is particularly useful for companies with employees who travel often, because it elim-
        inates expensive roaming fees:
        Depending on your iGATE, various intelligent solutions as a call server are possible. The most important scenarios
        and properties are described here. The scenarios can also be combined to suit your needs.
         Special announcement
         DLA with DTMF
         DLA with fixed destination number
         Callback with DTMF for the second leg number (known OAD or fixed callback number)
         Callback with DTMF and OAD as callback number
         Callback with DTMF and pre-configured callback number
         Callback for a fixed second leg
         DLA with DTMF and PIN for the first leg and callback for the second leg
         Using a PIN in front of the call number
         Callback via SMS
         Callback via HTTP
        Numbers transmitted using DTMF tones can be ended by entering a # sign. Otherwise, a 5-second timer is set, after
        which DTMF transmission will automatically end.
        If the callback call is set up from the mobile network, the SIM must be available 24 hours a day. We recommend
        that you reserve a SIM for this service. Otherwise, another call could block the call initiating callback, which limits
        the effectiveness of the service.
              i
                        CDR entries for calls routed as Callback with DTMF include the connection times for
                        the A and B subscribers. The times are separated by a slash (/). If no connection is
                        established to the B subscriber, an entry recording the A subscriber’s connection time
                        is generated in the failed.log file.
                                                                 198
CHAPTER 11
FEATURE PACKAGES
Example:
         ...
         Controller06 = 41 DTMF
         ...
         Subscriber06 = TRANSPARENT ROUTER CHMAX[5]
         ...
        An announcement can be played immediately after the connection has been established. The announcement can
        be defined in the virtual DTMF controller’s Subscriber line using the following entry:
        In the pabx.cfg file:
        DTMF[<sec>,/<dir>/<file>]
        <sec> refers to the maximum number of seconds that may pass before the next DTMF tone is entered, <dir> refers
        to the directory, in which the announcement file is saved. boot or data are possible. The file extension must be 711.
              i
                        The file’s sound format must be PCM!
        Example:          In this example, a maximum of 5 channels can recognize DTMF tones and change them into di-
                          aling data. The announcement is named DTMF.711 and is saved in the boot directory:
        The user dials a number in the system that is connected with the DTMF platform. She then enters the number with
        which she would like to be connected.
        Make the following entries in the route.cfg to connect a call directly:
        MapAll<number>=<DTMFport>DTMF
        MapAllDLA=<port>
        Example:          In the following example, the call from the number 123 is connected to the DTMF platform and
                          the call that comes in as DTMF tones is directed to port 9:
         MapAll123=41DTMF
         MapAllDLA=9
        The user dials a number in the system that is connected directly with a fixed external number (e.g. international
        subsidiary number). Make the following entry in the route.cfg:
                                                                199
CHAPTER 11
FEATURE PACKAGES
        MapAll<num>=<port><fixed num>
        Example:          In the following example, the call comes into the number 123456 and is connected to the num-
                          ber 004311111 at port 9.
MapAll123456=9004311111
        The user calls a number that is defined so that the user will be called back based on his OAD. An alerting occurs.
        The user hangs up and is called back. After the user has taken the call, the destination number is entered using
        DTMF tones. When he has finished dialing, the connection to the destination number is established.
              i
                        Callback is not possible for VoIP calls.
        The following entries in route.cfg will initiate callback to the calling party’s number:
        MapAllDTMF=<DTMFport>DTMF
        MapAllDLA=<port>
        MapAll<number>=CALLB
        MapAllCB=<port>
        Example:          In this example, the call with the number 123 is connected with the OAD and the number that
                          comes in as DTMF is directed to port 9:
         MapAllDTMF=41DTMF
         MapAllDLA=9
         MapAll123=CALLB
         MapAllCB=9
        The user calls a predefined number that is mapped to a defined callback number. An alerting occurs. The user
        hangs up and is called back at a fixed number. After the user has accepted the call, she must enter the destination
        number via DTMF. The connection is set up when she finishes dialing.
              i
                        Callback is not possible for VoIP calls.
                                                                 200
CHAPTER 11
FEATURE PACKAGES
        Example:          In the following example, the call with the number 123 is connected with the number 03012345.
                          The number that comes in as DTMF is directed to port 9:
         MapAllDTMF=41DTMF
         MAPAllDLA=9
         MapAll123=CALL903012345
        The user calls a predefined number in the system. An alerting occurs. The user hangs up and is called back based
        on her OAD. After the user accepts the call, she is connected to a fixed, preconfigured number (e.g. operator or
        corporate central office.
              i
                        Callback is not possible for VoIP calls.
         MapAllDTMF=100
         MAPAll123456=CALLB
         MapAllCB=9
        11.2.1.7 DLA WITH DTMF AND PIN FOR FIRST LEG AND CALLBACK FOR
                                 SECOND LEG
        The user dials a number in the system that is connected to the DTMF platform. He then enters a predefined PIN
        that maps him to a predefined fixed number that is to be called back. He then hangs up. After he takes the callback,
        he can enter the second leg number using DTMF tones.
        Make the following entries in route.cfg:
        MapAllDTMF=<DTMFport>DTMF
        MapAll<num>=<DTMFport>DTMF VOICE
        MapAllDLA<num>=CALL<num> VOICE
        MapAllDLA=<port> VOICE
        Example:          The number 123456 is dialed and the PIN 123# is entered. The call is then connected to the num-
                          ber 004930123456. The destination number can now be transmitted through port 9 using DTMF
                          tones:
         MapAllDTMF=41DTMF
         MAPAll123456=41DTMF VOICE
         MapAllDLA123=CALL9004930123456 VOICE
         MapAllDLA=9 VOICE
                                                               201
CHAPTER 11
FEATURE PACKAGES
                i
                         The user must enter a # following the PIN. Otherwise the callback to the predefined
                         number will not occur.
        To prevent abuse, the following entry can be made to configure a PIN in front of the actual call number:
        MapAllDLA=$PIN
        MapAllPIN<pin>=<port>
        Example:              In the following example, the DTMF tones are analyzed, whereby the first 4 (1111) corresponds
                              with the PIN. The call to subscriber B is initiated when the PIN has been entered correctly. All
                              other DTMF tones are directed to port 9:
            MapAllDLA=$PIN
            MapAllPIN1111=9
        iGATEs are connected between the customer’s private branch exchange (PBX) and the public telephone network
        (ISDN) and/or VoIP. The customer saves connection charges and can effortlessly and automatically connect to the
        corporate network as needed using one of six routing methods:
         Carrier selection
         Dedicated lines
         Direct line access with subaddressing
         Direct line access with DTMF
         Callback with subaddressing
         Callback with DTMF
        This manual contains information only on carrier selection. If you would like to configure any other variation, please
        contact TELES or refer to the TELES Infrastructure Systems Manual Version 4.5, Chapter 3.
        Calls are routed transparently for the PBX and its users. iGATEs can generate charges and route calls using alter-
        nate settings in case of network failures. The provider can access the system via ISDN for routine maintenance and
        monitoring.
        The following additional services are supported by this feature package:
             Generation of charges
             Time-controlled configuration
             Alternative routing
                                                                  202
CHAPTER 11
FEATURE PACKAGES
        Carrier selection is currently one of the most commonly used routing methods supported by the iGATE. In the
        iGATE, this routing process also includes direct calls into the mobile network or through a VoIP network. That
        means the system is a full-fledged second generation LCR.
         MapAll001=40iG1:001
         MapAll0044=40iG2:0044
         ...
         MapAll01555=2621201555
         MapAll01556=2621301556
         ...
         MapAll01=90101901
         MapAll02=90101902
         ...
         MapAll09=90101909
         MapAll1=9010191
         MapAll2=9010192
         ...
         MapAll9=9010199
Restrict9=10
              i
                        Be sure to enter phone numbers in the routing file in ascending order.
                                                               203
CHAPTER 11
FEATURE PACKAGES
        Alternative routing refers to the ability to establish connections using a different (alternative) network in case of
        provider failure (e.g. all mobile controllers are in use). Alternative routing ensures uninterrupted operation of the
        attached PBX. In such cases, connections are often made via the public network using the Redirect command:
        MapAll<num>=<port><num>
        Redirect3<port><num>=<placeholder>
        MapAll<placeholder>=<alt port><num>
        Example:
         MapAll01555=2621201555
         Redirect32621201555=A
         MapAllA=901555
        iGATEs can either generate charge information or transmit received charges from the public or corporate networks
        to the attached PBX. Charge simulation is achieved using variables, which ensure a great degree of flexibility for
        the implementation of many different charge models including:
         Charge units per time unit
         Flat rate (initial charge without time interval)
         Initial charge plus time interval
         Initial charge plus time interval after delay
         Time interval and/or flat rate plus received charges
         Received charges only or no charge information
         Initial toll-free period with retroactive charge generation afterwards
         Price-per-minute (with whole second accuracy)
        In this chapter, unit means that charge information is transmitted as a whole-numbered value, and currency
        means that the charge information is sent as a currency amount (e.g. EUR 3.45). The charge impulse generation
        options can be set for each mapping by adding charge-specific arguments to the MapAll commands as shown be-
        low. The use of each variable is explained in Table 11.1 >.
        MapAllsrc=dst mode time start/wait and
                                                                204
CHAPTER 11
FEATURE PACKAGES
              Variable                                                    Purpose
            time              Determines the length of each time interval (how long each unit lasts). The value is entered
                              in seconds and hundredths or thousandths of a second (the maximum value accepted is
                              655.35 seconds, 65.535 if thousandths are entered). If time is set to zero or not present no
                              charges are generated, external charge information is passed through if received.
            start             Sets the initial unit level. Enter a value between 0 and 127 whole units. If you want to use a
                              flat rate, set the desired number of units here and set the wait to 255 to turn off the time
                              interval.
            wait              Determines the delay after which charge generation begins. Once this time has elapsed,
                              charge impulses are sent in the interval determined with time. Enter a value between 0 and
                              254 seconds. 255 deactivates the charge pulse. In this case, the time variable is ignored.
        Any external charges can be added to the generated charges by adding 128 to the start value. (The value range
        for the initial unit level is still set from 0 to 127). The maximum supported number of units per connection is 32767
        units.
        Additional adjustments may be made to allow for the implementation of new charge models.
             When charge information is sent as Currency, values can be expressed in thousandths for greater precision
              in charge calculation.
              For the internal Layer 3 protocols, charges can be specified to the third decimal place (thousandth) using the
              /Value option (Example: /Value:1.056). In this fashion, charges can be generated for units of currency requiring
              accuracy to the third decimal place or for fractions such as tenths of a cent. This allows for greater flexibility in
              the transmission of charges to terminal devices. In order to make use of this option, connected devices must
              support “AOC-D Currency”. In the current version, this option is only available for the DSS1 protocol.
             A multiplication factor can be specified for received or generated charges.
              During the charge generation process, each charge unit is multiplied by a preset factor. This factor appears in
              the mapping entry after the time and start/wait variables (MapAllsrc=dst mode time start/wait*factor).
              Each unit, for example, can be converted to 12 cents. The following example illustrates the use of this feature:
        Example:            In the following example, all received charge units are multiplied by 12 and passed on. If AOC-
                            Currency is set on the internal port, each unit appears as 12 cents.
                            The multiplication factor is also used to implement two new charge models:
                       –   If the factor value exceeds 128, this marks the use of an initial toll-free phase followed by
                           retroactive charge generation.
                       –   If the multiplication factor is set to 255, a “minute price” is used in place of the time variable.
            ...
            MapAll1=91 1 128/255*12
            ...
                                                                   205
CHAPTER 11
FEATURE PACKAGES
1 1 . 3 . 4 G E N E R A T I N G C H A R G E S W I T H T H E I G AT E
        To generate charges for the attached PBX, add the charge variables described in Table 11.1 > to the MapAll com-
        mands according to the necessities of the corporate network environment.
        Example 1        In the following mapping example, time=1.65, start=131, wait=0. Three initial tariff units (131-
                         128) are transmitted upon connection and a new unit is generated every 1.65 seconds and trans-
                         mitted the next full second. Charges received from the public network for the connection to the
                         corporate network dial-in node are added and transmitted (because 128 has been added to the
                         start variable’s value).
         ...
         MapAll0172=9123450172 1.65 131/0
         ...
        Example 2        Upon connection establishment, 3 initial tariff units (131-128) are transmitted. Then a 10-second
                         delay (wait=10) elapses before charge impulses are generated according to the time variable (a
                         new unit is generated every 1.65 seconds and transmitted the next full second). Charges received
                         from the public network for the connection to the corporate network dial-in node are added and
                         transmitted (because 128 has been added to the start variable’s value).
         ...
         MapAll0172=9123450172 1.65 131/10
         ...
        New charge models can be implemented by taking advantage of the multiplication factor in conjunction with the
        time and start/wait variables.
         ...
         MapAll030=901019030 60 0/60*129
         ...
                                                               206
CHAPTER 11
FEATURE PACKAGES
                i
                         If thousandths are defined, a maximum value of 65.535 is possible. If tenths are de-
                         fined, a maximum value of 6553.5 is possible.
        This model does not always guarantee whole second accuracy (depending on the rates), but it is significantly more
        precise than the standard charge generation method.
        Example 1          If the attached PBX supports Advice of Charges as Currency, include the following line in the
                           iGATE’s pabx.cfg:
            ...
            Controller01=10 NTS2M DSS1 CRC4 UNIT:€ VALUE:0.001
            ...
        Example 2          If the PBX does not support this AOC model, but allows for the assignment of one thousandth
                           (¹⁄1000) of a currency unit (€0.001 or ¹⁄10 of a cent) for each charge unit, the above entry need
                           not be present. The configuration entries must make use of the multiplication factor for a single
                           unit as shown below:
            ...
            MapAll902=90103002 1.00 0/0*4 ; each second costs €0.004 (€0.24 / minute)
            MapAll909=90108809 1.00 0/0*5 ; each second costs €0.005 (€0.30 / minute)
            ...
        Example 3          If the minute price does not allow generated charges to “fit” evenly into a second (such as 20
                           cents per minute or 0.33 cents per second), the system can be configured to generate 10
                           “points” every 3 seconds (€0.01 or 1 cent):
            ...
            MapAll902=90101302 3.00 0/0*10 ; 3 seconds cost €0.01 (€0.20 / minute)
            MapAll909=90105009 2.00 0/0*3 ; 2 seconds cost €0.003 (€0.09 / minute)
            ...
        Example 4          The “points” method allows for a more precise calculation of smaller intervals.
                           The price per minute can also be explicitly specified in each routing entry by setting the multipli-
                           cation factor to 255, to signalize to the system that a minute price is being used instead of the
                           interval usually specified with the time variable. The attached PBX must support Advice of Charg-
                           es as Currency, and the appropriate settings must be made in the iGATE’s pabx.cfg as described
                           on page 207 >. The examples below show sample entries with rates of 18 and 9 cents per
                           minute:
            ...
            MapAll902=90101302 0.18 0/0*255 ; €0.18 / minute
            MapAll909=90105009 0.09 0/0*255 ; €0.09 / minute
            ...
                                                                 207
CHAPTER 11
FEATURE PACKAGES
and
            ...
            Controller01=10 NTS2M DSS1 CRC4 UNIT:€ VALUE:0.010
            ...
        Example 5          If greater precision is desired (¹⁄1000 of a currency unit – $0.001 or ¹⁄10 of a cent), use settings
                           such as the following:
            ...
            MapAll902=90101302 1.80 0/0*255 ; €0.18 / minute
            MapAll909=90105009 0.90 0/0*255 ; €0.09 / minute
            ...
and
            ...
            Controller01=10 NTS2M DSS1 CRC4 UNIT:€ VALUE:0.001
            ...
1 1 . 4 O N L I N E TR A F F I C M O N I T O R
        The Online Traffic Monitor allows you to collect and monitor statistics and call detail records (CDRs). The following
        functions are possible with this feature package:
             ASR calculation
             Generation of CDRs
             Generation of online CDRs using e-mail
1 1 . 4 . 1 A S R C A L C U L A T I O N A N D R E S E T T I N G S T A T I S T I C VA L U E S
        When this function is configured in the pabx.cfg file, statistical values, such as the number of minutes, number of
        calls, ASR (Answer Seizure Ratio), etc., are calculated for the entire system at a defined time. These statistics are
        then copied into a specified file and reset at 0.
        This information can also be sent to an e-mail or SMS recipient. The following syntax must be used:
        StatisticTime=/data/asr.log <hh:mm> <day> @<account>
        ASR2 is the ratio of connected calls to total calls, and ASR1 is the ratio of total calls to connected calls disconnected
        by the A party. ASR1 values are intended to provide you with an idea of the availability of the mobile network.
        Example:           In the following example, the system’s statistic values are saved daily into the file asr.log and
                           sent to an e-mail account.
        Example:           In the following example, the system’s statistic values are saved monthly into the file asr.log
                           and sent to an SMS recipient.
                                                                  208
CHAPTER 11
FEATURE PACKAGES
        Example:         If ?? appears instead of a specified hour, the ASR is written into the asr.log file once every hour.
                         The values are reset to zero in the twenty-third hour:
StatisticTimeReset=/data/asr.log ??:00
        Example:         The next example shows how the statistics appear in the file into which they are copied. The fol-
                         lowing information is listed in the following order: day and time of the entry, followed by the sys-
                         tem name. Calls: connected calls followed by the total number of calls in parentheses. The total
                         number of minutes terminated by the system, followed by the ASR1 value, the external ASR for
                         the traffic source (ext) and the internal ASR for the iGATE (int). These values can differ if a signif-
                         icant number of calls cannot be routed through the iGATE or an insufficient number of channels
                         is available for a prefix. Finally, the average call duration (ACD) appears in the entry:
         26.10.04-00:00:00,iGATE810000: Calls: 19351 (29716) - Minutes: 46647 - ASR1: 65.12% -           ASR(ext): 65.12% -
         ASR(int): 65.30% - ACD: 144.63s
        StatisticTimeReset=/data/asr.log <hh:mm> <day> performs the same function as the StatisticTime parameter, but
        also resets the counters (A-F).
        Example:         In the following example, the system’s statistic values are saved on the 15th of every month into
                         the file asr.log.
             i
                       It is not possible to configure both StatisticTimeReset and StatisticTime.
                       ASR values reset to 0 when the SIM card is changed using the GATE Manager.
        With the Log and RrufLog commands, you save CDRs and unconnected calls in the iGATE.
        For these parameters (Log and RrufLog), a folder and file name must always be specified after the equal sign.
        The function is not active (no data is recorded) until a file name is specified.
        Example:
         Log=/data/cdr.log
         RRufLog=/data/failed.log
             i
                       With recording of files, system maintenance increases. You have to be sure to down-
                       load or delete files and ensure that there is enough disk space left on the hard drive.
                                                                209
CHAPTER 11
FEATURE PACKAGES
        The service indicator listed in the call log and missed calls list describes the type of connection as a four digit hexa-
        decimal number. The coding is conducted according to the 1TR6 standard. A few frequently used values are listed
        below:
        0101          ISDN-telephony 3.1 kHz
        0102          analog telephony
        0103          ISDN-telephony 7 kHz
        0200          Fax group 2
        0202          Fax group 3
        0203          Data via modem
        0400          Telefax group 4
        0500          SMS or BTX (64 kbps)
        0700          Data transfer 64 kbps
        07…           Bit rate adaptation
        1001          Video telephone – audio 3.1 kHz
        1002          Video telephone – audio 7 kHz
        1003          Video telephone – video
        For detailed information on how to automatically divide the files (e.g. on a daily basis), please refer to the
        Chapter 5.2.1.2 >.
        The following entry in the pabx.cfg configuration file activates the capability to generate CDRs in the iGATE:
        Log=/data/cdr.log
        The cdr.log file is stored in the data directory. New entries are always added to the end of the file. The file is open
        only during editing.
        Each line represents an outgoing call:
        DD.MM.YY-hh:mm:ss[Start],DD.MM.YY-hh:mm:ss[End],src,dst,service,dur,cause,charge_publine,[charge_sys]
        DD – Day              hh – Hour              src – source/extension              dur – duration
        MM – Month            mm – Minute            dst – destination                   cause – reason for teardown
        YY – Year             ss – Seconds           service – service indicator         charge_publine – from the public line
                                                                                         charge_sys – generated by the system
        The charge is specified in units. The service indicator listed will be one of the values shown on page 210 >. The
        example below shows a sample log file.
                                                                 210
CHAPTER 11
FEATURE PACKAGES
         28.01.05-19:38:51,28.01.05-19:44:51,10611,9010193333333,0101,360,90,10
         28.01.05-19:43:55,28.01.05-19:44:55,10610,26212015551111111,0101,60,90,3
         28.01.05-19:32:54,28.01.05-19:44:55,10612,40iG2:004498989898,0101,721,90,15
         28.01.05-19:41:34,28.01.05-19:45:34,10616,9010190123456,0101,240,90,4
         28.01.05-19:44:19,28.01.05-19:45:49,10615,26212015553333333,0101,90,90,5
         28.01.05-19:44:58,28.01.05-19:45:58,10610,26213015562222222,0101,60,90,3
         28.01.05-19:46:01,28.01.05-19:47:12,10610,9010194444444,0101,71,90,5
         28.01.05-19:46:18,28.01.05-19:47:48,10615,40iG1:001232323232323,0101,90,90,4
         28.01.05-19:47:03,28.01.05-19:48:07,10610,9010195555555,0101,64,90,4
         28.01.05-19:48:07,28.01.05-19:49:07,10610,9010190306666666,0101,60,90,3
        To differentiate between ports with the same number in the CDRs, a specific node number must be defined. You
        can expand the subscriber configuration line with the keyword NODE[<no.>] for this purpose. <no.> can be a
        string of between 1 and 15 characters:
        Subscriber<xx>=... NODE[<num>]
        Example:
29.08.05-09:45:24,29.08.05-09:46:33,923456789,[0007:01]01771111111,0101,69,0
        In the above formula, <num> consists of a four-digit number that is included in the CDR.
        Example:         The following example shows the pabx.cfg configuration file changed according to the formula:
         ...
         Subscriber00=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NEXT NODE[0001]
         Subscriber01=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0002]
         Subscriber02=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0003]
         Subscriber03=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0004]
         Subscriber04=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0005]
         Subscriber05=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0006]
         Subscriber06=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0007]
         Subscriber07=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0008]
         Subscriber08=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0009]
         Subscriber09=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0010]
         Subscriber10=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0011]
         Subscriber11=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0012]
         Subscriber12=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0013]
         Subscriber13=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0014]
         Subscriber14=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0015]
         Subscriber15=TRANSPARENT   ROUTER   GSM[0000,00000,<SMSC>,1,1,1,SIM24]   CHADDR   ALARM   NODE[0016]
         ...
        The CDR can contain the IMSI (International Mobile Subscriber Identity), which identifies each SIM card used:
        Example:
08.02.05-09:42:15,08.02.05-09:46:19,912345678,01721111111,111111111111111,0101,244,0
The following example shows the pabx.cfg configuration file changed according to the formula:
                                                              211
CHAPTER 11
FEATURE PACKAGES
Example:
         ...
         Subscriber00=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM NEXT
         Subscriber01=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber02=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber03=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber04=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber05=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber06=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber07=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber08=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber09=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber10=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber11=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber12=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber13=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         Subscriber14=TRANSPARENT    ROUTER   GSM[0000,00000,<SMSC>,1,1,1,IMSI,SIM24]      CHADDR   ALARM
         ...
                        If you remove the keyword IMSI from the pabx.cfg, you must restart the system.
              i
        To generate a VoIP-call CDR entry that includes IP addresses for the remote device’s signaling and voice data, audio
        codec and frame size, the entry VoipIpLogging=Yes must be included in the VoIP profile. If the entry also
        contains the mobile controller’s IMSI, it will appear before the IP addresses.
        The following entry shows the route.cfg configuration file changed according to the formula:
         [Voip:DF]
         VoipDirection=IO
         VoipPeerAddress=192.168.0.2
         VoipIpMask=0xffffffff
         VoipCompression=g729 t38
         VoipMaxChan=30
         VoipSilenceSuppression=Yes
         VoipSignalling=0
         VoipTxM=4
         VoipIPLogging=Yes
        Example:          The following CDR entry includes IP addresses for signaling and voice data, audio codec and
                          frame size.
21.08.07-11:54:09,21.08.07-11:54:14,40501,[0005:01]toSIM,262032441413482,172.20.25.210:172.20.25.210,G729,20,0101,5,90,0
        In the case of CDR entries for DLA/Callback calls, the beginning and ending times for the first call leg is always
        used as the call time. The call time in seconds appears first for the first leg, followed by a slash and the connection
        time for the second leg.
        Example:
20.10.05-15:27:36,20.10.05-15:30:36,2621201555555555,DLA1234567890,0101,180/168,10,0
                                                                  212
CHAPTER 11
FEATURE PACKAGES
        All incoming calls that are not connected can be recorded in a list to facilitate return calls. Recording is activated
        using the RRufLog=<name> entry in the pabx.cfg. Specify a file name, e.g. RRufLog=failed.log. Once this setting
        is made, recording begins at once.
        A new line of the following format is created for each incoming call that is not accepted:
        DD.MM.YY-hh:mm:ss,src,dst,cause,dur,att
        DD – Day              hh – Hour              src – source/extension               cause – reason for tear down
        MM – Month            mm – Minute            dst – destination                    dur – duration of call attempt
        YY – Year             ss – Seconds           service – service indicator          att – number of attempts
         16.01.05-13:58:52,9030399281679,10111,0101,ff,0,1
         16.01.05-14:04:06,9030399281679,10111,0101,91,0,1
         16.01.05-14:04:15,9,10111,0101,91,0,1
         16.01.05-14:04:39,9030399281679,10111,0101,ff,0,1
         16.01.05-14:04:50,903039904983,100,0101,ff,0,1
         16.01.05-14:05:02,9030399281679,10111,0101,ff,0,1
         16.01.05-14:05:03,9,100,0101,ff,0,1
         16.01.05-14:05:14,903039904983,100,0101,91,0,1
         20.04.05-16:21:10,[4545]981776,2->10200,0101,ff,0,1
         20.04.05-16:21:20,[4545]981776,1->10120,0101,ff,0,1
        The reason the connection could not be established is specified using DSS1 codes:
              91 – (user busy)
              ff – call not answered (disconnected by calling party)
        When callback with DTMF is configured and no connection is established to the B subscriber, an entry recording
        the A subscriber’s connection time is generated in the failed.log file:
20.02.05-10:47:52,[0004:01]00491721234567,[0005:01]DLA0307654321,0101,ff,34,1
        The CDR contains the IP addresses for signaling and voice data. The first IP address is the signaling address and
        the second one is the RTP address.The IMSI is written behind the IP addresses if the keyword IMSI is defined in the
        pabx.cfg:
        Example:
12.05.05-10:25:51,40,991783,172.20.25.110:172.20.25.110,0101,ff,8,1
        In the case of missed-call entries for DLA/Callback calls, dur is the connection time for the first leg.
        Example:
20.10.05-15:00:06,9004930555555,DLA262121111111,0101,92,24,1
                                                                 213
CHAPTER 11
FEATURE PACKAGES
        With an appropriate configuration, you can send corresponding CDRs of outgoing and incoming calls as e-mail.
        Bear in mind that the mail server must be configured in the [Mail] section of the pabx.cfg, as described in
        Chapter 5.2.2 >. The sender is given as cdr and the system’s name appears in the subject box. The text box con-
        tains the CDR information according to the format for the entry in Log=/data/cdr.log @<account> @<domain>.
        A space must appear between cdr.log and @<account>; @<domain> is optional. You can also send CDR entries
        via e-mail to an e-mail recipient.
        Enter an @ sign to send each CDR entry as e-mail:
        Log=/data/cdr.log @<e-mail account>@<domain>
        If you enter a ! the entire cdr.log will be sent as an e-mail attachment:
        Log=/data/cdr.log !<e-mail account>@<domain>
        The SMS Gateway allows you to use your iGATE to send and receive SMS. The following functions are possible with
        this feature package:
            Sending SMS via e-mail
            Receiving SMS to e-mail, SMS or to a file
            Sending and receiving USSD text messages
            Setting up connections using e-mail
            Sending announcements via e-mail
            Sending automatic SMS for unconnected calls
              i
                        Bear in mind that the parameters for connection to the SMTP server must be config-
                        ured in the pabx.cfg’s [Mail] section (cf. 5.2.2 on page 72 >).
        This function makes it possible to send SMS via a iGATE with an ordinary e-mail client. SMS messages are recorded
        in the CDR log with the service indicator 0500. The destination address with the keyword SMS, the call number,
        the @ sign and the IP address or the IP name of the iGATE must be entered.
              i
                        To use this function, you must first set the parameter <smsc> in the pabx.cfg
                        (cf. Table 5.15 on page 65 >).
        In the following example, an SMS is sent to the mobile number 015553456789, whereby sms-mail.server.de must
        correspond with the IP address 172.172.172.172:
        Example:          SMS015553456789@172.172.172.172 or
                          SMS015553456789@sms-mail.server.de
                                                                214
CHAPTER 11
FEATURE PACKAGES
        The SMS text must be entered in the text box. The subject box is not used. If the e-mail program supports sending
        the same e-mail to more than one address, the SMS messages are sent in intervals of one second. The iGATE’s
        algorithms evenly distribute the SMS messages to the available mobile modules.
        If the iGATE rejects the SMS, an e-mail alerting an aborted SMS will be transmitted to the sender and the attempt
        will be entered in the corresponding log file (RRufLog=). If transmission is successful, a positive response will be
        sent when the SMS is accepted by the SMS service center. sent will then appear in the subject dialog. A correspond-
        ing CDR will be entered with a destination address beginning with SMS.
        A request to set up a connection with the service ’telephony’ and the element ’user-to-user’ enables the SMS text
        to be sent to the iGATE. All iGATEs are supported that allow for SMS messages to be sent by the process described
        above. According to the restrictions of the ISDN signaling protocol, text length is limited to approximately 110-120
        characters. Longer texts will be cut off accordingly.
        The following entry must appear in the route.cfg configuration file for SMS transmission to be possible: Ma-
        pAllSMS=<port number>.
        Sent SMS will also be recorded if the call log is active on the system. The formats are describe in
        Chapter 11.4.2.1 > and Chapter 11.4.2.2 >.
        Example 1         In the following example, SMS-transmission to the number 01721111111 from the e-mail ac-
                          count j.smith was successful:
12.07.06-09:59:10,12.07.06-09:59:11,SMS01721111111,j.smith,0500,1,06,0
        Example 2         In the following example, SMS-transmission to the number 01721111111 from the e-mail ac-
                          count j.smith was unsuccessful. the output -1 as cause value means that no routing entry was
                          configured:
12.07.06-09:04:11,SMS01721111111,j.smith,0500,00,-1,0
        This function makes it possible to receive SMS messages via a mobile gateway with an ordinary e-mail client, to
        forward them to another mobile telephone, or to save them to a file.
              i
                        Bear in mind that you must set the service type in all identical restrict entries.
                        Example: In the following example, all incoming voice calls are routed to the opera-
                        tor incoming SMS messages are forwarded to the email account sysadmin:
                        Restrict26202=100 01
                        Restrict26202=@sysadmin 05
        The destination number in the iGATE system must correspond with an e-mail account. The e-mail recipient’s name
        contains the keyword ’sms’ and the destination number. The subject box contains the SIM card’s IMSI and the call-
        er’s number.
                                                               215
CHAPTER 11
FEATURE PACKAGES
        Example:
        From: sms262124915553230618@gsm.teles.de
        Subject: SMS 262123203500514 4915553230618
        A mapping entry must indicate an e-mail account with a prefixed @. The following syntax is used:
        Restrict<port>=@<addressee> 05
        As an alternative, the @ sign can be substituted with a colon (:) in the recipient’s address. If only a destination
        account is given, the configured domain name is used.
        This configuration makes it possible to forward SMS messages via a mobile gateway to another mobile telephone.
        Restrict<port>=@-><port><mobile number> 05
        Example:
Restrict20=@->200155512345678 05
        Using this configuration, you can save SMS messages via a mobile gateway to a file.
        Make the following entry in the pabx.cfg:
        MsgLog=/data/msg.log
        The following entry in the Route.cfg is also required:
        Restrict<port>=@FILE 05
        Incoming USSD can either be saved to a file, sent as an SMS to an e-mail address or to a telephone that supports
        this service.
        Make the following entry in the pabx.cfg:
        MsgLog=/data/msg.log
        The following entry in the Route.cfg is also required:
        Restrict<port>=@FILE 06
Restrict20=@FILE 06
                                                                 216
CHAPTER 11
FEATURE PACKAGES
        This function makes it possible to send text messages via the ISDN signaling channel gateway. The destination ad-
        dress with the keyword MSG, the @ sign and the IP address or the IP name of the iGATE system with mobile gateway
        must be entered.
        In the following example, a message is sent to the call number 0123456789, whereby msg-mail.server.de must
        correspond with the IP address 172.172.172.172:
        Example:          MSG0123456789@172.172.172.172 or
                          MSG0123456789@msg-mail.server.de
        The message must be entered in the text box. The subject box is not used. If the e-mail program used supports
        sending the same e-mail to more than one address, the messages are sent in intervals of one second. The iGATE
        system’s algorithms evenly distribute the messages to the available ISDN ports.
        If the recipient rejects the call, an e-mail alerting an aborted message will be transmitted to the sender and the
        attempt will be entered in the corresponding log file (RRufLog=). If transmission is successful, a corresponding CDR
        will be entered with a destination address beginning with MSG.
        A request to set up a connection with the service ’telephony’ and the element ’user-to-user’ enables the message
        to be sent to the recipient. All terminal devices and PBXes are supported that allow for messages to be sent by the
        process described above. According to the restrictions of the ISDN signaling protocol, text length is limited to ap-
        proximately 110-120 characters. Longer texts will be cut off accordingly.
              i
                        The following entry must appear in the route.cfg:
                        MapAllMSG=<port>
        This function sets up a connection between subscriber A and subscriber B via e-mail. Subscriber A is identified by
        an e-mail address and is dialed first. Subscriber B is called when the connection to subscriber A has been set up.
        A connection can be set up via e-mail with the keyword ’CALL,’ the destination number, the @ sign, and the IP
        address or the iGATE system’s IP name.
        The following example shows a connection with the destination number 0123456789, whereby msg-mail.serv-
        er.de must correspond with the IP address 172.172.172.172.
        Example:          CALL0123456789@172.172.172.172 or
                          CALL0123456789@msg-mail.server.de
        Any text contained in the text box will be sent to subscriber A as user-to-user information. The subject box is not
        used.
        Subscriber A is identified by an e-mail address and must be activated in the iGATE system. The subscriber’s name
        must appear before the @ sign. This name must be assigned a corresponding MapOut command.
        Example:          Subscriber’s e-mail address is meier@server.de. Subscriber’s extension is 555. Configure Ma-
                          pAll@555=meier.
        In addition to CTI capability, this function allows for callback via e-mail.
                                                                 217
CHAPTER 11
FEATURE PACKAGES
        It is possible to send announcements using e-mail. An audio file with Teles G.711 A-law encoding is simply sent
        as an attachment. The destination address begins with the keyword play, followed by the telephone number, the
        @ sign and finally the TELES.System’s IP address or name.
        Example:           the e-mail address will look like this:
play123456@192.168.0.1
or
play123456@anouncement.server.de
MapAllplay123456=9123456
        After the call has been successfully established, the system generates an e-mail that contains the keyword
        play<num> in the from line. The keyword connected appears in the subject line.
        If an error occurs, the keyword error appears in the subject line. For example, errors may occur when the called
        number is occupied. Bear in mind that the system will attempt to resend the message as often as is defined in the
        parameter MailToHostRetries.
        To distinguish between voice calls and announcement calls in the CDRs, the keyword play appears in front of the
        DAD in the CDRs.
        With this function, you can use e-mail to signal incoming calls. Two signaling types are possible:
            Display all incoming calls that receive a busy or ringing signal. Enter the keyword CTI[001.000.000.000]
             in the VoIP controller’s Subscriber line of the iGATE system’s pabx.cfg configuration file.
         Display all unsuccessful incoming calls (callback list) that receive a busy signal or remain unanswered.
             Enter the keyword CTI[002.000.000.000] in the VoIP controller’s subscriber line of the iGATE system’s
             pabx.cfg configuration file.
        The destination is the address of the called subscriber configured in a corresponding map entry. A callback can be
        initiated when the recipient responds to the e-mail.
        When the iGATE is implemented in a corporate network and connected to a PBX or between a PBX and the outside
        line, the following configuration entry in the pabx.cfg activates a feature, whereby the system automatically
        sends an SMS message to dialed mobile numbers that are unreachable or not answering.
                                                                     218
CHAPTER 11
FEATURE PACKAGES
        A configurable text containing the callers OAD is sent in the SMS message, so that the mobile user knows who
        called him through the iGATE’s interface and can return the call.
        The parameter SMSInfo activates this feature. The text can be configured on an individual basis, and the caller’s
        number is automatically generated when you enter %s. You must enter the text that is to be sent in quotation
        marks:
        SMSInfo="<text>%s<text>"
                        No SMS will be generated for unconnected calls if the service code VOICE or DATA
              i         appears in the mapping entry.
                        The SMS center number must be defined (cf. Table 5.15 on page 65 >), and the rout-
                        ing entry for sending SMS must be configured.
                        At least two SIM cards must be activated in the iGATE for this feature to work.
        Example:           In the following example, SMS messages for mobile users are generated only when calls cannot
                           be connected. The network prefix is 0155 and the LAIN is 26212. The company’s mobile prefix
                           is 57777.
                           No other mobile targets for mobile carriers with the LAIN 26212 and 26213 receive SMS, since
                           the parameter VOICE has been defined in the mapping entry:
                           pabx.cfg:
route.cfg:
MapAllSMS=26212
         MapAll015557777=|26212015557777<<17
         MapAll01555=|2621201555<<17 VOICE
         MapAll01556=|2621201556<<17 VOICE
         MapAll01444=|2621301444<<17 VOICE
         MapAll01445=|2621301445<<17 VOICE
        Ported Number LCR Extension is a function that enables you to map defined destination call numbers to other des-
        tination numbers or networks (number portability). This function is used to allow telecommunications subscribers
        to change carriers without having to change their telephone numbers.
        Number portability is used in the fixed network, as well as in the mobile network. Usually the numbers are mapped
        in their respective networks. Implementation of this information and the corresponding routing processes result in
        significant cost savings, as tariff differences between calls to ’normal’ and ported subscribers are eliminated.
        The database of ported numbers runs on the iMNP, which provides the data online for the entire network. You can
        also choose an external provieder.
        The iGATE automatically routes calls through specific ports, so that all calls through the same carrier (including
        ported numbers) are routed through the port containing that carrier’s SIM card.
                                                              219
CHAPTER 11
FEATURE PACKAGES
        To connect to the number portability database, you must set the entries described in Chapter 5.2.3 >.
        An appropriate routing entry in the route.cfg file is required to activate Ported Number LCR Extension. This includes
        activation of digit collection and the following mapping configuration:
        ...
        DTMFWaitDial=<sec>
        MapAll<num>=|$ph<<<count>
        MapAllph=|D@<num><<01
        The routing entries for the iMNP results contain the keyword QN, followed by the query result, an equal sign and
        the controller:
        MapAllQN<query>=<controller>
        ...
        Example:           The following example uses digit collection (11 digits plus $ph). Every incoming call with a lead-
                           ing digit of 0 results in an iMNP query. The SIM-card LAINs are used instead of controller num-
                           bers. All numbers that come back from the iMNP with the LAIN for Carrier_1 (26211) are then
                           routed through Carrier_1’s SIM card with CLIR. The same applies for Carrier_2 (26212),
                           Carrier_3 (26213) and Carrier_4 (26214). Numbers that the iMNP sends back as non-existing
                           (00000) are rejected. Numbers that may exist but are not found in the database (99999) are rout-
                           ed as they come in (normal). If the iMNP does not respond within two seconds (D@0), the call
                                                                  220
CHAPTER 11
FEATURE PACKAGES
         DTMFWaitDial=5
         MapAll0=|$ph<<14
         MapAllph=|D@0<<01
         MapAllQN26211=#26211
         MapAllQN26212=#26212
         MapAllQN26213=#26213
         MapAllQN26214=#26214
         MapAllQN00000=&81
         MapAllQN99999=$normal
         MapAllD@0=$normal1
         ; not in Database
         ;Carrier_1
         MapAllnormal0151=#262110151
         MapAllnormal0160=#262110160
         MapAllnormal0170=#262110170
         MapAllnormal0171=#262110171
         MapAllnormal0175=#262110175
         ;Carrier_2
         MapAllnormal0152=#262120152
         MapAllnormal0162=#262120162
         MapAllnormal0172=#262120172
         MapAllnormal0173=#262120173
         MapAllnormal0174=#262120174
         ;Carrier_3
         MapAllnormal0155=#262130155
         MapAllnormal0163=#262130163
         MapAllnormal0177=#262130177
         MapAllnormal0178=#262130178
         ;Carrier_4
         MapAllnormal0159=#262140159
         MapAllnormal0176=#262140176
         MapAllnormal0179=#262140179
        This chapter provides a general introduction to SS7, including a description of its basic structure and implementa-
        tion.
1 1 . 7 . 1 G E N E R A L S S 7 TE R M I N O L O G Y
             Term                                                   Explanation
         Protocol          A standardized set of rules that govern the logic used for communication between two devices.
         E1 line           A line that carries information at a rate of 2.048 MB/second. Each E1 is divided into 32
                           timeslots, or channels, numbered from 0 to 31.
         Timeslot          A unit of 64 Kb/second.
                                                                221
CHAPTER 11
FEATURE PACKAGES
                Term                                                Explanation
         B-channel         Bearer channel. A channel that carries voice or data traffic.
         D-channel         Data channel. A channel that carries signaling.
         Link              One or several timeslots carrying signaling.
         Trunk             Bundle of bearer channels.
        SS7 (Signaling System #7), also known as CCS#7 (Common Channel Signaling #7), is a signaling protocol for calls
        in a circuit-switched network. SS7 is implemented around the world in most digital networks and is used primarily
        for communication between network infrastructure devices.
        With SS7, signaling links can be individually defined. One SS7 signaling link can handle traffic on many trunks, so
        that signaling links do not have to follow the same path as the trunks carrying the traffic they handles.
1 1 . 7 . 3 S I G N A L I N G TY P E S
        With this type of signaling, the user parts in two signaling points communicate over a direct signaling route, i.e.
        the signaling route runs parallel to the signaling relation.
        With quasi-associated signaling, user parts communicate over a signaling route consisting of a string of signaling
        link sets connecting several STPs.
        Quasi-associated signaling is the most efficient type of signaling, because it includes all SS7 advantages and elim-
        inates the problems presented by associated signaling.
        Signaling points (SP) are the nodes in the SS7 network, i.e. switches or other network nodes such as databases.
        Each SP is assigned a 14-bit code (SPC), meaning that up to 16384 SPs can be addressed within a signaling net-
        work. Three signaling networks, identified by a Network Indicator (NI), can be created for an SP.
        A physical node in a network can have more than one SPC. A gateway switch between a national and international
        signaling network has SPCs from both networks (one international and one national).
                                                               222
CHAPTER 11
FEATURE PACKAGES
        There are three types of SP - Signaling End Point (SEP), Signaling Transfer Point (STP) and Service Control Point
        (SCP).
        SEPs are the source and destination points of signaling messages, i.e. signaling relations exist between SEPs. All
        nodes in a telecommunications network exchange signaling information and are, as such, SEPs, regardless of their
        position in the network hierarchy. Therefore, both local and transit switches can be considered SEPs.
1 1 . 7 . 4 . 2 S I G N A L I N G TR A N S F E R P O I N T S
        STPs are network nodes that transfer signaling messages to other nodes without changing the content of the mes-
        sages. Independent nodes (standalones) can be used to carry out this function in a network, or it can be integrated
        into an SEP.
        SCPs form an integral part of IN architecture, providing centralized control of services for an telecommunications
        network. This enables a network to perform advanced tasks, such as toll-free or pre-paid processing without having
        to implement the functions on each switch in the system.
                                                               223
CHAPTER 11
FEATURE PACKAGES
        SS7 is divided into various parts, which are stacked into levels that resemble the seven OSI (Open Systems Inter-
        connect) layers defined by the ISO (International Standards Organization). Each part of the SS7 protocol stack
        serves to maintain the network or to deliver the functions it offers.
1 1 . 7 . 5 . 1 M E S S A G E TR A N S F E R PA R T
        The Message Transfer Part (MTP) provides the basic functions required to transmit signaling messages and manage
        the signaling network. It consists of the following three levels that must be implemented for the network to func-
        tion:
        MTP Level 1
        This is where the physical and electrical characteristics for the network's signaling links are determined and de-
        fined. MTP Level 1 can be compared with the OSI Physical Layer.
        MTP Level 2
        performs the same tasks as the OSI Data Link Layer. It checks the links' functionality and ensures that communi-
        cation between signaling points is operating properly.
        MTP Level 3
        contains the functions and procedures for the signaling network, divided into signaling message handling and sig-
        naling network management. Signaling message handling switches the messages in the network, while signaling
        network management is responsible for managing the network and dealing with any problems that occur.
                                                              224
CHAPTER 11
FEATURE PACKAGES
1 1 . 7 . 5 . 2 I S D N U S E R PA R T
        ISDN User Part (ISUP) defines the protocol used for connection setup and teardown for all ISDN services and to
        regulate service indicators. Though its name suggests otherwise, ISUP is used for ISDN and non-ISDN calls.
1 1 . 7 . 5 . 3 TE L E P H O N E U S E R PA R T
        Telephone User Part (TUP) performs most, but not all, of the functions carried out by ISUP. It defines the protocol
        used for connection setup and teardown for ISDN services and to regulate certain service indicators. TUP is only
        used for international traffic to specific countries.
1 1 . 7 . 5 . 4 S I G N A L I N G C O N N E C T I O N C O N T R O L PA R T
        Signaling Connection Control Part (SCCP) handles connectionless and connection-oriented signaling information.
        The SCCP sets up logical, not physical, connections to exchange local references and SPCs before the physical con-
        nection is set up. Together with MTP, it performs OSI layers 1 to 3 tasks. It also provides Global Title Translation
        (GTT), which translates virtual numbers, like 800 numbers or calling-card numbers, into actual destination point
        codes and subsystem numbers.
1 1 . 7 . 5 . 5 TR A N S A C T I O N C A P A B I L I T I E S A P P L I C A T I O N PA R T
        Transaction Capabilities Application Part (TCAP), which is transported by SCCP, supports transactions for applica-
        tion processes that are distributed throughout the network. Transaction capabilities are functions and processes
        that transfer non-user channel network information between different types of facilities. For example, SEPs and
        SCPs exchange TCAP messages to query and transmit routing information for 800 and other virtual numbers.
1 1 . 7 . 5 . 6 O P E R A T I O N S, M A I N T E N A N C E A N D A D M I N I S T R A T I O N PA R T
        Operations, Maintenance and Administration Part (OMAP) provides functions for maintenance, service, adminis-
        tration and testing of the individual signaling points. OMAP-defined messages are used to determine the function-
        ality of routing databases and to find inconsistencies in links. They also carry out management functions controlled
        by a telecommunications management network.
1 1 . 7 . 5 . 7 M O B I L E A P P L I C A T I O N PA R T
        Mobile Application Part (MAP) is currently the most important user of TCAP. It supports user channel-independent
        functions, e.g. database queries, in mobile systems, which allow a device to receive and make mobile calls any-
        where in Europe without necessarily knowing the current location of the subscriber. This information is stored in a
        database, which is queried each time a connection is being set up to the mobile number.
                                                               225
CHAPTER 11
FEATURE PACKAGES
        Intelligent Network Application Protocol (INAP) supports call control within intelligent networks. IN architecture is
        designed to facilitate the introduction, control and management of new services in an efficient and cost-effective
        manner. INAP acts as the interface between the various IN functions.
1 1 . 7 . 6 S S 7 A N D T H E I G AT E
        iGATEs support the SS7 protocol for internal communication between switches in the corporate network. The sys-
        tem is connected to the network as a Service End Point (SEP). The synchronization timeslot is 0. No hardware
        changes are necessary for SS7 use on a system. Only configuration changes in the pabx.cfg file, as well as a license
        activation are required.
        The following adjustments must be made to the Controller and Subscriber commands in the PABX.CFG:
        1. For each of the SS7 ports, add the SS7 keyword to the Controller command after TES2M or NTS2M.
        2. Using the Subscriber command, configure the SS7 ports using the following keywords: Subscriber-
           Port=SS7[OPC,DPC,SSV,SLC,CIC,
           type,ST,STP]
           The point codes (OPC,DPC,STP) can appear in the following format: 4 bit-3 bit-4 bit-3 bit. All other val-
           ues are hexadecimal, with a leading zero, but no leading format identifier 0x.
             Keyword                                                  Meaning
         OPC               Own Point Code: distinctly identifies the port within the corporate network. Use the same four-
                           digit hexadecimal value for each port.
         DPC               Destination Point Code: used to distinctly identify the target port within the corporate network.
                           Specify a four-digit hexadecimal number for each port.
         SSV               Subservice for the target port:
                           80 for national – port on the corporate network (NAT0)
                           00 for international – port on a foreign network
                           C0 for test (NAT1)
         SLC               Signaling Link Code: used to distinctly identify the lines running in the same direction on Layer
                           3. Specify a hex value from 00 to 0F.
                                                                226
CHAPTER 11
FEATURE PACKAGES
              Keyword                                                  Meaning
         CIC                 Circuit Identification Code: used to identify B channels to the remote switch. Specify a four-
                             digit hexadecimal number.
         type                TRUNK – standard line (no signaling)
                             LINK – for standard usage and signaling in one line
                             For each connection, at least one LINK must be configured in correspondence with the con-
                             figuration used by the remote switch.
         ST                  Signaling Timeslot: timeslot used for signaling (default 16). Must appear in the following for-
                             mat: Dxx, whereby xx refers to the timeslot in double digits (e.g. D16).
         STP                 Signaling Transfer Point (optional). You can enter an STP’s unique identifier at the end of the
                             square brackets, behind the signaling timeslot.
                              NOTE: Make sure you do not enter upper-case letters. This entry may never be-
                              gin with an upper-case D!
                i
                          Use timeslots 1-15 and 17-31 as voice channels. Timeslot 16 cannot be used as a
                          voice channel in a trunk configuration.
             ; 5) Controllers
             ; --------------
             Controller00=9 TES2M SS7
             Controller01=9 TES2M SS7
             ; 6) Subscribers
             ; --------------
             ; TELES.3PRI board(s)
             ; ---------------------
             Subscriber00=SS7[1-7-a-3,1-7-a-1,80,00,0000,LINK,D16,3-b-2-a] TRANSPARENT ROUTER ALARM
             Subscriber01=SS7[1-7-a-3,1-7-a-1,80,01,0020,LINK,D16,3-b-2-a] TRANSPARENT ROUTER ALARM
                                                                 227
CHAPTER 11
FEATURE PACKAGES
                                                                           DPC 4       DPC 3
                                                                                                                            2
                                                                                                                           OPC
80
                                                                                                                                        1
                                                                                                 Controller 04
                                                                                                                           national
                                                                                       SLC 1
                                                                                                           Controller 05
                                                                                       SLC 2
                                                                                       SLC 3                                                00
                                                                                                                                  international
                                                                                               Trunk
                                                                                               Trunk
                                                                             4                                        3
                                                                                               Link&Trunk
                                                                           OPC                                    OPC
It may be necessary for certain options to be sent with SS7 IAMs. These options appear in specific routing entries.
         ; 5) Controllers
         ; --------------
         Controller00=9 TES2M SS7
         Controller01=9 TES2M SS7
         ; 6) Subscribers
         ; --------------
         ; TELES.3PRI board(s)
         ; ---------------------
         Subscriber00=SS7[1-7-a-3,1-7-a-1,80,00,0000,LINK,D16,] TRANSPARENT ROUTER ALARM
         Subscriber01=SS7[1-7-a-3,1-7-a-1,80,01,0020,LINK,D16,W] TRANSPARENT ROUTER ALARM
        Example:          In the following example, all calls beginning with 0 are mapped to the placeholder pl and sent
                          to port 10 following a new routing-file search. The W routing process is used for calls with con-
                          tinuity check:
                                                               228
CHAPTER 11
FEATURE PACKAGES
         MapAll0=$pl
         MapAllplW=10
         MapAllpl=10
                               229
CHAPTER 12
12.1 OVERVIEW
        The modules can be downloaded using FTP. The access data for each module is as follows:
            DNS Forwarder
             ftp://195.4.12.80
             user: dnsmasq
             password: dnsmasq
         snmp agent
             ftp://195.4.12.80
             user: snmp
             password: snmp
         ipupdate
             ftp://195.4.12.80
             user: ipupdate
             password: ipupdate
        Install the respective software package on the iGATE using GATE Manager. For a description of how to update the
        software, please refer to Chapter 10.3 >. Make sure the module’s file ending is correct before installation. The
        number in the file ending shows the starting order of the modules. Do NOT change this number if it is 0! All other
        modules can simply be numbered in ascending order.
        For instance, the ending for the optional function module will be tz2 or higher:
         tz2
         tz3
        Following completion of transmission, you must adjust the module’s configuration and restart the iGATE. Once you
        have restarted the system, you can use the required features.
        This module allows you to connect the systems and their functions to an SNMP-based network monitoring system.
        With this module, SNMP requests are answered and alarm messages (E.g. Layer 1 errors on E1 lines) and error
        recovery messages are sent via SNMP trap.
        Traps are generated for all line or mobile ports. The running number in the trap corresponds with the port. The
        module also monitors whether the voice codec chips are functioning correctly.
                                                               230
CHAPTER 12
The traps for the IP interfaces are also generated in ascending order according to the following list:
        If more than one pppoe<x> profile is configured, the number will also increase.
        Bear in mind that the keyword ALARM must be entered in the appropriate PRI, BRI or mobile port’s Subscriber line
        in the pabx.cfg. The MIBs (Management Information Bases) are included on the product CD in the folder MIB. The
        module name snmpd.tz0 must have the ending tz0!
        The following settings are possible in the section [snmpd]:
                     Parameter                                                   Definition
         Port=<port>                              Defines the target port for the trap server (default 161).
         TrapServer=<ip addr>                     Enter the SNMP trap server’s IP address. Example for listing more than
                                                  one:
                                                  TrapServer=192.168.0.10 192.168.0.12
        With this module, the system can function as a DNS server for the clients in the local network. The system in the
        local network sent the DNS query to the iGATE, which forwards the queries to a known DNS server address if no
        valid entry for the query is known.
        The advantage is that the clients always enter the iGATE’s address as DNS server address, so that no public DNS
        server address is required. The iGATE functions in this scenario as a router.
        Of course, the DNS server’s address can also be transmitted to the clients using the integrated DHCP server. If the
        iGATE is used as a DSL router or if it sets up a dial-up connection, no entry is required in the pabx.cfg for the pa-
        rameter NameServer. The DNS server’s address that is negotiated through this connection will be used.
                                                                231
CHAPTER 12
        This function allows you to assign a defined hostname to an IP address that changes dynamically. That means that
        you can always reach a device or service through the public IP network, even if, for example, it is a common DSL
        connection with dynamic IP address allocation. Several providers support this service.
        Make the following entries in the system’s ip.cfg, in the [DynDNS] section:
                                                     DynDNS Parameters
         service=<type>
             Specifies which provider is used. The following providers are supported:
             dhs                       http://www.dhs.org
             dyndns                    http://www.dyndns.org
             dyndns-static
             dyns                      http://www.dyns.cx
             ezip                      http://www.ez-ip.net
             easydns                   http:/www.easydns.com
             easydns-partner
             gnudip                    http://www.gnudip.cheapnet.net
             heipv6tb
             hn                        http://www.hn.org
             pgpow                     http:www.justlinux.com
             ods                       http://ods.org
             tzo                       http://www.tzo.com
             zoneedit                  http://zoneedit.com
         user=<username:password>
            Defines the username and password for the DNS service provider.
         host=<domain_name_of_dns_service>
            Enter the domain name that is used.
         interface=<If>
             Defines the interface to be used. Possible entries are emac0, emac1, pppoe0. The dynamic IP address for
             this interface is transmitted to the service provider.
         max-interval=<sec>
           Defines the value in seconds in which actualization of the name in the DNS database must occur. 2073600
           seconds (24 days) is the default value. The shortest interval allowed is 60 seconds. Bear in mind that this
           setting may cause the provider to block the domain name, since multiple registrations in short intervals are
           often not allowed. You must clear this with your provider.
                                                              232
CHAPTER 12
        Example:         In the following example, the DynDNS service is used and the domain name is host.domain.de;
                         the username is user and the password is pwd. The iGATE works as DSL router and the dynami-
                         cally allocated IP address of the PPPoE interface is used:
         [DynDNS]
         service=dyndns
         user=user:pwd
         host=host.domain.de
         interface=pppoe0
         max-interval=2073600
        Included in the possible uses for this feature is remote access to the iGATE when the IP connection does not have
        a fixed IP address. In this case, you can access the system, for example with the GATE Manager, if the host name
        is used in the Remote Number dialog. Example entry in the Remote Number dialog: IP:host.domain.de
                                                              233
TELES AG
Communication Systems Division
Ernst-Reuter-Platz 8
10587 Berlin, Germany
Phone: +49 30 399 28-00
Fax:    +49 30 399 28-01
E-mail: sales@teles.com
http://www.teles.com/tcs/