| LINUX COMMANDS |
| Entering the Asterisk Console |
asterisk -r |
| Checking Current System Load |
top |
| Interrupt Information |
cat /proc/interrupts |
| RAID Array Information |
cat /proc/mdstat |
| Inspecting the trixbox Pro Monitor Log |
tail -n 200 /var/log/astwatch.log | less |
| Checking the Routing table |
netstat -rn OR route |
| Checking CPU Information |
cat /proc/cpuinfo |
| Checking Memory Information |
cat /proc/meminfo |
| Running tcpdump |
tcpdump -A -s 10000 port <port> and host <host> |
| Running PING tests |
ping -i 0.02 -c 500 -s 270 <host> |
| Intensive Performance Information |
vmstat 1 |
| Current Wanpipe Version |
wanrouter version |
| Current system processes |
ps aux |
| Current Networking Information |
ifconfig -a |
| Duplexing Diagnostics |
mii-tool |
| Rsync Usage |
rsync -av -essh /path/to/file <remote_site>:/path/to/file |
| SCP Usage |
scp /path/to/file <remote_host>:/path/to/file |
| Checking Disk Space |
df -h |
| Show Installed Hardware |
lspci |
| TIPS/TRICKS/TROUBLESHOOTING |
| Have Echo? |
Use the Echo Troubleshooter |
| Phones Won't Register? |
Make sure trixbox Pro is the Primary DNS Server |
| Show Current Registration Information |
perl /var/adm/bin/show_registration.pl |
| Start trixbox Pro Monitor |
perl /var/adm/bin/astwatch.pl |
| Zaptel Card Status |
zttool |
| Detailed Card Status |
ztcfg -vvv |
| T1 Error / Status |
wanpipemon -i w1g1 -c Ta |
| Analog Voltage Check |
wanpipemon -i w1g1 -c astats -m <line_number> |
| Start Wanpipe Driver |
wanrouter start |
| Stop Wanpipe Driver |
wanrouter stop |
| Mail not being delivered? |
Set Mail forwarder in the Options->Settings page |
| PHONE SHORTCUTS |
| Dial to Extension's Voicemail |
*86<ext_number> |
| Intercom Extension |
*74<ext_number> |
| Log in Agent |
*1 OR *54 |
| Log out Agent |
*3 OR *56 |
| Log in Agent (respect forwarding) |
*50 |
| Dial Voicemail |
8555 |
| Dial Main Menu |
0 |
| ASTERISK COMMANDS |
| Show Current Peers |
sip/iax2 show peers/peer <MAC> |
| Show Current Registration |
sip/iax2 show registry |
| PRI Status |
pri show span <span_number> |
| Database Dump |
database show |
| Show Channels |
show channels |
| Hangup a Channel |
soft hangup <channel_name> |
| Show Channel Detail |
show channel <channel_name> |
| SIP Debug |
sip debug ip <host> |
| Starting Asterisk |
/etc/init.d/asterisk start |
| Stopping Asterisk |
/etc/init.d/asterisk stop |
| Reloading Asterisk |
reload |
| Restarting Asterisk (without modules) |
restart now |
| Restarting Asterisk (when there are no active calls) |
restart when convenient |
| Enter PRI Debug Mode |
pri debug span <span_number> |
| LOCATION OF TRIXBOX PRO CONFIGURATION FILES |
| Asterisk Configuration Files |
/etc/asterisk/*.conf |
| Asterisk SIP Configuration |
/etc/asterisk/sip.conf |
| Voicemail Configuration Files |
/etc/asterisk/voicemail.conf |
| Asterisk IAX2 Configuration |
/etc/asterisk/iax.conf |
| Fonality Menu's |
/etc/asterisk/fonality/<MENU_NAME>.conf |
| Asterisk Log Configuration |
/etc/asterisk/logger.conf |
| Dial Plan Configuration |
/etc/asterisk/fonality/trunk*.conf |
| Wanpipe Configuration Files |
/etc/wanpipe/* |
| Zaptel Configuration |
/etc/asterisk/zaptel.conf |
| Zapata Configuration Files |
/etc/asterisk/zapata.conf |
| CDR Log Files |
/var/log/asterisk/cdr-csv |
| Queue Log Files |
/var/log/asterisk/queue*.log |
| Asterisk Log File |
/var/log/asterisk/messages |
| Voicemail Messages |
/var/spool/asterisk/voicemail/default |
| Music on Hold |
/var/lib/asterisk/mohmp3/ |
| Voice Prompts |
/var/lib/asterisk/sounds/ |
| Phone Firmware and Config Locations |
/tftpboot/ |
| System Log Files |
/var/log/messages |
All information Copyright Fonality, Inc. All Rights Reserved. © 2007. Last updated 3/17/2007