Asterisk command list

List of the most important commands to be used by Asterisk client.

Asterisk command list

How to start the client

he classic method to start the client asterisk is as follows:

asterisk -r


If you want more details on the operations that are performed by the software, start increased verbosity, as in this example:

asterisk -vvvgcr


Once the client has been started, you can run a large number of commands, these are the simplest.

Main Commands

Start Debugging

Asterisk*CLI>set verbose 255

Stop Debugging

Asterisk*CLI>set verbose 0

Start debugging on a particular IP

Asterisk*CLI>set debug ip sip.vira.it

Show SIP status

Asterisk*CLI>sip show registry

Show the list and the status of peers

Asterisk*CLI>sip show peers

Show information about selected peer

Asterisk*CLI>sip show peer 6969XXXXX

Show selected peer debugging

Asterisk*CLI>sip debug peer peer_name

Show general settings

Asterisk*CLI>sip show settings

Notes

These commands may have some variations depending on the installed version of asterisk.

tags asterisk commands, command asterisk, asterisk client

Publication details

Category: Trixbox and Asterisk

Published by: loryzz on date: 27.01.2008 20:14:50

Last edit by: loryzz on date: 02.04.2008 16:54:26

Statistics

Details  This article has been viewed 1.876 times.

Send to

add to digg add to reddit add to furl add to facebook add to delicious add to google add to stumbleupon add to technorati add to ask add to live

Ratings

  • Currently 0; ?>/ TOTALSTARS
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Details 0 user comments, 0 still waiting.

Leave a comment

All comments must be approved by site administrator.
Please write comments on topic. Spam will be never approved.


Confirmation code

Please take a look to image and insert character into the form field.