Command-Line Interface

Command-Line Interface #

The Genesis CLI provides commands to run and manage your FreeSWITCH ESL applications.

Usage #

genesis [OPTIONS] COMMAND [ARGS]...

Options #

OptionDescription
–versionShow the version and exit.

genesis consumer #

Run an ESL event consumer.

Usage #

genesis consumer [OPTIONS] PATH

Options #

OptionDescriptionDefault
–hostThe host to connect to.127.0.0.1
–portThe port to connect to.8021
–passwordThe password for authentication.ClueCon
–appThe variable containing the Consumer app in the module.None
–loglevelThe logging level.info

Example #

genesis consumer /path/to/your/app --host 192.168.1.100 --port 8021 --password MySecretPassword --loglevel debug

genesis outbound #

Run an outbound service.

Usage #

genesis outbound [OPTIONS] PATH

Options #

OptionDescriptionDefault
–hostThe host to serve on.127.0.0.1
–portThe port to serve on.9000
–appThe variable containing the Outbound app in the module.None
–loglevelThe logging level.info

Example #

genesis outbound /path/to/your/app --host 192.168.1.100 --port 9000 --loglevel debug