History: Miscellaneous ToolsSource of version: 13 (current)!Overview
__Contents__{maketoc} !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: ~pp~ 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..... ------------------------------------------------------------------------- ~/pp~ to this: ~pp~ 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 ~/pp~ 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 #Setup a bitstream wanpipe configuration (no HDLC) #Start the wanpipe1 and ensure that it is connected (ref. /var/log/messages) #cd /usr/src/Sangoma/wanpipe/api/bitstrm/ #./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 [http://www.voip-info.org/tiki-index.php?page=logrotate|Asterisk Logfile Rotate] !MSU Workbench ((MSU Workbench)) is a lab tool for invoking the ISUP codecs and unit testing ss7boost. !S-Series Sangoma Cards *((ss7box Installation for S5142)) |
Login |