Asterick comandos

Solo disponible en BuenasTareas
  • Páginas : 7 (1566 palabras )
  • Descarga(s) : 0
  • Publicado : 19 de enero de 2011
Leer documento completo
Vista previa del texto
terisk CLI
-------------------------------------------------
Page Contents
* General commands
* Server management
* AGI commands
* Database handling commands
* IAX Channel commands
* H323 channel commands
* SIP channel commands
* Zap channel commands
* Console channel commands
* Asterisk channel MGCP commands* skinny channel commands
* Asterisk channel CAPI commands
* Sirrix ISDN channel commands
* Batch files with CLI
* See also

The Asterisk command line interface (CLI) is reached by using the Linux shell command
 asterisk -r

If you want debugging output, add one or many v:s
 asterisk -vvvvvr

The Asterisk server has to be running in the background forthe CLI to start.

If you want to run a CLI command in a shell script, use the x option

 asterisk -rx "logger reload"

For help in the CLI mode, use the help command. To get help on various applications you can use in the extensions.conf config file, use the show applications command.

General commands
* !<command>: Executes a given shell command
* abort halt: Cancel arunning halt
* add extension: Add new extension into context
* add ignorepat: Add new ignore pattern
* add indication: Add the given indication to the country
* debug channel: Enable debugging on a channel
* dont include: Remove a specified include from context
* help: Display help list, or specific help on a command
* include context: Include context in othercontext
* load: Load a dynamic module by name
* Asterisk cli logger reload: Reopen log files. Use after rotating the log files.
* no debug channel: Disable debugging on a channel
* originate: originate a call.
* remove extension: Remove a specified extension
* remove ignorepat: Remove ignore pattern from context
* remove indication: Remove the given indicationfrom the country
* save dialplan: Overwrites your current extensions.conf file with an exported version based on the current state of the dialplan. A backup copy of your old extensions.conf is not saved. The initial values of global variables defined in the [globals] category retain their previous initial values; the current values of global variables are not written into the newextensions.conf. (:exclaim:) Using "save dialplan" will result in losing any comments in your current extensions.conf.
* dialplan save (1.4): BROKEN, doesn't parse correctly. Overwrites your current extensions.conf file with an exported version based on the current state of the dialplan. A backup copy of your old extensions.conf is not saved. The initial values of global variables defined in the [globals]category retain their previous initial values; the current values of global variables are not written into the new extensions.conf. (:exclaim:) Using "save dialplan" will result in losing any comments in your current extensions.conf.
* set verbose: Set level of verboseness
* show agents: Show status of agents
* show applications: Shows registered applications
* show application:Describe a specific application
* show channel: Display information on a specific channel
* show channels: Display information on channels
* show codecs: Display information on codecs
* show conferences: Show status of Asterisk conferences
* show dialplan: Show dialplan
* show hints: Show registered hints
* show image formats: Displays image formats
* showindications: Show a list of all country/indications
* show locals: Show status of local channels
* show manager command: Show manager commands
* show manager connect: Show connected manager users
* show parkedcalls: Lists parked calls
* show queues: Show status of Asterisk queues, see details here
* show switches: Show alternative switches
* show translation:...
tracking img