vty: improve doc for 'codec-list'

Change-Id: I33e6568997bcb1a9466e1e0c1b00718b703e2904
This commit is contained in:
Neels Hofmeyr 2022-09-06 23:57:52 +02:00 committed by neels
parent 8b55573a73
commit 8196ef5405
2 changed files with 5 additions and 4 deletions

View File

@ -2706,8 +2706,9 @@ DEFUN_USRATTR(cfg_net_bsc_codec_list,
cfg_net_bsc_codec_list_cmd,
BSC_VTY_ATTR_NEW_LCHAN,
"codec-list .LIST",
"Set the allowed audio codecs\n"
"List of audio codecs, e.g. fr3 fr1 hr3\n")
"Set the allowed audio codecs and their order of preference\n"
"List of audio codecs in order of preference, e.g. 'codec-list fr3 fr2 fr1 hr3 hr1'."
" (fr3: AMR-FR, hr3: AMR-HR, fr2: GSM-EFR, fr1: GSM-FR, hr1: GSM-HR)\n")
{
struct bsc_msc_data *data = bsc_msc_data(vty);
int i;

View File

@ -4,9 +4,9 @@ OsmoBSC# configure terminal
OsmoBSC(config)# msc 0
OsmoBSC(config-msc)# codec-list?
codec-list Set the allowed audio codecs
codec-list Set the allowed audio codecs and their order of preference
OsmoBSC(config-msc)# codec-list ?
LIST List of audio codecs, e.g. fr3 fr1 hr3
LIST List of audio codecs in order of preference, e.g. 'codec-list fr3 fr2 fr1 hr3 hr1'. (fr3: AMR-FR, hr3: AMR-HR, fr2: GSM-EFR, fr1: GSM-FR, hr1: GSM-HR)
OsmoBSC(config-msc)# # Default list -- should match the default in osmo_msc_data_alloc()
OsmoBSC(config-msc)# show running-config