![]() |
Yealink T-4x provisioning : codecs and garbled sound - Printable Version +- Yealink Forums (http://forum.yealink.com/forum) +-- Forum: IP Phone Series (/forumdisplay.php?fid=4) +--- Forum: Auto Provisioning (/forumdisplay.php?fid=14) +--- Thread: Yealink T-4x provisioning : codecs and garbled sound (/showthread.php?tid=1109) |
Yealink T-4x provisioning : codecs and garbled sound - jonaskellens - 12-17-2013 11:04 PM Hello, when defining the audio codecs in a provisioning file, the audio is garbled. This is not the case when I leave out any parameters that have to do with codecs, or when I manually configurate the Yealink T-4x. Also this is no problem with Yealink T-3x phones, only with T-4x IP-phones. But I like to define the prefered codecs in my configuration file in stead of using the "default". I have the following in my configuration file for provisioning (when I leave this out, there is no problem) : account.1.codec.1.enable = 0 account.1.codec.1.payload_type = PCMU account.1.codec.1.priority = 1 account.1.codec.1.rtpmap = 0 account.1.codec.2.enable = 1 account.1.codec.2.payload_type = PCMA account.1.codec.2.priority = 1 account.1.codec.2.rtpmap = 0 account.1.codec.3.enable = 0 account.1.codec.3.payload_type = G723_53 account.1.codec.3.priority =0 account.1.codec.3.rtpmap = 4 account.1.codec.4.enable = 0 account.1.codec.4.payload_type = G723_63 account.1.codec.4.priority = 0 account.1.codec.4.rtpmap = 4 account.1.codec.5.enable = 1 account.1.codec.5.payload_type = G729 account.1.codec.5.priority = 2 account.1.codec.5.rtpmap = 4 account.1.codec.6.enable = 1 account.1.codec.6.payload_type = G722 account.1.codec.6.priority = 3 account.1.codec.6.rtpmap = 9 account.1.codec.7.enable = 0 account.1.codec.7.payload_type = iLBC account.1.codec.7.priority = 0 account.1.codec.7.rtpmap = 102 account.1.codec.8.enable = 0 account.1.codec.8.payload_type = G726-16 account.1.codec.8.priority = 0 account.1.codec.8.rtpmap = 112 account.1.codec.9.enable = 0 account.1.codec.9.payload_type = G726-24 account.1.codec.9.priority = 0 account.1.codec.9.rtpmap = 102 account.1.codec.10.enable = 0 account.1.codec.10.payload_type = G726-32 account.1.codec.10.priority = 0 account.1.codec.10.rtpmap = 99 account.1.codec.11.enable = 0 account.1.codec.11.payload_type = G726-40 account.1.codec.11.priority = 0 account.1.codec.11.rtpmap = 104 So how can I define my audio codecs in a configuration file for provisioning without having a garbled sound (that makes communication impossible) ?? RE: Yealink T-4x provisioning : codecs and garbled sound - Yealink Support - 12-23-2013 12:49 PM Hi jonaskellens, Please don't change the rtpmap of each payload type. codec Yealink PCMU 0 PCMA 8 g729 18 GSM 3 g722 9 g723 4 CNG 13 g726-32 102 g726-16 103 g726-24 104 g726-40 105 iLBC 106 RE: Yealink T-4x provisioning : codecs and garbled sound - GeorgSchwarz - 01-07-2014 06:37 AM Hi! In our autoprovisioning we just set the payload_type and the enable directive. This does not seem to change along the rtpmap of the "codec-slot" to the correct value. So we solved the problem (after having checked with Yealink support and recieved the same answer as abobe) by setting the rtpmap for the respective codec to the to the values provided in the answer above: Here our two sections for G722a and GSM: account.1.codec.1.payload_type = PCMA account.1.codec.1.rtpmap = 8 account.1.codec.1.enable = 1 account.1.codec.2.payload_type = GSM account.1.codec.2.rtpmap = 3 account.1.codec.2.enable = 1 HTH, best Geore |