cli.conf¶

This file allows a listing of CLI commands to be automatically executed upon startup of Asterisk.

cli_permissions.conf¶

Allows you to configure specific restrictions or allowances on commands for users connecting to an Asterisk console. Read through the sample file carefully before making use of it, as you could create security issues.

cli_aliases.conf¶

This file allows configuration of aliases for existing commands. For example, the 'help' command is really an alias to 'core show help'. This functionality is provided by the res_clialiases.so module.

CLI related commands¶

There are a few commands relevant to the CLI configuration itself.

Changing the CLI Prompt¶

The CLI prompt is set with the ASTERISK_PROMPT UNIX environment variable that you set from the Unix shell before starting Asterisk

You may include the following variables, that will be replaced by the current value by Asterisk:

On systems which implement getloadavg(3), you may also use: