Asterisk Debug

From open-voip.org

Jump to: navigation, search

Debug asterisk

asterisk -r:
  core set verbose 32
  core set debug 32
  sip set debug on
  agi set debug on
tail -f /var/log/asterisk/messages


sniff the network with tethereal:

tethereal udp port 5060.
use tethereal -w /opt/temp/debug.cap    to wirte to a file
use wireshark      for online capturing
install tethereal by   yum install wireshark

in the extensions.conf add noop:

exten => _X.,1,noop(debug : ${EXTEN})
Personal tools