📄 install
字号:
Build-----If asterisk is installed at the default location, just do makeIt is possible to set the environment variable INCLUDE to specifylocations for Asterisk and Zaptel header files, and to setINSTALL_PREFIX to specify a non-standard Asterisk installation root. Forexample: INCLUDE="-I../zaptel -I../asterisk/include" make chan_ss7.soThe code is designed for Asterisk 1.2.x and 1.4.x.Install-------Use INSTALL_PREFIX=/usr/local/asterisk make installor just make installif your asterisk is installed at the default location.Alternatively, you can copy chan_ss7.so to the asterisk runtime module directory.Create an ss7.conf (copy/paste/edit one of the ss7.conf.template.*that best fits your needs). See additional information at http://www.voip-info.org/wiki/index.php?page=Asterisk+ss7+channelsCopy the ss7.conf to the asterisk runtime configuration directory,this is by default located in /etc/asterisk, orINSTALL_PREFIX/etc/asterisk.Run---Issue load chan_ss7.soin the Asterisk console. Read the file "ASTERISK_VARIABLES" to find out whichvariables are read/set by chan_ss7.Debugging---------chan_ss7 allows dumping of MTP2 packets into a capture file in pcap format (wireshark) using the ss7 dump start /path/to/filenamecommand.If you want "live" decoding you could dump into a FIFO file and use tshark to capture from the FIFO, e.g.: # mkfifo /tmp/mtp2fifo.pcap # asterisk -r > ss7 dump start /tmp/mtp2fifo.pcap > quit # tshark -V -i /tmp/mtp2fifo.pcap
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -