New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344


Thread Closed 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FAQ]How to change CODEC in Yealink phones?
Author Message
Yealink Support Offline
Administrator
*******

Posts: 2,685
Joined: Dec 2012
Reputation: 19
Post: #1
Lightbulb [FAQ]How to change CODEC in Yealink phones?
CODEC is an abbreviation of COmpress-DECompress, capable of coding or decoding a digital data stream or signal by implementing an algorithm. The object of the algorithm is to represent the high-fidelity audio signal with minimum number of bits while retaining the quality. This can effectively reduce the frame size and the bandwidth required for audio transmission.

(Take V72 for example)
The default codecs used on IP phones are summarized in the following table:

[Image: attachment.php?aid=689]

In addition to the codecs introduced above, IP phones also support codecs: G723_53, G723_63, G726-16, G726-24, G726-32, G726-40, GSM and iLBC. Codecs and priorities of these codecs are configurable on a per-line basis. The attribute “rtpmap” is used to define a mapping from RTP payload codes to a codec, clock rate and other encoding parameters.

The corresponding attributes of the codec are listed as follows:
1. Please don't change the rtpmap for each codec.
2. Codecs G726-16, G726-24 and G726-40 are not applicable to SIP - T19P and SIP - T21P IP phones.

[Image: attachment.php?aid=690]

To configure the codecs and adjust the priority of the enabled codecs on a per-line basis via web user interface:
1. Click on Account.
2. Select the desired account from the pull-down list of Account.
3. Click on Codec.
4. Select the desired codec from the Disable Codecs column and click -> . The selected codec appears in the Enable Codecs column.
5. Repeat the step 4 to add more codecs to the Enable Codecs column.
6. Click <- to remove the codec from the Enable Codecs column.
7. Click [Image: attachment.php?aid=691] or [Image: attachment.php?aid=692] to adjust the priority of the enabled codecs.

[Image: attachment.php?aid=693]

8. Click Confirm to accept the change.

The auto provisioning templates for Codec are as below:

For SIP - T20P/T22P/T26P/T28P/T4X IP phones:(Just edit priority and enable line.)
----------------------------------------------------
#!version:1.0.0.1
##account.X.codec.Y.xxx = . X is the sip account sequence; Y is the codec sequence. Please don't change Y in below syntax. ##
##(Take account 1 for example)##


account.1.codec.1.enable = 1
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 = 2
account.1.codec.2.rtpmap = 8

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 = 3
account.1.codec.5.rtpmap = 18

account.1.codec.6.enable = 1
account.1.codec.6.payload_type = G722
account.1.codec.6.priority = 4
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 = 106

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 = 103

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 = 104

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 = 102

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 = 105

account.1.codec.12.enable = 0
account.1.codec.12.payload_type = GSM
account.1.codec.12.priority = 0
account.1.codec.12.rtpmap = 3
----------------------------------------------------
For SIP - T19P/T21P IP phones:(Just edit priority and enable line.)

----------------------------------------------------
#!version:1.0.0.1
##account.X.codec.Y.xxx = . X is the sip account sequence; Y is the codec sequence. Please don't change Y in below syntax. ##
##(Take account 1 for example)##

account.1.codec.1.enable = 1
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 = 2
account.1.codec.2.rtpmap = 8

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 = 3
account.1.codec.5.rtpmap = 18

account.1.codec.6.enable = 1
account.1.codec.6.payload_type = G722
account.1.codec.6.priority = 4
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 = 106

account.1.codec.8.enable = 0
account.1.codec.8.payload_type = G726-32
account.1.codec.8.priority = 0
account.1.codec.8.rtpmap = 102
----------------------------------------------------

For SIP - T3 Series IP phones-V70:(Just edit priority and enable line.)

----------------------------------------------------
#!version:1.0.0.1
##File header "#!version:1.0.0.1" can not be edited or deleted.##
#Audio codecs for account 1 (Y ranges from 1 to 13).
#account.1.codec.y.enable =
#account.1.codec.y.payload_type =
#account.1.codec.y.priority =
#account.1.codec.y.rtpmap =

account.1.codec.1.enable = 1
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 = 2
account.1.codec.2.rtpmap = 8

account.1.codec.3.enable = 0
account.1.codec.3.payload_type = G723_53
account.1.codec.3.priority =4
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 = 3
account.1.codec.5.rtpmap = 18

account.1.codec.6.enable = 1
account.1.codec.6.payload_type = G722
account.1.codec.6.priority = 4
account.1.codec.6.rtpmap = 9

account.1.codec.7.enable =
account.1.codec.7.payload_type =
account.1.codec.7.priority =
account.1.codec.7.rtpmap =

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 = 2

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

## Below syntaxs are special for some custom versions.##

account.1.codec.12.enable = 0
account.1.codec.12.payload_type = iLBC_13_3
account.1.codec.12.priority = 0
account.1.codec.12.rtpmap = 97

account.1.codec.13.enable = 0
account.1.codec.13.payload_type = iLBC_15_2
account.1.codec.13.priority = 0
account.1.codec.13.rtpmap = 97

----------------------------------------------------

For VP530 phones-V70:(Just edit priority and enable line.)

----------------------------------------------------
#!version:1.0.0.1

##File header "#!version:1.0.0.1" can not be edited or deleted.##
#Audio codecs for account 1 (Y ranges from 1 to 7).
#account.1.codec.y.enable =
#account.1.codec.y.payload_type =
#account.1.codec.y.priority =
#account.1.codec.y.rtpmap =

account.1.codec.1.enable = 1
account.1.codec.1.payload_type = PCMA
account.1.codec.1.priority = 2
account.1.codec.1.rtpmap = 8

account.1.codec.2.enable = 1
account.1.codec.2.payload_type = PCMU
account.1.codec.2.priority = 1
account.1.codec.2.rtpmap = 0

account.1.codec.3.enable = 1
account.1.codec.3.payload_type = G729
account.1.codec.3.priority =3
account.1.codec.3.rtpmap = 18

account.1.codec.4.enable = 1
account.1.codec.4.payload_type = G722
account.1.codec.4.priority = 4
account.1.codec.4.rtpmap = 9

account.1.codec.5.enable = 0
account.1.codec.5.payload_type = G723
account.1.codec.5.priority = 5
account.1.codec.5.rtpmap = 4

account.1.codec.6.enable = 0
account.1.codec.6.payload_type = AACLC
account.1.codec.6.priority = 6
account.1.codec.6.rtpmap = 102

account.1.codec.7.enable = 0
account.1.codec.7.payload_type = iLBC
account.1.codec.7.priority = 7
account.1.codec.7.rtpmap = 122

#Video codecs for account 1 (X ranges from 1 to 3)
#account.1.video_codec.xxxxx.enable =
#account.1.video_codec.x.priority =
#account.1.video_codec.x.payload_type =
#account.1.video_codec.x.rtpmap =
#account.1.video_codec.x.para =

account.1.video_codec.1.enable = 1
account.1.video_codec.1.priority = 1
account.1.video_codec.1.payload_type = H264
account.1.video_codec.1.rtpmap = 99
account.1.video_codec.1.para = profile-level-id=42800D; packetization-mode=0; max-mbps=11880

account.1.video_codec.2.enable = 1
account.1.video_codec.2.priority = 2
account.1.video_codec.2.payload_type = H263
account.1.video_codec.2.rtpmap = 34
account.1.video_codec.2.para = CIF=1; QCIF=1

account.1.video_codec.3.enable = 1
account.1.video_codec.3.priority = 3
account.1.video_codec.3.payload_type = mp4v-es
account.1.video_codec.3.rtpmap = 102
account.1.video_codec.3.para = CIF=1; QCIF=1; MaxBR=3840
----------------------------------------------------


Attached File(s) Thumbnail(s)
           

.png  up arrow.png (Size: 550 bytes / Downloads: 213)
.png  down arrow.png (Size: 470 bytes / Downloads: 211)
(This post was last modified: 04-01-2014 02:16 PM by Yealink Support.)
04-01-2014 11:10 AM
Find all posts by this user    like0    dislike0
Yealink Support Offline
Administrator
*******

Posts: 2,685
Joined: Dec 2012
Reputation: 19
Post: #2
RE: [FAQ] How to change CODEC in Yealink phones?
Packetization Time

Ptime (Packetization Time) is a measurement of the duration (in milliseconds) of the audio data in each RTP packet sent to the destination, and defines how much network bandwidth is used for the RTP stream transfer . Before establishing a conversation, codec and ptime are negotiated through SIP signaling. The valid values of ptime range from 10 to 60, in increments of 10 milliseconds. The default ptime is 20ms. You can also disable the ptime negotiation.

To configure the Ptime on a per-line basis via web user interface:
1. Click on Account.
2. Select the desired account from the pull-down list of Account.
3. Click on Advanced.
4. Select the desired value from the pull-down list of PTime (ms).

[Image: attachment.php?aid=694]

5. Click Confirm to accept the change.

The auto provisioning template for ptime is as below:
-------------------------------------------
#!version:1.0.0.1
##account.X.ptime = . It configures the RTP packet time for account X ##
##(Take account 1 for example)##
##ptime= 0 (Disabled), 10, 20, 30, 40, 50 or 60. The default value is 20.

account.1.ptime =

-------------------------------------------

Please be aware:

The purpose of these forums is to allow forum members collaborate and help each other.
Questions posted here won't be appreciated.
If you require assistance from Yealink technical support, please email to support@yealink.com or USA support support.usa@yealink.com


Attached File(s) Thumbnail(s)
   
(This post was last modified: 04-19-2014 12:19 PM by Yealink Support.)
04-01-2014 11:30 AM
Find all posts by this user    like0    dislike0
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Yealink Meeting Server joel 1 326 08-15-2017 10:46 AM
Last Post: joel
  Yealink T21P E2 - Raspberry OpenVPN Kostas 1 2,821 01-03-2017 07:35 AM
Last Post: Kevin_Yealink
  YEALINK T48G sbsinfo 4 2,021 11-06-2016 09:30 AM
Last Post: Lucia_Yealink
  Difference between Yealink IP Phone and Wildix IP Phone Mohamed Chaari 2 4,236 08-29-2016 10:56 PM
Last Post: elena_wildix
  Problem with YEALINK T23G Ana 1 1,939 06-23-2016 09:37 AM
Last Post: Yealink_Karl
  Yealink T27P latest Firmware (Loudspeaker & Hold Volume too loud) bradley.abrahams 2 3,798 05-06-2016 08:58 AM
Last Post: bradley.abrahams
  Yealink VP2009 firmware upgrade with TFTP server fasilkaks 1 5,086 03-05-2016 07:50 AM
Last Post: fraukas
  DHCP issue on Yealink phones with HP Switch HP2920 Crizz 2 3,348 03-03-2016 11:17 AM
Last Post: bunce
  no audio on t22, t26 phones Daniel Gagnon 0 1,983 02-25-2015 02:45 AM
Last Post: Daniel Gagnon
  YEALINK T18 HARD RESET nim 3 5,185 02-10-2015 03:10 PM
Last Post: Yealink_James

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication