diff --git a/resources/templates/provision/yealink/t41p/{$mac}.cfg b/resources/templates/provision/yealink/t41p/{$mac}.cfg index 57139445da..58a78006bf 100644 --- a/resources/templates/provision/yealink/t41p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41p/{$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 = {$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 @@ -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 = {$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