HOW TO Asterisk CLI Output

To get the Asterisk CLI output:

  • Login to the system shell as a root user and execute:
/opt/pbxware/sh/asterisk -rvvvv

to display CLI output on screen

or

/opt/pbxware/sh/asterisk -crvvvv > debug.txt

to save CLI output into a debug.txt file

  • If displaying CLI output on screen, press CTRL + C to exit the CLI mode
  • Once done send the output to the Support Team if required for debugging

When in asterisk CLI you can run many debug/info commands like pjsip show endpoints or pjsip show registrations etc.

NOTE: For details and a list of available commands, type ‘help’.

Scroll to Top