History: Find the SS7 Links E1 ProcedureSource of version: 5 (current)This example is for wanpipe2. For other wanpipes, substitute '2' in the procedure and examples with a different wanpipe number (except where noted).
#Turn off all wanpipes. Verify using the "wanrouter status" command. #cd /etc/wanpipe #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. ## cp wanpipeX.conf.e1bs wanpipe2.conf ## edit wanpipe2.conf ### change all "pipe1" to "pipe2" ### change all "w1g" to 'w2g" ### 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 ###set FE_FRAME to either CRC4 or NCRC4 ## save changes # /ss7box/Tail # wanrouter start wanpipe2 # cd /usr/src/Sangoma/wanpipe/api/bitstrm # put the following string into a file called hd31.conf ~pp~"%04.4_ax " 31/1 "%02x " "\n"~/pp~ # run the bitstrm_api program:~pp~[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 ~/pp~ # verify bistream capture was successful ~pp~-rw-r--r-- 1 root root 62000 Oct 26 14:08 wp2bs ~/pp~ #print the bitstream capture file using hexdump~pp~[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~/pp~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. #stop all wanrouters: wanrouter stop wanpipeX |
Login |