Quantcast
Channel: Developer Group
Viewing all articles
Browse latest Browse all 1888

Forum Post: Setting up connectivity and testing it ?

$
0
0
This is a repeated question and i would like to document as i learn things here ( i am a newbie and would like  experts to help me out if i am doing something wrong), Reaching below config has already taken me 4 weeks, Too many bit flags confuse newbies. The basic objective is to get the stack,connectivity up and test it using HLR lookup (SRISM etc) Configuration settings that you must have in hand your IP: 10.0.0.99  PORT( also called HPORT) =2500  STP IP : 10.0.0.2  PORT (also called PPORT):2501 DPC=9999 OPC=6666 , telecom provider HLR GT=923231231234    , your GT =923231231299 � NOTE: we are setting this on ubuntu 16.04 32 bit version, note that all config files are in italics setup ip address and check that ping works  , ping 10.0.0.2 works 1) First step :  setup system.txt   download and extract  https://www.dialogic.com/files/DSI/developmentpackages/linux/dpklnx.Z write the following into system.txt ******************************************************************************** * system.txt. ********************************************************************************* * * Essential modules running on the host: * LOCAL           0x00            * Timer Task * * Optional modules running on the host: * LOCAL           0xcf            * s7_mgt - Management/config task LOCAL           0xef            * s7_log - Display and logging utility LOCAL           0xd1            * SCTP or SCTPn module * * Include LOCAL definition for non-native SCTP use or REDIRECT for native SCTP * LOCAL           0xd0            * SCTPD module for non-native SCTP (Win,Linux,Sol8/9) *REDIRECT        0xd0    0xd1    * SCTPn redirect for native SCTP (Solaris 10) * LOCAL           0xd2            * M3UA module REDIRECT        0x22    0xd2    * MTP3 to M3UA REDIRECT        0xc2    0xd2    * MBM to M3UA LOCAL           0x33            * SCCP module LOCAL           0x14            * TCAP module LOCAL           0x15            * MAP module LOCAL           0x2d            * mtr LOCAL           0x0d            * ssm - optional NUM_MSGS 5000                   * Number of standard size messages VERIFY * * Now start-up all local tasks: * FORK_PROCESS  ./tim FORK_PROCESS  ./tick FORK_PROCESS  ./s7_mgt -d FORK_PROCESS  ./s7_log -fss7.log -tt * * SCTP and SCTPD for non-native SCTP FORK_PROCESS  ./sctp FORK_PROCESS  ./sctpd * * SCTPn for native SCTP *FORK_PROCESS  ../../../../sctpn * FORK_PROCESS  ./HSTBIN/m3ua -t FORK_PROCESS  ./HSTBIN/sccp -t FORK_PROCESS  ./HSTBIN/tcap -t FORK_PROCESS  ./HSTBIN/map -t 2) Setup config.txt ******************************************************************************** * config.txt. * Edit this file to reflect your configuration. ******************************************************************************** * Local IP Address Configuration CNSYS:IPADDR=10.0.0.99; * SCTP Association configuration to Remote IPSP SNSLI:SNLINK=1,IPADDR=10.0.0.2,SNTYPE=M3UA,SNEND=C,HPORT=2500,PPORT=2501; * Remote Application Server Configuration SNRAI:RAS=1,DPC=9999; * Add Remote AS to Association SNALI:SNAL=1,RAS=1,SNLINK=1; ***************************************************************** * * * SCCP Parameters: * SCCP_CONFIG local_spc ssf options send_uis *SCCP_CONFIG 6666 0x8 0x0102 0x01 SCCP_CONFIG 6666 0x8 0x0001010D 0x01 *SCCP_CONFIG 6666 0x8 0x014102 0x01 * * Define Remote Signaling Points: * SCCP_SSR ssr_id RSP remote_spc flags pc_mask SCCP_SSR 1 RSP 9999 0 0x0000 * * Define Local Sub-Systems: * SCCP_SSR ssr_id LSS local_ssn module_id flags protocol SCCP_SSR 2 LSS 0x08 0x2d 0 MAP * * Define Remote Sub-Systems: * SCCP_SSR ssr_id RSS remote_spc remote_ssn flags SCCP_SSR 3 RSS 9999 0x06 0 SCCP_SSR 4 RSS 9999 0x08 0 * Define Global Translations: * SCCP_GTT_PATTERN pattern_id addr_indicator pc ssn global_title [ gtai_pattern ] * SCCP_GTT_ADDRESS address_id addr_indicator pc ssn global_title [ gtai_replacement ] * SCCP_GTT pattern_id mask primary_address_id [ backup_address_id ] * translate your GT to OPC * in encode form your gt becomes 1208001204292313322199 SCCP_GTT_PATTERN 11 0x12 0x0000 8 0x001204 923231231299 SCCP_GTT_ADDRESS 11 0x13 6666    8 0x001104 0 SCCP_GTT 11 K 11 * * Enable SCCP traces: * SCCP_TRACE op_evt_mask ip_evt_mask non_prim_mask *SCCP_TRACE 0x3 0x7 0x3 * * * TCAP Parameters: * TCAP_CONFIG base_ogdlg_id nog_dialogues base_icdlg_id nic_dialogues options dlg_hunt [ addr_format ] TCAP_CONFIG 0x0 0x400 0x8000 0x400 0x0000 0 0 * * Enable TCAP traces: * TCAP_TRACE op_evt_mask ip_evt_mask non_prim_mask * TCAP_TRACE 0x7 0xf 0x0 * * * MAP Parameters: MAP_CONFIG 0 * * Enable MAP traces: * MAP_TRACE op_evt_mask ip_evt_mask non_prim_mask *MAP_TRACE 0xf 0xf 0x15 * * End of file 3) Testing association   execute command to start up the stack   ./gctload -d   and you should not be seeing any errors  now you can start wireshark, type sctp in filter bar and you will see sctp handshakes and acknowledgements at this point, your association is up and running HELP : Now i would like to request the experts to provide some help in how to send basic map messages say srism or anything simpler, say using mtu or s7_play. Note that i have gone through mtu/mtr examples and AFAIK, mtr doesn't work with gts below commands doesn't work, i am still having trouble understanding routing ./mtu -d5 -a43020008 -g 1208001204292313322199 -e92291112233 -c92290000002 below command will probably route on GT ( for both called party and calling party ) ./mtu -d5 -a 1208001204292313322143 -g 1208001204292313322199 -e92291112233 -c92290000002 would someone like to help me complete the above tutorial ?

Viewing all articles
Browse latest Browse all 1888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>