From 0bee5117857422e1e1a1db24bde89ce226e755fc Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 13 Jun 2018 19:35:29 -0400 Subject: [PATCH] update codec add opus (#3189) --- .../provision/yealink/t46s/{$mac}.cfg | 38 +++++++++++++------ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index 96fd8467ae..c311cccd91 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -230,12 +230,12 @@ account.1.bla_subscribe_period = 300 account.1.codec.1.enable = 1 account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = 2 +account.1.codec.1.priority = 3 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = 3 +account.1.codec.2.priority = 5 account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -250,12 +250,12 @@ account.1.codec.4.rtpmap = 4 account.1.codec.5.enable = 1 account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = 3 +account.1.codec.5.priority = 4 account.1.codec.5.rtpmap = 18 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = 1 +account.1.codec.6.priority = 2 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 @@ -288,6 +288,11 @@ account.1.codec.12.payload_type = GSM account.1.codec.12.priority = 0 account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = 1 +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = 1 +account.1.codec.13.rtpmap = 101 + ####################################################################################### ## Audio Advanced ## @@ -698,12 +703,12 @@ account.2.bla_subscribe_period = 300 account.2.codec.1.enable = 1 account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 2 +account.2.codec.1.priority = 3 account.2.codec.1.rtpmap = 0 account.2.codec.2.enable = 1 account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 3 +account.2.codec.2.priority = 5 account.2.codec.2.rtpmap = 8 account.2.codec.3.enable = 0 @@ -718,12 +723,12 @@ account.2.codec.4.rtpmap = 4 account.2.codec.5.enable = 1 account.2.codec.5.payload_type = G729 -account.2.codec.5.priority = 3 +account.2.codec.5.priority = 4 account.2.codec.5.rtpmap = 18 account.2.codec.6.enable = 1 account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 1 +account.2.codec.6.priority = 2 account.2.codec.6.rtpmap = 9 account.2.codec.7.enable = 0 @@ -756,6 +761,10 @@ account.2.codec.12.payload_type = GSM account.2.codec.12.priority = 0 account.2.codec.12.rtpmap = 3 +account.2.codec.13.enable = 1 +account.2.codec.13.payload_type = opus +account.2.codec.13.priority = 1 +account.2.codec.13.rtpmap = 101 ####################################################################################### ## Audio Advanced ## @@ -1180,12 +1189,12 @@ account.3.bla_subscribe_period = 300 account.3.codec.1.enable = 1 account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 2 +account.3.codec.1.priority = 3 account.3.codec.1.rtpmap = 0 account.3.codec.2.enable = 1 account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 3 +account.3.codec.2.priority = 5 account.3.codec.2.rtpmap = 8 account.3.codec.3.enable = 0 @@ -1200,12 +1209,12 @@ account.3.codec.4.rtpmap = 4 account.3.codec.5.enable = 1 account.3.codec.5.payload_type = G729 -account.3.codec.5.priority = 3 +account.3.codec.5.priority = 4 account.3.codec.5.rtpmap = 18 account.3.codec.6.enable = 1 account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 1 +account.3.codec.6.priority = 2 account.3.codec.6.rtpmap = 9 account.3.codec.7.enable = 0 @@ -1238,6 +1247,11 @@ account.3.codec.12.payload_type = GSM account.3.codec.12.priority = 0 account.3.codec.12.rtpmap = 3 +account.3.codec.13.enable = 1 +account.3.codec.13.payload_type = opus +account.3.codec.13.priority = 1 +account.3.codec.13.rtpmap = 101 + ####################################################################################### ## Audio Advanced ##