From 3357d335d65d2dc7ca58c8600373308413a69d6f Mon Sep 17 00:00:00 2001 From: Jozef Kenyeres Date: Thu, 26 Apr 2018 14:55:07 +0200 Subject: [PATCH] TT#36154 Added AMR-WB codec to codecs_list preference Change-Id: If91f4edaee3779d9dc78cfa885f4db19077f0c8c --- lib/NGCP/Panel/Form/Preferences.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Form/Preferences.pm b/lib/NGCP/Panel/Form/Preferences.pm index 28406ec02c..7d14083d4e 100644 --- a/lib/NGCP/Panel/Form/Preferences.pm +++ b/lib/NGCP/Panel/Form/Preferences.pm @@ -145,7 +145,7 @@ sub validate { if( my $value = $field->value ){ #todo: 1.Should we allow only some particular separator? #todo: 2.Lengths of the provisioning.voip_usr_preferences.value and kamailio.usr_preferences.value =128,all available values length is 141. We can't insert all codecs. - my $enum = { map { lc( $_ ) => 1 } qw/AMR CelB CN DVI4 G722 G723 G728 G729 GSM H261 H263 H263-1998 h264 + my $enum = { map { lc( $_ ) => 1 } qw/AMR AMR-WB CelB CN DVI4 G722 G723 G728 G729 GSM H261 H263 H263-1998 h264 JPEG L16 MP2T MPA MPV nv opus PCMA PCMU QCELP speex telephone-event vp8 vp9/ }; my @codecs = split(/,/, $value); my %codecs_dup;