Upgrade 3CX to v18 and get it hosted free!

Asterisk options

Author image

Starting Asterisk

  • -c: Console mode. Don’t go into background mode, stay in foreground with a command line interface (implies -f)
  • -C <filename>: Start Asterisk with a specified configuration file
  • -d: Debug mode
  • -f: Stay in foreground mode
  • -g: Dump core in case of a crash
  • -h: Help (list all command line options).
  • -i: Initializie crypto keys at startup
  • -p: Run as pseudo-realtime thread
  • -q: Quiet mode
  • -v: The verbose command. Add more ‘v’:s to get more messages.

Connecting to a running Asterisk

  • -r:Connect to Asterisk running in the background and present a Asterisk CLI
  • -R:Same as -r, but will automatically reconnect to the daemon (or at least retry) if the daemon restarts
  • -x:In combination with -r, execute an Asterisk CLI
  • -n:Disable ANSI colour support

Examples

  • asterisk -vvvvvvdr:Start a very chatty Asterisk command line interface and connect to asterisk running in the background
  • asterisk -vvvvvvc:Start Asterisk PBX, don’t go background
  • asterisk -rx reload:Connect to a running Asterisk, force reload of configuration with the CLI command “reload”

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.