LOCAL 0x00 * Timer TaskLOCAL 0xcf * s7_mgt - Management/config taskLOCAL 0xef * s7_log - Display and logging utilityLOCAL 0xc2 * mbm - Management taskLOCAL 0xd0 * SCTPD moduleLOCAL 0xd1 * SCTP moduleLOCAL 0xc1 * M2PA moduleLOCAL 0x22 * MTP3 moduleLOCAL 0x33 * SCCP moduleLOCAL 0x14 * TCAP moduleLOCAL 0x15 * MAP moduleLOCAL 0x2d * MTR or MTU module** Now start-up all local tasks:*FORK_PROCESS tim_nt.exeFORK_PROCESS tick_nt.exeFORK_PROCESS sctpd.exeFORK_PROCESS sctp.exeFORK_PROCESS m2pa_nt.exe -tFORK_PROCESS mtp_nt.exe -tFORK_PROCESS mbm.exe -dFORK_PROCESS sccp_nt.exe -tFORK_PROCESS tcap_nt.exe -tFORK_PROCESS map_nt.exe -tFORK_PROCESS s7_mgt.exe -dFORK_PROCESS s7_log.exe -fss7.log
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 0x00000000MTP_LINKSET 0 2 1 0x0000 1 0x08MTP_LINK 0 0 0 0 0 1 0 0 0x80000006MTP_ROUTE 2 0 0x0008SCCP_CONFIG 1 0x8 0x0102SCCP_TRACE 0x3 0x7 0x3SCCP_SSR 1 RSP 2 0 0x0000SCCP_SSR 2 LSS 0x08 0x2d 0 MAPSCCP_SSR 3 RSS 2 0x08 0TCAP_CONFIG 0x0 8192 0x8000 8192 0x0000 0 0TCAP_TRACE 0x7 0xf 0x0MAP_CONFIG 0x0MAP_TRACE 0xf 0xf 0x15
MTR System.txt
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 0x00000000MTP_LINKSET 0 1 1 0x0000 2 0x08MTP_LINK 0 0 0 0 0 1 0 0 0x80000006MTP_ROUTE 1 0 0x0008SCCP_CONFIG 2 0x8 0x0102SCCP_TRACE 0x3 0x7 0x3SCCP_SSR 1 RSP 1 0 0x0000SCCP_SSR 2 LSS 0x08 0x2d 0 MAPSCCP_SSR 3 RSS 1 0x08 0TCAP_CONFIG 0x0 8192 0x8000 8192 0x0000 0 0TCAP_TRACE 0x7 0xf 0x0MAP_CONFIG 0x0MAP_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 Reserved.===============================================================
MTU mod ID 0x2d; MAP module Id 0x15mode 0 - Forward Short Message
MTU Tx: sending Open RequestMTU Tx: I0000 M tc7e2 i0000 f2d d15 s00 p010b0906070400000100150101044302000803044301000800MTU Tx: sending Forward Short Message RequestMTU Tx: I0000 M tc7e0 i0000 f2d d15 s00 p030e01011707000589674523f118080406a121436587f9191a6f090421436587f904009050522102810009c83468880ebbc9752d023c0000MTU Tx: sending Delimiter RequestMTU Tx: I0000 M tc7e2 i0000 f2d d15 s00 p0500MTU Rx: received Open ConfirmationMTU Rx: I0000 M t87e3 i0000 f15 d2d s00 p8205010000MTU Rx: received Forward Short Message ConfirmationMTU Rx: I0000 M t87e1 i0000 f15 d2d s00 p840e010116010800MTU: *** Service primitive cnf received with ***MTU: *** provider error = 0008 ***MTU Tx: sending U Abort RequestMTU Tx: I0000 M tc7e2 i0000 f2d d15 s00 p0708010500
IN MTR Configured System we are providing
3.mtr
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?
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
MAP_MSG_SRV_REQ MAPST_PRO_UNSTR_SS_REQ_RSP
MAP_MSG_SRV_REQ MAPST_UNSTR_SS_REQ_REQ
USSD Message
Welcome to XYZ Telecom
Press:
(1) Balance Notification
(2) Top Up service
MAP_MSG_SRV_IND MAPST_UNSTR_SS_REQ_CNF
MAP_MSG_SRV_IND MAPST_UNSTR_SS_REQ_IND
Mobile User replyied by dialing 1
MAP_MSG_SRV_REQ MAPST_UNSTR_SS_REQ_RSP
Your current balance is: 5.50
(1) to Top Up
(2) to end
.
Mobile User ßMAPßUSSD Application
MAP_MSG_DLG_REQ MAPDT_DELIMITER_REQ
MAP_MSG_DLG_IND MAPDT_CLOSE_IND
END OF DIALOG
MAPDT_CLOSE_IND
MAPDT_U_ABORT_IND
MAPDT_P_ABORT_IND
Thanking You
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.
Regards,
Nagaraju