Asterisk: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 50: | Zeile 50: | ||
===core set to debug level 7=== | ===core set to debug level 7=== | ||
− | *CLI> core set | + | *CLI> core set debug 7 |
+ | |||
=== sip debug on=== | === sip debug on=== | ||
*CLI>sip set debug on | *CLI>sip set debug on |
Version vom 14. März 2014, 21:55 Uhr
Installation
upgrade
apt-get update && apt-get upgrade -y && reboot
installation of the packets
apt-get install build-essential wget libssl-dev libncurses5-dev libnewt-dev libxml2-dev linux-headers-$(uname -r) libsqlite3-dev uuid-dev
runter laden der tar archive DAHDI, libpri and Asterisk
cd /usr/src/ wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-11-current.tar.gz
unpack
tar zxvf dahdi-linux-complete* tar zxvf libpri* tar zxvf asterisk*
Install DAHDI
cd /usr/src/dahdi-linux-complete* make && make install && make config
Install libpri
cd /usr/src/libpri* make && make install
Install Asterisk.
cd /usr/src/asterisk* ./configure && make menuselect && make && make install && make config && make samples
Console
Start
asterisk -cvvvvvv
Reconnect
asterisk -rvvvvvv
In the Console
Reload
*CLI> reload
Stop
*CLI> core stop now
Registry check
*CLI> sip show registry
Peer check
sip show peers
User check
sip show users
Show dialplan
*CLI> dialplan show
core set to verbose level 3
*CLI> core set verbose 3
core set to debug level 7
*CLI> core set debug 7
sip debug on
*CLI>sip set debug on
- http://wiki.pascom.net/doku.php?id=cmd060000:rufnummernmuster
- http://wiki.line5.eu/Asterisk-Telefonanlage