diff --git a/resources/templates/provision/yealink/t23g/{$mac}.cfg b/resources/templates/provision/yealink/t23g/{$mac}.cfg index 1a41ded3f9..38cff43332 100644 --- a/resources/templates/provision/yealink/t23g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23g/{$mac}.cfg @@ -244,12 +244,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 = {$yealink_codec_2_priority} 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 = {$yealink_codec_4_priority} account.1.codec.2.rtpmap = 8 account.1.codec.3.enable = 0 @@ -264,12 +264,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 = {$yealink_codec_3_priority} 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 = {$yealink_codec_1_priority} account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0