CODEC is an abbreviation of compress-decompress, capable of coding or decoding a digital data stream or signal by implementing an algorithm. “rtpmap” is used to define a mapping from RTP payload codes to a codec, clock rate and other encoding parameters.
Many people don’t know how to configure codec via autop, just like as below
account.x.codec.y.enable =
account.x.codec.y.payload_type =
account.x.codec.y.priority =
account.x.codec.y.rtpmap =
In order to solve this issue, please let us know corresponding attributes of the codec, listed as follows:
For T19D/T21, support codec1~codec8
Y |
enable |
priority |
||
G711 (PCMU) |
1 |
1 |
1 |
0 |
G711(PCMA) |
2 |
1 |
2 |
8 |
G723_53 |
3 |
0 |
0 |
4 |
G723_63 |
4 |
0 |
0 |
4 |
G729 |
5 |
1 |
3 |
18 |
G722 |
6 |
1 |
4 |
9 |
iLBC |
7 |
0 |
0 |
106 |
G726-32. |
8 |
0 |
0 |
102 |
For T20P/T22P/T26P/T28P, support codec1~codec11
Y |
enable |
RTPmap(fix) |
||
G711 (PCMU) |
1 |
1 |
1 |
0 |
G711(PCMA) |
2 |
1 |
2 |
8 |
G723_53 |
3 |
0 |
0 |
4 |
G723_63 |
4 |
0 |
0 |
4 |
G729 |
5 |
1 |
3 |
18 |
G722 |
6 |
1 |
4 |
9 |
iLBC |
7 |
0 |
0 |
106 |
G726-16 |
8 |
0 |
0 |
103 |
G726-24 |
9 |
0 |
0 |
104 |
G726-32 |
10 |
0 |
0 |
102 |
G726-40 |
11 |
0 |
0 |
105 |
For T41P/T42G/T46G, codec1~codec12
Y |
enable |
priority |
RTPmap(fix) |
|
G711 (PCMU) |
1 |
1 |
1 |
0 |
G711(PCMA) |
2 |
1 |
2 |
8 |
G723_53 |
3 |
0 |
0 |
4 |
G723_63 |
4 |
0 |
0 |
4 |
G729 |
5 |
1 |
3 |
18 |
6 |
1 |
4 |
9 |
|
iLBC |
7 |
0 |
0 |
106 |
G726-16 |
8 |
0 |
0 |
103 |
G726-24 |
9 |
0 |
0 |
104 |
G726-32 |
10 |
0 |
0 |
102 |
G726-40 |
11 |
0 |
0 |
105 |
GSM |
12 |
0 |
0 |
97 |
The codec name is corresponding Y value and RTPmap , for example ,G729 is cooperate with 18(RTPmap) and 5(Y).
So If want to set G722 with the highest priority, we can set as below
account.1.codec.6.enable = 1
account.1.codec.6.payload_type = 9
account.1.codec.6.priority = 1
account.1.codec.6.rtpmap = G722
The specific explanation:
account.1.codec.6.enable = 1
This means that the codec G722 is enabled on the account 1.
account.1.codec.6.payload_type = 9
This means that the payload of codec G722 is 9.
account.1.codec.6.priority = 1
This means that priority of the codec is the highest.
account.1.codec.6.rtpmap = G722
This means that set codec G722 for account 1.
For more codec infotmaion, please check Administrator Guide and Auto Provisioning Guide
http://support.yealink.com/documentFront/forwardToDocumentFrontDisplayPage
And if any question, please offer all issues info and data to our local distributor or tosupport@yealink.com.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article