Related Articles
|
|
|
Page 1 of 2
This allows you to run a command as if it was typed into the asterisk CLI. Examples: * sip show peers o This displays all the known SIP devices, and their state, according to Asterisk * show channels o Show any channels that are in use at the moment * soft hangup Zap/1 o Hangs up the Zap/1 channel ------------------------------------------------------------------- General commands !: Executes a given shell command abort halt: Cancel a running 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 other context load: Load a dynamic module by name logger reload: Reopen log files. Use after rotating the log files. no debug channel: Disable debugging on a channel pri debug span: Enables PRI debugging on a span pri intense debug span: Enables REALLY INTENSE PRI debugging pri no debug span: Disables PRI debugging on a span remove extension: Remove a specified extension remove ignorepat: Remove ignore pattern from context remove indication: Remove the given indication from 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 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 conferences show dialplan: Show dialplan show hints: Show registered hints show image formats: Displays image formats show indications: 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 queues show switches: Show alternative switches show translation: Display translation matrix soft hangup: Request a hangup on a given channel show voicemail users: List defined voicemail boxes show voicemail zones: List zone message formats Server management restart gracefully: Restart Asterisk gracefully, i.e. stop receiving new calls and restart at empty call volume restart now: Restart Asterisk immediately restart when convenient: Restart Asterisk at empty call volume Note: Restart is more like a reload, not a real restart it just runs the reload routines (thus open ports are not closed). Often you don't need to really restart asterisk, instead just e.g. 'unload chan_sip.so' and 'load chan_sip.so'. reload: Reload configuration stop gracefully: Gracefully shut down Asterisk, i.e. stop receiving new calls and shut down at empty call volume stop now: Shut down Asterisk imediately stop when convenient: Shut down Asterisk at empty call volume extensions reload: Reload extensions and only extensions unload: Unload a dynamic module by name show modules: List modules and info about them show uptime: Show uptime information show version: Display Asterisk version info AGI commands show agi: Show AGI commands or specific help dump agihtml: Dumps a list of agi command in html format Database handling commands database del: Removes database key/value database deltree: Removes database keytree/values database get: Gets database value database put: Adds/updates database value database show: Shows database contents |



