Skip to content

FreeSWITCH CLI v1.5.0

Choose a tag to compare

@github-actions github-actions released this 07 Sep 23:00
· 19 commits to master since this release
v1.5.0
83c489f

New features:

  • -X runs a background job and prints its result when it lands, correlated by Job-UUID. -x and -X interleave in the order typed.
  • --log-file PATH|- writes the FreeSWITCH log stream to a file or stdout, in both batch and interactive mode.
  • With no commands, no terminal and --log-file, fs_cli streams the log until SIGINT or SIGTERM.
  • --job-timeout MS bounds the wait for background-job results; omitted, it waits indefinitely.
  • Tab completes /log level names.
  • A refused command is framed by its wire prefix: -ERR as API Error, -USAGE: as Usage.

Bug fixes:

  • /log error and /log warn now reach the switch. They were sent verbatim, and FreeSWITCH accepts only err and warning, so both were silently rejected.
  • Interactive mode without a terminal fails with a message and exit 1 instead of exiting 0 having done nothing.
  • -x exits non-zero on a transport fault again, and -T governs the per-command timeout instead of a hidden 5s default.
  • --color accepts any case again, and so does /log on Tab.
  • A config value left blank reads as unset instead of failing the whole file.
  • A bare -ERROR reply keeps its text instead of being mangled to OR.
  • UUID completion works when no channels exist.
  • Errors keep their full source chain.

Compatibility:

  • log_level: debug1 through debug10 no longer load. FreeSWITCH never accepted those names, so they never took effect.
  • Requires Rust 1.86 to build.

Installation:

  • The Linux binaries are static-pie against musl: no interpreter, no shared library dependencies, and no glibc floor, so one build runs on any distribution. The .deb no longer declares Depends.

Build:

  • freeswitch-esl-tokio 2.5.1; the unused freeswitch-types and chrono dependencies are gone.