Version 3
    This article is outdated, the new documentation is available at User Guide to Restcomm jSS7 8.0.0-SNAPSHOT

     

     

    This wiki talks about how to test the Mobicents USSD Demo SLEE Application with Dialogic's MAP Test Utility (MTU) tool.

     

    It is assumed that you have two Servers (each fitted with Dialogic card) connected to each other via cross cable. To understand how to set-up the environment for Dialogic card please download respective Programmers Manual. Since this test was carried out on Dialogc SPCI2S cards the programmers manual can be downloaded from http://www.dialogic.com/manuals/ss7/cd/ProductSpecific/SPCI-CPM8/ProgrammersManual/SPCI-PM.pdf

     

    It is recommened to understand Dialogic's MTU/MTR before proceeding further. Please download the MTU/MTR guide from http://www.dialogic.com/manuals/ss7/cd/GenericInfo/GeneralDocumentation/U30SSS03-MTU-MTR-UG.pdf

     

    The SS7 layers involved and the two applications are shown below

    Dialogic-Mobi.jpg

     

    MTU Setup

    Please download the modified MTU code for USSD from http://www.dialogic.com/support/helpweb/helpweb.aspx/1580/ussd_map_sample_code/Signaling_SS7

     

    You have to build the modified MTU code to create the executable.

     

    Attached here with ussd_mtu_config.txt and ussd_mtu_system.txt is sample configuration and system file used for MTU. Rename these to config.txt and system.txt respectively and place it to corect folder (/opt/dpklnx/ for linux) before loading the driver and activating links. Its is assumed that MTP2/MTP3 is loaded onboard and Dialogic SCCP, TCAP, MAP and MTU is loaded on host system.

     

    Command to load drivers

    root@abhayani:/opt/dpklnx# ./gctload -d

     

    Command to activate link

    root@abhayani:/opt/dpklnx# ./mtpsl act 0 0

     

    Once the link is activated, don't forget to execute the mtucfg.ms7 script. This script registers the MTU with Dialogic SCCP stack.

    root@abhayani:/opt/dpklnx# ./s7_play -f/home/abhayani/workarea/mobicents/dialogic/upd_tar_FILES/RUN/MTU/SCRIPTS/mtucfg.ms7

     

     

     

    Mobicents USSD Application Setup

    Download the latest release of Mobicents SS7 from http://www.mobicents.org/ss7/downloads.html

    Download the latest Mobicents SLEE release from http://www.mobicents.org/ss7/downloads.html

     

    Attached here with mobicents_config.txt and mobicents_system.txt is sample configuration and system file used for Mobicents. Rename these files to config.txt and system.txt respectively and place it to corect folder (/opt/dpklnx/ for linux) before loading the driver and activating links. Use same commands as shown above to load drivers and activate link. It is assumed here that MTP2/MTP3 is loaded onboard. The Mobicents Dialogic native driver (libmobicents-dialogic-linux.so) communicates with MTP3 onboard.

     

    Once link is active start the Mobicents JAIN SLEE (JBoss Application) Server. Remember before starting application server, place the native file in correct folder (for example incase of 32bit linux mobicents-jainslee-2.4.0.CR1-jboss-5.1.0.GA/jboss-5.1.0.GA/bin/META-INF/lib/linux2/x86/libmobicents-dialogic-linux.so) or the java.library.path should be set to point the directory containing native component.

     

    Deploy the Mobicents SS7 Service as explained in Mobicents SS7 Docs.

    Deploy the Mobicents MAP RA as explained in Mobicents JSLEE Docs. Use attached map-default-ra.properties for this setting.

    Deploy map-demo

     

    One last step before the application can be tested is configuring the Linkset and SCCP rule. Fire the CLI and connect to Mobicents SS7 Service as explained in Mobicents SS7 Doc. Following configuration is to be done only once and it survives system restarts.

     

    Execute bellow command to register routing rule based on DPC + SSN

    mobicents(127.0.0.1:3435)>sccprule create Rule4 dpc 1 ssn 8 mtpinfo name name1 opc 2 apc 1 sls 16

     

    Execute bellow command to register dialogic linkset

    mobicents(127.0.0.1:3435)>linkset create dialogic opc 2 apc 1 ni 3 srcmod 61 destmod 34 linkset1

     

    Execute bellow command to activate linkset

    mobicents(10.65.208.215)>linkset activate linkset1

     

    Test

     

    Execute the following MTU command from MTU machine

    ussdtest -d6 -g43010008 -a43020008 -i987654321 -s"1" -U*88#

     

    You should see the [INFO] messages in the Mobicents JAIN SLEE Server console about received USSD short codes and response sent.

     

    The /opt/dpklnx in both machines will have mtp.pcap and mtp.txt showing the USSD messages exchanged.