Skip to content

[bug]: cli: Output is truncated from "config show help" #428

Description

@InterLinked1

Severity

Trivial

Versions

21.0.0

Components/Modules

config.c

Operating Environment

Debian 12

Frequency of Occurrence

Constant

Issue Description

Running certain config related commands results in significantly truncated output.

For example:
config show help app_confbridge bridge_profile

*CLI> config show help app_confbridge bridge_profile
bridge_profile: [category !~ /^general$/ matchfield: type = bridge]

A named profile to apply to specific bridges.

ConfBridge bridges have a profile associated with them that determine their
options. A configuration section is determined to be a 'bridge_profile' when
the 'type' parameter has a value of 'bridge'.

type                      -- Define this configuration category as a bridge profile
jitterbuffer              -- Place a jitter buffer on the conference's audio stream
internal_sample_rate      -- Set the internal native sample rate for mixing the conference
maximum_sample_rate       -- Set the maximum native sample rate for mixing the conference
language                  -- The language used for announcements to the conference.
mixing_interval           -- Sets the internal mixing interval in milliseconds for the bridge
binaural_active           -- If true binaural conferencing with stereo audio is active
record_conference         -- Record the conference starting with the first active user's entra
record_file               -- The filename of the conference recording
record_file_append        -- Append to record file when starting/stopping on same conference r
record_file_timestamp     -- Append the start time to the record_file name so that it is uniqu
record_options            -- Pass additional options to MixMonitor when recording
record_command            -- Execute a command after recording ends
regcontext                -- The name of the context into which to register the name of the co
video_mode                -- Sets how confbridge handles video distribution to the conference
max_members               -- Limit the maximum number of participants for a single conference
sound_                    -- Override the various conference bridge sound files
video_update_discard      -- Sets the amount of time in milliseconds after sending a video upd
remb_send_interval        -- Sets the interval in milliseconds that a combined REMB frame will
remb_behavior             -- Sets how REMB reports are generated from multiple sources
remb_estimated_bitrate    -- Sets the estimated bitrate sent to each participant in REMB repor
enable_events             -- Enables events for this bridge
template                  -- When using the CONFBRIDGE dialplan function, use a bridge profile

The truncation is problematic and the only way to get the full description is to request it for each truncated config option name.

This is due to hardcoded format widths for the description. The intent behind these was to avoid wrapping onto the following line, but the 80-column total width is needlessly short; this increases the length to remove most instances of truncation.

Relevant log output

No response

Asterisk Issue Guidelines

  • Yes, I have read the Asterisk Issue Guidelines

Activity

  1. added a commit that references this issue on Nov 9, 2023
    b182e9f
  2. added
    support-level-coreFunctionality with core support level
    and removed on Nov 9, 2023
  3. added 4 commits that reference this issue on Dec 12, 2023
    98186cb
    fcf36a8
    d20c3e2
    183954b
  4. added 3 commits that reference this issue on Jan 12, 2024
    0b8535d
    8a73bac
    ce29be5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions