TrixBox Commands Cheat Sheet

November 14, 2016 | Author: Carine Mynews | Category: N/A
Share Embed Donate


Short Description

Download TrixBox Commands Cheat Sheet...

Description

TrixBox BASICS

PHONE SHORTCUTS

Support Phone Number:

+1-888-TRIXBOX

User Logon

*11

Website

http://trixbox.org/

User Logoff

*12

HUD-lite Download

http://hudlite.org

ZapBarge

888

Simulate Incoming Call

7777

Call Forward All Activate

*72

TrixBox Link Reference Admin Login

http:///maint

Call Forward All Deactivate

*73

freepbx

http:///maint/?freepbx

Call Forward All Prompting Deactivate

*74

ssh terminal

http:///maint/?sshTerm

Call Forward Busy Activate

*90

Edit Configs

http:///maint/?configEdit

Call Forward Busy Deactivate

*91

Point Manager

http:///maint/?epManager End

Call Forward Busy Prompting Deactivate

*92

Asterisk Information

http:///maint/?astInfo

Call Forward No Answer/Unavailable Activate

*52

Process status

http:///maint/?sysMaint

Call Forward No Answer/Unavailable Deactivate

*53

Install/Update Packages

http:///maint/?packages

Call Waiting - Activate

*70

Operator Panel

http:///admin/panel.php

Call Waiting - Deactivate

*71

DND Activate

*78

DND Deactivate

*79

My Voicemail

*97

Dial Voicemail

*98

Save Recording

*77

Check Recording

*99

Directory

#

Call Trace

*69

Echo Test

*43

Speaking Clock

*60

Speak Your Exten Number

*65

ChanSpy

555

Intercom Prefix

*80

LINUX COMMANDS Entering the Asterisk Console

asterisk -r

Checking Current System Load

top

Interrupt Information

cat /proc/interrupts

RAID Array Information

cat /proc/mdstat

Checking the Routing table

netstat -rn OR route

Checking CPU Information

cat /proc/interrupts

Checking Memory Information

cat /proc/meminfo

Running tcpdump

tcpdump -A -s 10000 port and host

Running PING tests

ping -i 0.02 -c 500 -s 270

Intensive Performance Information

vmstat 1

Current Wanpipe Version

wanrouter version

Current system processes

ps aux

Current Networking Information

ifconfig -a

Duplexing Diagnostics

mii-tool

Zaptel Card Status

zttool

Rsync Usage

rsync -av -essh /path/to/file :/path/to/file

Detailed Card Status

ztcfg -vvv

SCP Usage

scp /path/to/file :/path/to/file

T1 Error / Status

wanpipemon -i w1g1 -c Ta

Checking Disk Space

df -h

Analog Voltage Check

Display TrixBox help options

help-trixbox

wanpipemon -i w1g1 -c astats -m

Start Wanpipe Driver

wanrouter start

Stop Wanpipe Driver

wanrouter stop

TIPS/TRICKS/TROUBLESHOOTING

ASTERISK COMMANDS Show Current Peers

sip/iax2 show peers

Upgrade TrixBox to the latest version

trixbox-update.sh

Show Current Registration

sip/iax2 show registry

Set the local time zone and keyboard type

config

PRI Status

pri show span

Configure ethernet interface

netconfig

Database Dump

database show

Autoconfig Zaptel cards

genzaptelconf

Show Channels

show channels

Install the HUDlite-server (Required for HUDlite client)

install-hudlite

Hangup a Channel

soft hangup

Set master password for web GUI

passwd-maint

Show Channel Detail

show channel

Set password for amp only

passwd-amp

SIP Debug

sip debug ip

Set password for Web MeetMe only

passwd-meetme

Starting Asterisk

/etc/init.d/asterisk start

Set root password for console login

passwd

Stopping Asterisk

/etc/init.d/asterisk stop

Set admin password for checking system mail

passwd admin

Reloading Asterisk

reload

Create a SIPDefault.cnf in /tftpboot

setup-cisco

Restarting Asterisk (without modules)

restart now

Create a aastra.cfg in /tftpboot

setup-aastra

Restarting Asterisk (when there are no active calls)

restart when convenient

Setup for autoconfiguration of Grandstream

setup-grandstream

Enter PRI Debug Mode

pri debug span

Set up a dhcp server

setup-dhcp

List modules and info

show modules

Set up a Samba server (Microsoft file sharing)

setup-samba

Lists parked calls

show parkedcalls

Configure sendmail

setup-mail

Show status of a specified queue

show queue

Get latest patches for CentOS

yum -y update

Show status of queues

show queues

Show uptime information

show uptime

LOCATION OF Trixbox CONFIGURATION FILES /etc/asterisk/*.conf

Display version info

show version

Asterisk Configuration Files

List defined voicemail boxes

show voicemail users

Agents Configuration File

/etc/asterisk/agents.conf

Enable SIP debugging on IP

sip debug ip

Queues Configuration File

/etc/asterisk/queues.conf

Enable SIP debugging on Peername

sip debug peer

Extensions Configuration File

/etc/asterisk/extensions.conf

Enable SIP history

sip history

Extensions Additional Configuration File

/etc/asterisk/extensions_additional.conf

Disable SIP debugging

sip no debug

Extensions Custom Configuration File

/etc/asterisk/extensions_additional.conf

Disable SIP history

sip no history

SIP Configuration

/etc/asterisk/sip.conf

Reload SIP configuration

sip reload

SIP Additional Configuration

/etc/asterisk/sip_additional.conf

Show SIP dialog history

sip show history

SIP Custom Configuration

/etc/asterisk/sip_custom.conf

Show defined SIP users

sip show users

Voicemail Configuration Files

/etc/asterisk/voicemail.conf

Removes a channel from a specified queue

remove queue member

MeetMe Conferenece Configuration

/etc/asterisk/meetme.conf

Set level of debug chattiness

set debug

IAX2 Configuration

/etc/asterisk/iax.conf

Set level of verboseness

set verbose

IAX2 Additional Configuration

/etc/asterisk/iax_additional.conf

Show status of agents

show agents

IAX2 Custom Configuration

/etc/asterisk/iax_custom.conf

Shows registered applications

show applications

Asterisk Log Configuration

/etc/asterisk/logger.conf

Describe a specific application

show application

Wanpipe Configuration Files

/etc/wanpipe/*

Show status of conferences

show conferences

Zaptel Configuration

/etc/asterisk/zaptel.conf

Displays RSA key information

show keys

Zapata Configuration Files

/etc/asterisk/zapata.conf

Show manager command

show manager command

CDR Log Files

/var/log/asterisk/cdr-csv

Show connected managers

show managers

Queue Log Files

/var/log/asterisk/queue*.log

Start Asterisk and Flash Operator Panel server

amportal start|stop|kill|chown

Asterisk Log File

/var/log/asterisk/messages

Sets an agent offline

agent logoff

Outgoing Call Files Directory

/var/spool/asterisk/outgoing

Sets an agent online

agent logon

AGI-BIN

/var/lib/asterisk/agi-bin/

Enable RTP debugging

rtp debug

Keys

/var/lib/asterisk/keys/

Enable RTP debugging on ip

rtp debug ip

Images

/var/lib/asterisk/images

Disable RTP debugging

rtp no debug

MeetMe recordings

/var/spool/asterisk/meetme/

Destroy a channel

zap destroy channel

Voicemail Messages

/var/spool/asterisk/voicemail/

List cadences

zap show cadences

Music on Hold

/var/lib/asterisk/mohmp3/

Show active zapata channels

zap show channels

Voice Prompts

/var/lib/asterisk/sounds/

Show information on a channel

zap show channel

Dictation Recordings

/var/spool/asterisk/dictate/

Show all Zaptel cards status

zap show status

Monitor Recordings

/var/spool/asterisk/monitor/

All information Copyright Fonality, Inc. All Rights Reserved. B) 2007. Last updated 3/17/2007

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF