Miscellaneous Tools

Overview

Contents

Point Code Structure

ANSI/China point codes are 24 bit and ITU point codes are 14 bit. There are varying standards of how point codes are represented in documentation and in system configuration. The page on Point Code Structure sheds light on this topic.

Using Wireshark to Decode Raw MSU from ss7box and ss7mon


1. change hex dump from this:
S:2007-11-26-20-33-44:
        SI 0x03 PRIO 0x0 NI 0x2
        dpc 0 opc 1977 sls 12
        MARK < >
-------------------------------------------------------------------------
0000  81 83 17 83 00 40 ee c1 - 09 00 03 05 07 02 42 fc  .....@........B.
0010  02 42 fa 06 00 04 30 04 - 01 07 c2 9a              .B....0.....
-------------------------------------------------------------------------

to this:
0000  81 83 17 83 00 40 ee c1 09 00 03 05 07 02 42 fc 
0010  02 42 fa 06 00 04 30 04 01 07 c2 9a 

and place in a file (for example msg3.txt).
2. convert text file to pcap
text2pcap -l 140 msg3.txt msg3.pcap
3. start wirkshark
4. Use File->Open to open the msg3.pcap file. You should see the message decoded in the Wireshark windows.


Sangoma Special Commands

Digital Loopback in Sangoma Card (main CPU side of T1/E1/chip))

To activate: wanpipemon -i <interface name> -c Tadlb
To deactivate: wanpipemon -i <interface name> -c Tddlb

Line Loopback in Sangoma Card (line side of T1/E1 chip)

To activate: wanpipemon -i <interface name> -c Tallb
To deactivate: wanpipemon -i <interface name> -c Tdllb

Payload Loopback in Sangoma Card (remote end of T1/E1 link)

To activate: wanpipemon -i <interface name> -c Taplb
To deactivate: wanpipemon -i <interface name> -c Tdplb

View alarms and counts

  • wanpipemon -i <ifname> -c Ta
  • ifconfig <ifname>

Sangoma Bitstream Testing

  1. Setup a bitstream wanpipe configuration (no HDLC)
  2. Start the wanpipe1 and ensure that it is connected (ref. /var/log/messages)
  3. cd /usr/src/Sangoma/wanpipe/api/bitstrm/
  4. ./bitstrm_api -c wanpipe1 -i wp1bstrm1 -r -w -rxfile rx.bin -txcnt 100

Asterisk Tools

Originate a Call from the Asterisk CLI

originate woomera/g1/111 222@sangoma

Rotate Asterisk Logfiles

Asterisk Logfile Rotate

MSU Workbench

MSU Workbench is a lab tool for invoking the ISUP codecs and unit testing ss7boost.

S-Series Sangoma Cards

Created by: admin last modification: Tuesday 04 of December, 2007 [21:43:12 UTC] by mike

The original document is available at http://www.ss7box.com/tiki-index.php?page=Miscellaneous%20Tools