This demo shows how to set-up two Linux hosts that each run an SS7 application. The first host runs MTU to send SMS. The second host runs MTR to simulate a Mobile Switching Centre (MSC) and acknowledge SMS.
The MTU application runs on point code 2 with global title +278291600, and the MTR application runs on point code 3 with global title +447892060001.
The SCCP Hub has point code 1.
On host #1 (MTU) and Host #2 (MTR) download the Dialogic SDK
wget https://www.dialogic.com/files/DSI/developmentpackages/linux/dpklnx.Z mkdir dialogic cd dialogic tar -zxvf ../dpklnx.Z
On host #1 (MTU) download MTU configuration into
wget https://melroselabs.com/tools/sccphub/demo_mtu_mtr/mtu_system.txt wget https://melroselabs.com/tools/sccphub/demo_mtu_mtr/mtu_config.txt -O config.txt wget https://melroselabs.com/tools/sccphub/demo_mtu_mtr/mtu_setup.txt -O mtu_setup.ms7
Update IP address on CNSYS:IPADDR line to IP address of host #1.
On host #2 (MTR) download MTR configuration into
wget https://melroselabs.com/tools/sccphub/demo_mtu_mtr/mtr_system.txt wget https://melroselabs.com/tools/sccphub/demo_mtu_mtr/mtr_config.txt -O config.txt wget https://melroselabs.com/tools/sccphub/demo_mtu_mtr/mtr_setup.txt -O mtr_setup.ms7
Update IP address on CNSYS:IPADDR line to IP address of host #2.
Add routing to SCCP Hub for MTU and MTR applications at https://melroselabs.com/tools/sccphub/
|SCCP address||Point code||IP address|
|12080011047228190600||2||IP address of host #1|
|1208001204448729600010||3||IP address of host #2|
Start Dialogic environment on host #1
tmux new-session -d 'sudo ./gctload -cmtu_system.txt'
Start Dialogic environment and MTR application on host #2
sudo ./gctload -cmtr_system.txt
Send SMS using MTU (SMSC GT +278291600 to MSC GT +447892060001 for IMSI 987654321)
./mtu -d0 -m0x2d -u0x15 -p1 -g12080011047228190600 -a13010008001204448729600010 -i987654321 -s"@@@@@"
-g parameter is the SCCP address of the MTU application. It contains the subsystem number (SSN) for the SMSC (i.e. 8 : MSC) and the SMSC GT in BCD format (7228190600 = 278291600).
-a parameter is the SCCP address of the MTR application that is acting as an MSC serving the destination mobile number with IMSI 987654321. It contains the subsystem number for the MSC and its GT in BCD format (448729600010 = 447892060001).
MTU MAP Test Utility Copyright (C) Dialogic Corporation 1997-2015. All Rights Reserved. =============================================================== MTU mod ID 0x2d; MAP module Id 0x15; Network Context 0x0 mode 0 - Forward Short Message Dest: 13010008001204448729600010 MTU Tx: sending Open Request MTU Tx: I0000 M tc7e2 i0000 f2d d15 s00 p010b09060704000001001501010d13010008001204448729600010030a1208001104722819060000 MTU Tx: sending Forward Short Message Request MTU Tx: I0000 M tc7e0 i0000 f2d d15 s00 p030e01011707000589674523f118080406a121436587f919172409c121436587f90400327061021264000500000000002d023c0000 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 p820501000b09060704000001001501010c130200080011047228190600030d1301000800120444872960001000 MTU Rx: received Forward Short Message Confirmation MTU Rx: I0000 M t87e1 i0000 f15 d2d s00 p840e010100 MTU Rx: received Close Indication MTU Rx: I0000 M t87e3 i0000 f15 d2d s00 p0400
Updated 4 months ago