- Joined
- Jul 3, 2017
- Messages
- 184
- Reaction score
- 12
Hello,
We are using latest 15.5 SP6 for our 3cx and latest provisioning templates for our Polycom VVX 4xx,6xx and Yealinks T2xP (version 80502).
We have been trying to change the priority of the G.711a-law codec on the phones, so that it is used first in the SDP. Our target is to change the codec priority via the template, and not by going under Phone Provisioning - - > Codecs for each single extension/phone.
In the Yealinks we have managed to do this, by setting the following parameters:
account.1.codec.1.enable = 1
account.1.codec.1.payload_type = %%payload2%%
account.1.codec.1.priority = 1
account.1.codec.1.rtpmap = %%codec2%%
(We are using codec2 and payload2, which by default seems to apply for G711a-law, instead of codec1 and payload1 which applies for G.711u-law)
Question1:
Is there a more efficient way to do this for the Yealinks?
Now, we are having trouble to set this for the Polycoms however. This is the first entry their provisioning templates:
<Codecspriorities>
<Codecspriority variableName="codec1" priority="1">
<!--The first entry is the selected entry in management console-->
<option value="voice.codecPref.G711_Mu="1"">PCMU</option>
<option value="voice.codecPref.G711_A="1"">PCMA</option>
<option value="voice.codecPref.G722="1"">G722</option>
<option value="voice.codecPref.G729_AB="1"">G729A/B</option>
Trying to swap the first two lines above so that G711_A goes on top of G711_Mu does not work.
Any ideas?
Thank you,
George
We are using latest 15.5 SP6 for our 3cx and latest provisioning templates for our Polycom VVX 4xx,6xx and Yealinks T2xP (version 80502).
We have been trying to change the priority of the G.711a-law codec on the phones, so that it is used first in the SDP. Our target is to change the codec priority via the template, and not by going under Phone Provisioning - - > Codecs for each single extension/phone.
In the Yealinks we have managed to do this, by setting the following parameters:
account.1.codec.1.enable = 1
account.1.codec.1.payload_type = %%payload2%%
account.1.codec.1.priority = 1
account.1.codec.1.rtpmap = %%codec2%%
(We are using codec2 and payload2, which by default seems to apply for G711a-law, instead of codec1 and payload1 which applies for G.711u-law)
Question1:
Is there a more efficient way to do this for the Yealinks?
Now, we are having trouble to set this for the Polycoms however. This is the first entry their provisioning templates:
<Codecspriorities>
<Codecspriority variableName="codec1" priority="1">
<!--The first entry is the selected entry in management console-->
<option value="voice.codecPref.G711_Mu="1"">PCMU</option>
<option value="voice.codecPref.G711_A="1"">PCMA</option>
<option value="voice.codecPref.G722="1"">G722</option>
<option value="voice.codecPref.G729_AB="1"">G729A/B</option>
Trying to swap the first two lines above so that G711_A goes on top of G711_Mu does not work.
Any ideas?
Thank you,
George