..

Problem While Runing MTR And MTU

..

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

Problem While Runing MTR And MTU

  • MTU  System.txt

    LOCAL           0x00            * Timer Task
    LOCAL           0xcf            * s7_mgt - Management/config task
    LOCAL           0xef            * s7_log - Display and logging utility
    LOCAL           0xc2            * mbm - Management task
    LOCAL           0xd0            * SCTPD module
    LOCAL           0xd1            * SCTP module
    LOCAL           0xc1            * M2PA module
    LOCAL           0x22            * MTP3 module
    LOCAL           0x33            * SCCP module
    LOCAL           0x14            * TCAP module
    LOCAL           0x15            * MAP module
    LOCAL           0x2d            * MTR or MTU module
    *
    * Now start-up all local tasks:
    *
    FORK_PROCESS    tim_nt.exe
    FORK_PROCESS    tick_nt.exe
    FORK_PROCESS    sctpd.exe
    FORK_PROCESS    sctp.exe
    FORK_PROCESS    m2pa_nt.exe -t
    FORK_PROCESS    mtp_nt.exe -t
    FORK_PROCESS    mbm.exe -d
    FORK_PROCESS    sccp_nt.exe -t
    FORK_PROCESS    tcap_nt.exe -t
    FORK_PROCESS    map_nt.exe -t
    FORK_PROCESS    s7_mgt.exe -d
    FORK_PROCESS    s7_log.exe -fss7.log

    MTU Config.txt

    CNSYS:IPADDR=192.168.1.101,PER=0;
    SNSLI:SNLINK=1,IPADDR=192.168.1.16,SNEND=C,SNTYPE=M2PA,M2PA=1,PPORT=3565;
    MTP_CONFIG  0  0  0x00000000
    MTP_LINKSET  0  2  1  0x0000 1 0x08
    MTP_LINK  0  0  0  0  0  1  0  0  0x80000006
    MTP_ROUTE  2  0  0x0008
    SCCP_CONFIG 1 0x8 0x0102
    SCCP_TRACE 0x3 0x7 0x3
    SCCP_SSR 1 RSP 2 0 0x0000
    SCCP_SSR 2 LSS 0x08 0x2d 0 MAP
    SCCP_SSR 3 RSS 2 0x08 0
    TCAP_CONFIG 0x0 8192 0x8000 8192 0x0000 0 0
    TCAP_TRACE 0x7 0xf 0x0
    MAP_CONFIG 0x0
    MAP_TRACE 0xf 0xf 0x15

    MTR System.txt

    LOCAL           0x00            * Timer Task
    LOCAL           0xcf            * s7_mgt - Management/config task
    LOCAL           0xef            * s7_log - Display and logging utility
    LOCAL           0xc2            * mbm - Management task
    LOCAL           0xd0            * SCTPD module
    LOCAL           0xd1            * SCTP module
    LOCAL           0xc1            * M2PA module
    LOCAL           0x22            * MTP3 module
    LOCAL           0x33            * SCCP module
    LOCAL           0x14            * TCAP module
    LOCAL           0x15            * MAP module
    LOCAL           0x2d            * MTR or MTU module
    *
    * Now start-up all local tasks:
    *
    FORK_PROCESS    tim_nt.exe
    FORK_PROCESS    tick_nt.exe
    FORK_PROCESS    sctpd.exe
    FORK_PROCESS    sctp.exe
    FORK_PROCESS    m2pa_nt.exe -t
    FORK_PROCESS    mtp_nt.exe -t
    FORK_PROCESS    mbm.exe -d
    FORK_PROCESS    sccp_nt.exe -t
    FORK_PROCESS    tcap_nt.exe -t
    FORK_PROCESS    map_nt.exe -t
    FORK_PROCESS    s7_mgt.exe -d
    FORK_PROCESS    s7_log.exe -fss7.log

    MTR config.txt

    CNSYS:IPADDR=192.168.1.16,PER=0;
    SNSLI:SNLINK=1,IPADDR=192.168.1.101,SNEND=S,SNTYPE=M2PA,M2PA=1,PPORT=3565;
    MTP_CONFIG  0  0  0x00000000
    MTP_LINKSET  0  1  1  0x0000 2 0x08
    MTP_LINK  0  0  0  0  0  1  0  0  0x80000006
    MTP_ROUTE  1  0  0x0008
    SCCP_CONFIG 2 0x8 0x0102
    SCCP_TRACE 0x3 0x7 0x3
    SCCP_SSR 1 RSP 1 0 0x0000
    SCCP_SSR 2 LSS 0x08 0x2d 0 MAP
    SCCP_SSR 3 RSS 1 0x08 0
    TCAP_CONFIG 0x0 8192 0x8000 8192 0x0000 0 0
    TCAP_TRACE 0x7 0xf 0x0
    MAP_CONFIG 0x0
    MAP_TRACE 0xf 0xf 0x15

    (We have configured MTR and MTU in seperate system which in lan)

    We using below command line argument

    1. gctload  -csystem.txt 

    OUTPUT = S7_MGT BOOT Complete   (in both system)

    2. mtpsl act 0 0

    OUTPUT = Destination available

    IN MTU Configured System we are providing

     

    3. mtu -d0 -g43010008 -a43020008 -i987654321 -s"Hello World"

    OUTPUT: MTU MAP Test Utility  Copyright (C) Dialogic Corporation 1997-2006. All Rights R
    eserved.
    ===============================================================

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

    MTU Tx: sending Open Request
    MTU Tx: I0000 M tc7e2 i0000 f2d d15 s00 p010b09060704000001001501010443020008030
    44301000800
    MTU Tx: sending Forward Short Message Request
    MTU Tx: I0000 M tc7e0 i0000 f2d d15 s00 p030e01011707000589674523f118080406a1214
    36587f9191a6f090421436587f904009050522102810009c83468880ebbc9752d023c0000
    MTU Tx: sending Delimiter Request
    MTU Tx: I0000 M tc7e2 i0000 f2d d15 s00 p0500
    MTU Rx: received Open Confirmation
    MTU Rx: I0000 M t87e3 i0000 f15 d2d s00 p8205010000
    MTU Rx: received Forward Short Message Confirmation
    MTU Rx: I0000 M t87e1 i0000 f15 d2d s00 p840e010116010800
    MTU: *** Service primitive cnf received with ***
    MTU: *** provider error = 0008 ***
    MTU Tx: sending U Abort Request
    MTU Tx: I0000 M tc7e2 i0000 f2d d15 s00 p0708010500

    IN MTR Configured System we are providing

    3.mtr

    OUT PUT : C:\Septel>mtr
    MTR MAP Test Responder (C) Dialogic Corporation 1999-2006. All Rights Reserved.
    ===============================================================================

    MTR mod ID - 0x2d; MAP module Id 0x15

    Error occured in MTR Running PC

    S7L:I0000 SCCP Maintenance event : SCPEV_RTF_SS_FAIL

    Thanks in advance

    Chandar Kumar.V

     

  • You need to send local sub system in service to sccp module.

     

    You can do this by adding additional parameter 1 by end of SCCP_CONFIG

  • Thanks now  MTR and MTU Application are working fine.......

    what are the steps i need to follow for coverting MTR & MTU to USSD Application

     

  • Will suggest to look at

    http://www.dialogic.com/products/docs/appnotes/11038_USSD_an.pdf

  • When Mobile User dials USSD Service Number *#123#

     1.When we will receive MAPST_PRO_UNSTR_SS_REQ_REQ?
     2.Whether we need to use MTR (GCT_receive) to receive the above event
     3.Whether the above event is received after MAPDT_OPEN_IND   
     4.Whether the above event is under after MAP_MSG_SRV_IND
     5.Whether we need combine the MTR Code(Receive Part) / MTU Code (Message Sending Part)
     6.How to detect the digits responed by the mobile user?
     7.Whether the dialogue ID is provided by the MAP for USSD Services?
     8.Dialogue ID Is same for whole session between mobile user and USSD application
     9.Invoke ID is same for whole session between mobile user and USSD application
     10.How to manage multiple mobile user simantanously?
     11.Whetther each will have seperate dialogue ID?

      Thanks in advance

    Chandar Kumar V

  • When Mobile User dials USSD Service Number *#123#

     1.When we will receive MAPST_PRO_UNSTR_SS_REQ_REQ?
     2.Whether we need to use MTR (GCT_receive) to receive the above event
     3.Whether the above event is received after MAPDT_OPEN_IND   
     4.Whether the above event is under after MAP_MSG_SRV_IND
     5.Whether we need combine the MTR Code(Receive Part) / MTU Code (Message Sending Part)
     6.How to detect the digits responed by the mobile user?
     7.Whether the dialogue ID is provided by the MAP for USSD Services?
     8.Dialogue ID Is same for whole session between mobile user and USSD application
     9.Invoke ID is same for whole session between mobile user and USSD application
     10.How to manage multiple mobile user simantanously?
     11.Whetther each will have seperate dialogue ID?

      
     Thanks in advance

    Chandar Kumar V

  • A lot of the detail is already in the white paper that Bertrand suggested.  You could also look at ETSI TS 100 549 for detail about USSD procedures.

    I can tackle some of your questions.

    1. When the MAP dialogue comes from the MSC/VLR to HLR.  See ETSI documents.

    2. Yes that's how all messages arrive with our API

    3/4. Yes you need a dialogue.

    5. MTU/MTR are only samples that illustrate how to use MAP.  You decide how to build your application.

    6. They arrive in USSD messages. See whitepaper.

    7/8 Yes

    9 Invoke ties together each request/response within a dialogue

    10/11 Different dialogue ids

  • Kindly go through it. Tell me the message flow is correct.

    USSD Application Message Flow

    Message Type                           Mnemonic

    Mobile User  à MAPà USSD  Application                  

     MAP_MSG_DLG_IND                 MAPDT_OPEN_IND

     

    Mobile User ß MAP  ß USSD  Application                   

    MAP_MSG_DLG_REQ                 MAPDT_OPEN_RSP 

     

    Mobile User  à MAP  à USSD  Application

    MAP_MSG_SRV_IND                  MAPST_PRO_UNSTR_SS_REQ_IND

     

    Mobile User ß MAP  ß USSD  Application

    MAP_MSG_SRV_REQ                 MAPST_PRO_UNSTR_SS_REQ_RSP

     

    Mobile User  ß MAP  ß USSD  Application

    MAP_MSG_SRV_REQ                 MAPST_UNSTR_SS_REQ_REQ

     

    USSD Message

    Welcome to XYZ Telecom

    Press:

    (1) Balance Notification

              (2) Top Up service

     

    Mobile User  à MAP  à USSD  Application

    MAP_MSG_SRV_IND                  MAPST_UNSTR_SS_REQ_CNF

     

    Mobile User à MAP  à USSD  Application

    MAP_MSG_SRV_IND                 MAPST_UNSTR_SS_REQ_IND

    Mobile User replyied by dialing 1

     

    Mobile User  ß MAP  ß USSD  Application

    MAP_MSG_SRV_REQ                 MAPST_UNSTR_SS_REQ_RSP

     

    Mobile User  ß MAP  ß USSD  Application

    MAP_MSG_SRV_REQ                 MAPST_UNSTR_SS_REQ_REQ

     

    USSD Message

    Your current balance is: 5.50

    Press:

    (1) to Top Up

    (2) to end

    Mobile User à MAP  à USSD  Application

    MAP_MSG_SRV_REQ                MAPST_UNSTR_SS_REQ_RSP

     

    .

    .

    .

    .

    .

    .

    Mobile User ßMAPßUSSD Application

    MAP_MSG_DLG_REQ                      MAPDT_DELIMITER_REQ

     

    Mobile User à MAP  à USSD  Application

    MAP_MSG_DLG_IND                       MAPDT_CLOSE_IND

     

     

    END OF DIALOG

     

    MAPDT_CLOSE_IND

    MAPDT_U_ABORT_IND

    MAPDT_P_ABORT_IND

    Thanking You

    Chandar Kumar V

  • Hi Chandar,

      I had configured the system.txt and config.txt as mentioned by you. After that started the gctload and could see the output S7_MGT BOOT Complete in both the systems. Then executed second command i.e.,mtpsl . The command executed properly but nothing is seen as output. Can you please help here why I could not see output as 'Destination available' and directly command prompt came.

    Thanks in advance

    Regards,

    Nagaraju