Find the SS7 Links E1 Procedure

This example is for wanpipe2. For other wanpipes, substitute '2' in the procedure and examples with a different wanpipe number (except where noted).

  1. Turn off all wanpipes. Verify using the "wanrouter status" command.
  2. cd /etc/wanpipe
  3. Create a wanpipe2.conf file for raw bitstream. The easiest way is to copy wanpipeX.conf.e1bs to wanpipe2.conf. The wancfg configuration tool can also be used, but no instruction for it use is provided in this procedure.
    1. cp wanpipeX.conf.e1bs wanpipe2.conf
    2. edit wanpipe2.conf
      1. change all "pipe1" to "pipe2"
      2. change all "w1g" to 'w2g"
      3. change "FE_LINE = 1" to "FE_LINE = 2". The rule about substituting '2' does not apply here.
The FE_LINE value must be:
        • A101: 1
        • A102: 1..2
        • A104: 1..4
        • A108: 1..8
      1. set FE_FRAME to either CRC4 or NCRC4
    1. save changes
  1. /ss7box/Tail
  2. wanrouter start wanpipe2
  3. cd /usr/src/Sangoma/wanpipe/api/bitstrm
  4. put the following string into a file called hd31.conf
    "%04.4_ax  " 31/1 "%02x " "\n"
  5. run the bitstrm_api program:
    [root@ss7box bitstrm]# ./bitstrm_api -c wanpipe2 -i w2g1 -r -rxcnt 50 -rxfile wp2bs
    
    Connecting to router wanpipe2, interface w2g1 prot 1700
    Socket bound to w2g1
    
    
    
    Socket Handler: Rx=1 Tx=0 TxCnt=1 TxLen=10 TxDelay=0 RxCnt=50
    Opening wp2bs rx file
    Rxcnt 50 == RxCount=50
    
  6. verify bistream capture was successful
    -rw-r--r--  1 root root 62000 Oct 26 14:08 wp2bs
    
  7. print the bitstream capture file using hexdump
    [root@ss7box bitstrm]# hexdump -f hd31.conf wp2bs
    
    *
    e5b7  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff df ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    e5d6  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff f7 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    e5f5  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 0d ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    e614  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    e633  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 38 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    e652  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 31 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    e671  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff f7 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    e690  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff f3 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
    It easy to see that a data channel exists in column 16. It's a good bet that this is an SS7 channel if the data repeats in a pattern over 5-30 octets in the column. Remember that channel 16 is channel 15 in ss7boost.conf and ss7box.conf configuration files.
  8. stop all wanrouters: wanrouter stop wanpipeX

Created by: mike last modification: Thursday 26 of October, 2006 [14:53:22 UTC] by mike

The original document is available at http://www.ss7box.com/tiki-index.php?page=Find%20the%20SS7%20Links%20E1%20Procedure