..

config file to run MTU-MTR under Linux

..

Developer Group

Developer Group
Connect with thousands of other developers to brainstorm ideas, share best practices and tips - or just chat about the latest emerging technologies making noise in the field. And of course, get the most up-to-date service and support news from Dialogic.
Dialogic SS7 and SIGTRAN Signalling

config file to run MTU-MTR under Linux

  • could anybody provide the system.txt and config.txt for Linux machine?

    The examples are for Windows...

    We want to run MTU-MTR based on Sigtran (MAP/TCAP/SCCP/M3UA/SCTP), it seems that MTU could only supported Sigtran based M2PA, what should we change to use M3UA?

    Thanks!

  • Here  is my system.txt on both computer: (both Linux)

     

    ********************************************************************************
    *
    * Example System Configuration File (system.txt) for use with
    * the Linux Development Package for Dialogic(R) SS7 Boards
    *
    * Edit this file to reflect your configuration.
    *
    ********************************************************************************
    *
    * Essential modules running on host:
    *
    LOCAL           0x20            * ssd/ssds/ssdh - Board interface task
    LOCAL           0x00            * tim_lnx - Timer task
    *
    * Optional modules running on the host:
    *
    LOCAL           0xcf            * s7_mgt - Management/config task
    LOCAL           0xef            * s7_log - Display and logging utility 
    LOCAL           0x2d            * upe - Example user part task
    *
    * Modules that optionally run on the host:
    *
    * LOCAL         0x22            * MTP3 module
    * LOCAL         0x23            * ISUP module
    * LOCAL         0x4a            * TUP module
    LOCAL         0x33            * SCCP module
    LOCAL         0x14            * TCAP module
    LOCAL         0x15            * MAP module
    * LOCAL         0x25            * IS41 module
    * LOCAL         0x35            * INAP module
    *
    * Essential modules running on the board (all redirected via ssd):
    *
    * REDIRECT        0x71    0x20    * MTP2 module (except SS7HD boards)
    * REDIRECT      0x81    0x20    * MTP2 module_id for SP 0 (SS7HD boards only)
    * REDIRECT      0x91    0x20    * MTP2 module_id for SP 1 (SS7HD boards only)
    * REDIRECT      0xe1    0x20    * MTP2 module_id for SP 2 (SS7HD boards only)
    * REDIRECT      0xf1    0x20    * MTP2 module_id for SP 3 (SS7HD boards only)
    * REDIRECT        0x10    0x20    * CT bus/Clocking control module
    * REDIRECT        0x8e    0x20    * On-board management module
    *
    * Modules that optionally run on the board (all redirected via ssd):
    *
    * REDIRECT        0x22    0x20    * MTP3 module
    * REDIRECT      0x23    0x20    * ISUP module
    * REDIRECT      0x4a    0x20    * TUP module
    * REDIRECT      0x33    0x20    * SCCP module
    * REDIRECT      0x14    0x20    * TCAP module
    * REDIRECT      0x15    0x20    * MAP module
    * REDIRECT      0x25    0x20    * IS41 module
    * REDIRECT      0x35    0x20    * INAP module
    *
    * Redirection of status indications:
    *
    REDIRECT        0xdf    0xef    * LIU/MTP2 status messages -> s7_log
    *
    * Dimensioning the Message Passing Environment:
    *
    NUM_MSGS        10000           * Number of standard size
    *                                 messages in the environment
    * NUM_LMSGS     200             * Number of 'long' messages
    *                                 (used for certain TCAP based applications)
    *
    * Now start-up all local tasks:
    *   (For PCCS6 start-up use ssd,
    *   for SPCI start-up use ssds
    *   for SS7HD boards use ssdh and
    *   for SS7AM boards use ssda)
    *
    * FORK_PROCESS   ./ssd
    * FORK_PROCESS   ./ssds
    * FORK_PROCESS   ./ssdh
    * FORK_PROCESS   ./ssda
    FORK_PROCESS     ./tim_lnx
    FORK_PROCESS     ./tick_lnx
    FORK_PROCESS     ./s7_mgt
    FORK_PROCESS     ./s7_log
    FORK_PROCESS     ./upe
    *
    *
    ********************************************************************************

  • Here is my config.txt on MTU side:

     

    ********************************************************************************
    *
    * Example Protocol Configuration File (config.txt) for use with
    * Dialogic(R) SS7 Boards.
    *
    * Boards supported are SPCI4, SPC2S, SS7AM and the SS7HD range.
    * (note, not all boards are supported on all operating system).
    *
    * This file needs to be modified to suit individual circumstances.
    * Refer to the relevant Programmer's Manuals for further details.
    *
    ********************************************************************************
    *
    *
    * Configure individual boards:
    * For SPCI boards:
    * SS7_BOARD <board_id> <board_type> <flags> <code_file> <run_mode>
    *SS7_BOARD  0  SPCI2S 0x0043  ss7.dc3 MTP
    *SS7_BOARD  0  SPCI4 0x0043  ss7.dc3 MTP
    *
    * For SS7HD PCI boards:
    * SS7_BOARD <board_id> <board_type> <flags> <code_file> <run_mode>
    *SS7_BOARD  0 SS7HDP 0x0043  ss7.dc4  MTP2
    *
    * For SS7HD cP boards:
    * SS7_BOARD <board_id> <board_type> <flags> <code_file> <run_mode>
    *SS7_BOARD  0 SS7HDC 0x0043  ss7.dc4  MTP2
    *
    * For SS7AM boards:
    * SS7_BOARD <board_id> <board_type> <flags> <code_file> <run_mode>
    *SS7_BOARD  0 SS7AM 0x0043  ss7.dc5  MTP2
    *
    *
    * Configure individual E1/T1 interfaces:
    * LIU_CONFIG <board_id> <liu_id> <liu_type> <line_code> <frame_format>
    *            <crc_mode>
    LIU_CONFIG  0  0  5  1  1  1
    *
    *
    * MTP parameters:
    *
    * MTP_CONFIG <reserved> <reserved> <options>
    MTP_CONFIG  0  0  0x00000000
    *
    * Define linksets:
    * MTP_LINKSET <linkset_id> <adjacent_spc> <num_links> <flags> <local_spc> <ssf>
    MTP_LINKSET  0  2  1  0x0000  1  0x08
    *
    * Define signaling links:
    * MTP_LINK <link_id> <linkset_id> <link_ref> <slc> <board_id> <blink>
    *          <stream> <timeslot> <flags>
    * Note 1: The first LIU port is stream=0.
    * Note 2: The SS7HD board requires a compound parameter for blink of the form
    * sp_id-sp_channel.
    *
    * For SPCI4 / SPCI2S boards:
    * or for SS7AM boards:
    *MTP_LINK  0  0  0  0  0  0    0   16  0x0006
    * For SS7HD boards:
    *MTP_LINK  0  0  0  0  0  0-0  0   16  0x0006
    *
    * Define a route for each remote signaling point:
    * MTP_ROUTE <dpc> <linkset_id> <user_part_mask>
    MTP_ROUTE  2  0  0x0008
    *
    * Define any user provided Layer 4 protocol:
    * MTP_USER_PART <service_ind> <module_id>
    *MTP_USER_PART  0x0a  0x2d
    *
    *
    * ISUP parameters:
    *
    * Configure ISUP module:
    * ISUP_CONFIG <reserved> <reserved> <user_id> <options> <num_grps> <num_ccts>
    *ISUP_CONFIG  0  0  0x1d  0x0435  4  64
    *
    * Configure ISUP circuit groups:
    * ISUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
    *                       <user_inst> <user_id> <opc> <ssf> <variant> <options2>
    *ISUP_CFG_CCTGRP  0  1  0x01  0x01  0x7fff7fff  0x001c  0  0x1d  2  0x8  0  0x00
    *
    *
    *  TUP parameters:
    * Configure TUP module:
    * TUP_CONFIG <reserved> <reserved> <user_id> <options> <num_grps> <num_ccts>
    *TUP_CONFIG  0  0  0x1d  0x8141  4  64
    *
    * Define TUP circuit groups:
    * TUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
    *                      <user_inst> <user_id> <opc> <ssf>
    *TUP_CFG_CCTGRP  0  1  0x01  0x01  0x7fff7fff  0x0030  0  0x1d  2  0x08
    *
    *
    * SCCP parameters:
    *
    * Configure SCCP module:
    * SCCP_CONFIG <local_spc> <ssf> <options> [<send_uis>]
    SCCP_CONFIG 1 8 0
    *
    * Configure SCCP Sub-System Resource
    * SCCP_SSR <ssr_id> RSP <remote_spc> <flags> <pc_mask>
    SCCP_SSR 1 RSP  2 0
    *
    * SCCP_SSR <ssr_id> LSS <local_ssn> <module_id> <flags> <protocol>
    SCCP_SSR 2 LSS 0x08  0x2d 0 MAP
    *
    * SCCP_SSR <ssr_id> RSS <remote_spc> <remote_ssn> <flags>
    SCCP_SSR 3 RSS 2  0x08 0
    *
    * SCCP Concerned Sub-System Resource
    * SCCP_CONC_SSR <id> <cssr_id> <ssr_id>
    SCCP_CONC_SSR 1 2 3
    *
    * Configure SCCP Trace
    * SCCP_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    SCCP_TRACE 0x1 0x1 0x1
    *
    * Define Global Title Pattern
    * SCCP_GTT_PATTERN <pattern_id> <addr_indicator> <pc> <ssn> <global_title> [<gtai_pattern>]
    SCCP_GTT_PATTERN 5 0x10 0x0000 0 0x001104 44/+
    *
    * Define Global Title Address
    * SCCP_GTT_ADDRESS <address_id> <addr_indicator> <pc> <ssn> <global_title> [<gtai_replacement>]
    SCCP_GTT_ADDRESS 9 0x11 0x1234 0 0x001104 0-/-
    *
    * Add Entry in GTT Table
    * SCCP_GTT <pattern_id> <mask> <primary_address_id> [<backup_address_id>]
    SCCP_GTT 5 R-/K 9
    *
    *
    * TCAP parameters:
    *
    * Configure TCAP
    * TCAP_CONFIG <base_ogdlg_id> <nog_dialogues> <base_icdlg_id> <nic_dialogues> <options> <dlg_hunt>
    *             [<addr_format>]
    TCAP_CONFIG 0x0000 8192 0x8000 8192 0x0000 0
    *
    * Define TCAP circuit groups:
    * TCAP_CFG_DGRP <gid> <base_ogdlg_id> <nog_dialogues> <base_icdlg_id> <nic_dialogues> <options>
    *               <reserved>
    TCAP_CFG_DGRP 0 0x0000 1024 0x8000 1024 0 0
    *
    * Configure TCAP Trace
    * TCAP_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    TCAP_TRACE 0x7 0xf 0x0
    *
    *
    * MAP parameters:
    *
    * Configure MAP
    * MAP_CONFIG <options>
    MAP_CONFIG 2
    *
    * Configure MAP Trace
    * MAP_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    MAP_TRACE 0xf 0xf 0x4
    *
    *
    * INAP parameters:
    *
    * Configure INAP
    * INAP_CONFIG <options>
    * INAP_CONFIG 2
    *
    * Configure INAP Functional Entities
    * INAP_FE <fe_ref> <options> <sccp_address>
    * INAP_FE 0x00000007 0x0000000f 0x00000000
    *
    * Configure INAP Application Context
    * INAP_AC <ac_ref> <ac>
    * INAP_AC 0x00 0xa109060704000101010000
    *
    * Configure INAP Trace
    * INAP_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    * INAP_TRACE 0xf 0xf 0x7f
    *
    *
    * IS41 parameters:
    *
    * Configure IS41 TRACE
    * IS41_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    * IS41_TRACE 0xf 0xf 0xff
    *
    ********************************************************************************

  • Here is the config.txt on MTR side:

     

    ********************************************************************************
    *
    * Example Protocol Configuration File (config.txt) for use with
    * Dialogic(R) SS7 Boards.
    *
    * Boards supported are SPCI4, SPC2S, SS7AM and the SS7HD range.
    * (note, not all boards are supported on all operating system).
    *
    * This file needs to be modified to suit individual circumstances.
    * Refer to the relevant Programmer's Manuals for further details.
    *
    ********************************************************************************
    *
    *
    * Configure individual boards:
    * For SPCI boards:
    * SS7_BOARD <board_id> <board_type> <flags> <code_file> <run_mode>
    *SS7_BOARD  0  SPCI2S 0x0043  ss7.dc3 MTP
    *SS7_BOARD  0  SPCI4 0x0043  ss7.dc3 MTP
    *
    * For SS7HD PCI boards:
    * SS7_BOARD <board_id> <board_type> <flags> <code_file> <run_mode>
    *SS7_BOARD  0 SS7HDP 0x0043  ss7.dc4  MTP2
    *
    * For SS7HD cP boards:
    * SS7_BOARD <board_id> <board_type> <flags> <code_file> <run_mode>
    *SS7_BOARD  0 SS7HDC 0x0043  ss7.dc4  MTP2
    *
    * For SS7AM boards:
    * SS7_BOARD <board_id> <board_type> <flags> <code_file> <run_mode>
    *SS7_BOARD  0 SS7AM 0x0043  ss7.dc5  MTP2
    *
    *
    * Configure individual E1/T1 interfaces:
    * LIU_CONFIG <board_id> <liu_id> <liu_type> <line_code> <frame_format>
    *            <crc_mode>
    LIU_CONFIG  0  0  5  1  1  1
    *
    *
    * MTP parameters:
    *
    * MTP_CONFIG <reserved> <reserved> <options>
    MTP_CONFIG  0  0  0x00000000
    *
    * Define linksets:
    * MTP_LINKSET <linkset_id> <adjacent_spc> <num_links> <flags> <local_spc> <ssf>
    MTP_LINKSET  0  1  1  0x0000  2  0x08
    *
    * Define signaling links:
    * MTP_LINK <link_id> <linkset_id> <link_ref> <slc> <board_id> <blink>
    *          <stream> <timeslot> <flags>
    * Note 1: The first LIU port is stream=0.
    * Note 2: The SS7HD board requires a compound parameter for blink of the form
    * sp_id-sp_channel.
    *
    * For SPCI4 / SPCI2S boards:
    * or for SS7AM boards:
    *MTP_LINK  0  0  0  0  0  0    0   16  0x0006
    * For SS7HD boards:
    *MTP_LINK  0  0  0  0  0  0-0  0   16  0x0006
    *
    * Define a route for each remote signaling point:
    * MTP_ROUTE <dpc> <linkset_id> <user_part_mask>
    MTP_ROUTE  1  0  0x0008
    *
    * Define any user provided Layer 4 protocol:
    * MTP_USER_PART <service_ind> <module_id>
    *MTP_USER_PART  0x0a  0x2d
    *
    *
    * ISUP parameters:
    *
    * Configure ISUP module:
    * ISUP_CONFIG <reserved> <reserved> <user_id> <options> <num_grps> <num_ccts>
    *ISUP_CONFIG  0  0  0x1d  0x0435  4  64
    *
    * Configure ISUP circuit groups:
    * ISUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
    *                       <user_inst> <user_id> <opc> <ssf> <variant> <options2>
    *ISUP_CFG_CCTGRP  0  1  0x01  0x01  0x7fff7fff  0x001c  0  0x1d  2  0x8  0  0x00
    *
    *
    *  TUP parameters:
    * Configure TUP module:
    * TUP_CONFIG <reserved> <reserved> <user_id> <options> <num_grps> <num_ccts>
    *TUP_CONFIG  0  0  0x1d  0x8141  4  64
    *
    * Define TUP circuit groups:
    * TUP_CFG_CCTGRP <gid> <dpc> <base_cic> <base_cid> <cic_mask> <options>
    *                      <user_inst> <user_id> <opc> <ssf>
    *TUP_CFG_CCTGRP  0  1  0x01  0x01  0x7fff7fff  0x0030  0  0x1d  2  0x08
    *
    *
    * SCCP parameters:
    *
    * Configure SCCP module:
    * SCCP_CONFIG <local_spc> <ssf> <options> [<send_uis>]
    SCCP_CONFIG 2  8 0
    *
    * Configure SCCP Sub-System Resource
    * SCCP_SSR <ssr_id> RSP <remote_spc> <flags> <pc_mask>
    SCCP_SSR 1 RSP 1 0
    *
    * SCCP_SSR <ssr_id> LSS <local_ssn> <module_id> <flags> <protocol>
    SCCP_SSR 2 LSS 0x08 0x2d 0 MAP
    *
    * SCCP_SSR <ssr_id> RSS <remote_spc> <remote_ssn> <flags>
    SCCP_SSR 3 RSS 1 0x08 0
    *
    * SCCP Concerned Sub-System Resource
    * SCCP_CONC_SSR <id> <cssr_id> <ssr_id>
    SCCP_CONC_SSR 1 2 3
    *
    * Configure SCCP Trace
    * SCCP_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    SCCP_TRACE 0x1 0x1 0x1
    *
    * Define Global Title Pattern
    * SCCP_GTT_PATTERN <pattern_id> <addr_indicator> <pc> <ssn> <global_title> [<gtai_pattern>]
    SCCP_GTT_PATTERN 5 0x10 0x0000 0 0x001104 44/+
    *
    * Define Global Title Address
    * SCCP_GTT_ADDRESS <address_id> <addr_indicator> <pc> <ssn> <global_title> [<gtai_replacement>]
    SCCP_GTT_ADDRESS 9 0x11 0x1234 0 0x001104 0-/-
    *
    * Add Entry in GTT Table
    * SCCP_GTT <pattern_id> <mask> <primary_address_id> [<backup_address_id>]
    SCCP_GTT 5 R-/K 9
    *
    *
    * TCAP parameters:
    *
    * Configure TCAP
    * TCAP_CONFIG <base_ogdlg_id> <nog_dialogues> <base_icdlg_id> <nic_dialogues> <options> <dlg_hunt>
    *             [<addr_format>]
    TCAP_CONFIG 0x0000 8192 0x8000 8192 0x0000 0
    *
    * Define TCAP circuit groups:
    * TCAP_CFG_DGRP <gid> <base_ogdlg_id> <nog_dialogues> <base_icdlg_id> <nic_dialogues> <options>
    *               <reserved>
    TCAP_CFG_DGRP 0 0x0000 1024 0x8000 1024 0 0
    *
    * Configure TCAP Trace
    * TCAP_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    TCAP_TRACE 0x7 0xf 0x0
    *
    *
    * MAP parameters:
    *
    * Configure MAP
    * MAP_CONFIG <options>
    MAP_CONFIG 2
    *
    * Configure MAP Trace
    * MAP_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    MAP_TRACE 0xf 0xf 0x4
    *
    *
    * INAP parameters:
    *
    * Configure INAP
    * INAP_CONFIG <options>
    * INAP_CONFIG 2
    *
    * Configure INAP Functional Entities
    * INAP_FE <fe_ref> <options> <sccp_address>
    * INAP_FE 0x00000007 0x0000000f 0x00000000
    *
    * Configure INAP Application Context
    * INAP_AC <ac_ref> <ac>
    * INAP_AC 0x00 0xa109060704000101010000
    *
    * Configure INAP Trace
    * INAP_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    * INAP_TRACE 0xf 0xf 0x7f
    *
    *
    * IS41 parameters:
    *
    * Configure IS41 TRACE
    * IS41_TRACE <op_evt_mask> <ip_evt_mask> <non_prim_mask>
    * IS41_TRACE 0xf 0xf 0xff
    *
    ********************************************************************************

  • then I run the following command on MTU side:

     mtu -d0 -a43020008 -g43010008 -s"hi" -i987654321
    MTU MAP Test Utility  Copyright (C) Dialogic Corporation 1997-2006. All Rights Reserved.
    ========================================================================================

    MTU mod ID 0x2d; MAP module Id 0x15
    mode 0 - Forward Short Message

     

     

     

    But then I see nothing more...

    I think the connection is not up, could anybody tell me how to configure the ip-address for both computers?

    I copied both mtu and mtr to the home directory of DPK, I am not sure if this is correct or not...

    system.txt and config.txt are all in the same directory.

  • MTU can work with M2PA or M3UA, it is base on your configuration. you need to add SCTP,SCTPD and M3UA module id to system.txt  and start sctp, sctpd,sccp , tcap and map module in system.txt. also you have to modify config.txt configuration to initial M3UA too, you can find configuration detail in this link : http://resource.dialogic.com/telecom/support/ss7/cd/GenericInfo/GeneralDocumentation/U04STN06-Sigtran-PM.pdf.   after  you start gctload , I suggest you to use wireshark to check sctp, M3UA , sccp each layer status.

    Michael Lin

  • Thanks!

    where is the place to define MTU address and MTR address for Linux?

  • hi, could anybody answer my question? Thanks!

    We think that the original and destination addresses in mtu command should be a subcsriber number, not the ip address (since it is encoded as called party address).

  • The IP addresses of the two stations are only found in the configuration file (config.txt).  As for the MTU command line parameters, yes the origin/destination here are both Q713 addresses containing a pointcode and SSN.

  • hi, please check your default config.txt for Linux, there is no place to set ip address. I know there is an option in Windows provided.

    I have pasted the config.txt above, you could have a look.

    For original/destination address, how could we define them? or which number should we use?

  • For M2PA you usually see this at the start of the config.txt:

    CNSYS:IPADDR=192.168.91.2,PER=0;
    SNSLI:SNLINK=1,IPADDR=192.168.91.4,SNEND=C,SNTYPE=M2PA,M2PA=1,PPORT=3565;

     

  • should I add these two lines in config.txt myself?

    They are not in the default file for Linux!!!

  • solved! thanks!

     

    I think it is better to modify the default configuration files for Linux, cuz it makes people confused.

    just a suggestion to Dialogic

  • i have the file system.txt but what i dont know with what app i use it im have windows 7 plz help