README.md |
Docs
asterisk
https://linuxize.com/post/how-to-install-asterisk-on-ubuntu-20-04/
sudo apt install wget build-essential git autoconf subversion pkg-config libtool
git clone -b next git://git.asterisk.org/dahdi/linux dahdi-linux
cd dahdi-linux
sudo make
sudo make install
git clone -b next git://git.asterisk.org/dahdi/tools dahdi-tools
cd dahdi-tools
sudo autoreconf -i
sudo ./configure
sudo make install
sudo make install-config
sudo dahdi_genconf modules
git clone https://gerrit.asterisk.org/libpri libpri
cd libpri
sudo make
sudo make install
proxychains4 git clone -b 1.6.2.24 https://gerrit.asterisk.org/asterisk asterisk-1.6
cd asterisk-1.6
make clean
./configure
make
make install
make samples
make config
1.6.2.24
proxychains4 git clone -b 1.6.2.24 https://gerrit.asterisk.org/asterisk asterisk-1.6
fgcom 终端用户维护
服务器: fgcom.jingweiht.com
sudo apt-get pwgen
pwgen 32
nano /etc/asterisk/pjsip.conf
[7000](endpoint-internal-d70)
auth = 7000
aors = 7000
callerid = T0 <7000>
[7000](auth-userpass)
password = 7000
username = 7000
[7000](aor-single-reg)
mailboxes = 7000@example
DialPlan 拨号规则
nano /etc/asterisk/fgcom.conf
;telphone
exten => 7000,1,Dial(PJSIP/7000)
exten => 7777,1,Dial(PJSIP/7777)
重现加载及监视
sudo su
asterisk -vvvvvr
core reload
# pjsip reload qualify endpoint