Asterisk command line argument

Like most Linux applications, Asterisk has several command line options. These are tpyically preceeded by a “-”, and several options may be specified in a row after a single “-”. For example:

#asterisk -vvvcgc

-c
 Enables console mode. If console mode is enabled, Asterisk will provide a command line that can be used to issue commands and view the state of the system. Implies -f as well
-c   

Executes Asterisk with a different configuration file.
-d
Enables extra debugging across all modules.
-f 
Prevents Asterisk from daemonizing into the background.
-g 
Forces Asterisk to dump core in the unlikely event of a segmentation violation.
-h  
Displays basic command line help.
-i
Forces Asterisk to prompt for cryptographic initialization passcodes at startup.
-n
Disables ANSI color support.
-p 
 Run with a real-time priority
-q
Run in quiet mode
-r 
 Connects to an already running instance of Asterisk  
-v
Causes asterisk to produce more verbose output. More -v's mean more verbose.
-x
Executes a command in Asterisk




 

Related post



Newer Post Older Post

0 comments:

Post a Comment

 

Wiki Voip And Fax Tutorials Copyright © 2010 Labloub