commands.sh

fs_cli

linux

Connect to and control a running FreeSWITCH server using the FreeSWITCH Command Line Interface (ESL client).

More info →

Options (5)

-H, --hostboolean

Connect to a remote FreeSWITCH server

Example: fs_cli {{[-H|--host]}} {{host}} {{[-P|--port]}} {{port}} {{[-p|--password]}} {{password}}
-P, --portboolean

Connect to a remote FreeSWITCH server

Example: fs_cli {{[-H|--host]}} {{host}} {{[-P|--port]}} {{port}} {{[-p|--password]}} {{password}}
-p, --passwordboolean

Connect to a remote FreeSWITCH server

Example: fs_cli {{[-H|--host]}} {{host}} {{[-P|--port]}} {{port}} {{[-p|--password]}} {{password}}
-x, --executeboolean

Execute a single FreeSWITCH command and exit

Example: fs_cli {{[-x|--execute]}} "{{command}}"
-r, --retryboolean

Retry connection on failure

Example: fs_cli {{[-r|--retry]}}

Examples (8)

Connect to the local FreeSWITCH instance with an interactive session

Connect to a remote FreeSWITCH server

fs_cli [-H|--host] host [-P|--port] port [-p|--password] password

Execute a single FreeSWITCH command and exit

fs_cli [-x|--execute] "command"

Show FreeSWITCH system status

fs_cli [-x|--execute] "status"

Reload FreeSWITCH XML configuration

fs_cli [-x|--execute] "reloadxml"

Check if a module is loaded

fs_cli [-x|--execute] "module_exists module_name"

Show active calls

fs_cli [-x|--execute] "show calls"

Retry connection on failure

fs_cli [-r|--retry]
made by @shridhargupta | data from tldr-pages