dandenson
Customer
- Joined
- Aug 4, 2009
- Messages
- 404
- Reaction score
- 52
I'm not wrapping my head around how 3cx UI translates to yealink template.
I absolutely need 2 things and it seems a custom template is my only option.
1) TCP for SIP.
2) OPUS codec.
I can enable both of these in a custom template today, and #1 is simple (account.1.sip_server.1.transport_type = 1 for anyone else searching) but #2 is funky.
can anyone help me decipher this system? I'd like to just have it so opus shows up in phone provisioning and passes through to the phone nicely.
some if statements with code like:
this part
and finally, the messiest:
I absolutely need 2 things and it seems a custom template is my only option.
1) TCP for SIP.
2) OPUS codec.
I can enable both of these in a custom template today, and #1 is simple (account.1.sip_server.1.transport_type = 1 for anyone else searching) but #2 is funky.
can anyone help me decipher this system? I'd like to just have it so opus shows up in phone provisioning and passes through to the phone nicely.
some if statements with code like:
Code:
account.1.codec.10.enable = 0
account.1.codec.10.payload_type = Opus
account.1.codec.10.priority = 0
account.1.codec.10.rtpmap = 107
this part
Code:
account.1.codec.opus.enable = %%opusid.codecselected%%
account.1.codec.opus.priority = %%opusid.priority%%
account.1.codec.opus.rtpmap = 112
account.1.codec.pcmu.enable = %%pcmuid.codecselected%%
account.1.codec.pcmu.priority = %%pcmuid.priority%%
account.1.codec.pcma.enable = %%pcmaid.codecselected%%
account.1.codec.pcma.priority = %%pcmaid.priority%%
account.1.codec.opus.para = Opus-WB
and finally, the messiest:
Code:
<Codecspriorities>
<Codecspriority variableName="codec1" PayloadTypeName="payload1" priority="1">
<!--The first entry is the selected entry in management console. codec1 will be replaced by value, payload1 will be replaced by payload-->
<option value="0" payload="PCMU">PCMU</option>
<option value="8" payload="PCMA">PCMA</option>
<option value="18" payload="G729">G729</option>
<option value="9" payload="G722">G722</option>
<option value="112" payload="opus" id="opusid">Opus(16kHz)</option>
</Codecspriority>
<Codecspriority variableName="codec2" PayloadTypeName="payload2" priority="2">
<!--The first entry is the selected entry in management console-->
<option value="8" payload="PCMA">PCMA</option>
<option value="112" payload="opus" id="opusid">Opus(16kHz)</option>
<option value="0" payload="PCMU">PCMU</option>
<option value="18" payload="G729">G729</option>
<option value="9" payload="G722">G722</option>
</Codecspriority>
<Codecspriority variableName="codec3" PayloadTypeName="payload3" priority="3">
<!--The first entry is the selected entry in management console-->
<option value="9" payload="G722">G722</option>
<option value="0" payload="PCMU">PCMU</option>
<option value="8" payload="PCMA">PCMA</option>
<option value="112" payload="opus" id="opusid">Opus(16kHz)</option>
<option value="18" payload="G729">G729</option>
</Codecspriority>
<Codecspriority variableName="codec4" PayloadTypeName="payload4" priority="4">
<!--The first entry is the selected entry in management console-->
<option value="18" payload="G729">G729</option>
<option value="0" payload="PCMU">PCMU</option>
<option value="8" payload="PCMA">PCMA</option>
<option value="112" payload="opus" id="opusid">Opus(16kHz)</option>
<option value="9" payload="G722">G722</option>
</Codecspriority>
<Codecspriority variableName="codec5" PayloadTypeName="payload5" priority="5">
<!--The first entry is the selected entry in management console-->
<option value="112" payload="opus" id="opusid">Opus(16kHz)</option>
<option value="9" payload="G722">G722</option>
<option value="0" payload="PCMU">PCMU</option>
<option value="8" payload="PCMA">PCMA</option>
<option value="112" payload="opus" id="opusid">Opus(16kHz)</option>
<option value="18" payload="G729">G729</option>
</Codecspriority>
</Codecspriorities>