summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gsm/gsm0808.c14
-rw-r--r--src/gsm/libosmogsm.map1
2 files changed, 15 insertions, 0 deletions
diff --git a/src/gsm/gsm0808.c b/src/gsm/gsm0808.c
index 625de81f..a26addd4 100644
--- a/src/gsm/gsm0808.c
+++ b/src/gsm/gsm0808.c
@@ -1153,6 +1153,20 @@ const struct value_string gsm0808_speech_codec_type_names[] = {
{ 0, NULL }
};
+const struct value_string gsm0808_permitted_speech_names[] = {
+ { GSM0808_PERM_FR1, "FR1" },
+ { GSM0808_PERM_FR2, "FR2" },
+ { GSM0808_PERM_FR3, "FR3" },
+ { GSM0808_PERM_FR4, "FR4" },
+ { GSM0808_PERM_FR5, "FR5" },
+ { GSM0808_PERM_HR1, "HR1" },
+ { GSM0808_PERM_HR2, "HR2" },
+ { GSM0808_PERM_HR3, "HR3" },
+ { GSM0808_PERM_HR4, "HR4" },
+ { GSM0808_PERM_HR6, "HR6" },
+ { 0, NULL }
+};
+
static const struct value_string gsm0808_cause_names[] = {
{ GSM0808_CAUSE_RADIO_INTERFACE_MESSAGE_FAILURE, "RADIO INTERFACE MESSAGE FAILURE" },
{ GSM0808_CAUSE_RADIO_INTERFACE_FAILURE, "RADIO INTERFACE FAILURE" },
diff --git a/src/gsm/libosmogsm.map b/src/gsm/libosmogsm.map
index 96779d22..5eed5b56 100644
--- a/src/gsm/libosmogsm.map
+++ b/src/gsm/libosmogsm.map
@@ -201,6 +201,7 @@ gsm0808_cell_id_u_name;
gsm0808_chan_type_to_speech_codec;
gsm0808_speech_codec_from_chan_type;
gsm0808_speech_codec_type_names;
+gsm0808_permitted_speech_names;
gsm0808_channel_type_name;
gsm0808_lcls_config_names;
gsm0808_lcls_control_names;