Asterisk

asterisk console

asterisk -r

set output to verbose

core set verbose 10

CLI commands

core show channels
capi show channels
capi info
reload
sip show peers
 
asterisk -rx "sip show registry"
asterisk -rx "console dial extension@context"

end / destroy channel

core show channels
soft hangup SIP/XXXXXX

MOH

wget http://downloads.digium.com/pub/telephony/sounds/asterisk-moh-freeplay-wav.tar.gz -P /tmp
tar xzf /tmp/asterisk-moh-freeplay-wav.tar.gz -C /tmp
cp /tmp/fpm-sunshine.wav /var/lib/asterisk/moh/
# extensions.conf
exten => 6000,1,Answer
exten => 6000,2,MusicOnHold() 
# reload asterisk

LED
http://das-asterisk-buch.de/1.6/blf-device-state.html

Mailbox
/var/spool/asterisk/voicemail/default

SoftPhones
http://www.zoiper.com/

Podcast
http://www.youtube.com/watch?v=3sFah89kT18&NR=1 - Systems 2008: VoIP Telefonanlagen für Deutschland

Search in Logfile
grep 2015-03-28 /var/log/asterisk/cdr-csv/Master.csv

Links
http://wiki.e1550.mobi/doku.php - Huawei 3G USB modem and Asterisk
http://www.das-asterisk-buch.de/
http://downloads.digium.com/pub/telephony/sounds/ - free music for asterisk
http://www.voip-info.org/wiki/view/Asterisk+config+features.conf
http://doku.corvent.ch/doku.php/asterisk/allgemein
http://www.voip-info.org/wiki/view/Asterisk+func+sippeer - Get SIP peer information
http://www.amooma.de/gemeinschaft/
http://www.linux-magazin.de/Heft-Abo/Ausgaben/2008/04/Gemeinschaft-an-der-Strippe
http://www.voip-info.org/wiki/view/CLASS - Asterisk codes