I've been researching this for a day or so now as I couldn't get handsets to provision with tls and wanted to document it. I'm using the template for the grp2612 as an example but it probably applies to any grp model.
The template shows this for the sip transport
Therefore the final {if} should read
Incidentally there are no templates for the grp260x but those for the grp2612 work for the grp260x
The template shows this for the sip transport
Now this doesn't provision the handset with tls when the sip transport in Accounts->Devices to TLS. There are 2 reasons for this<!-- SIP Transport -->
<!-- UDP, TCP, Tls Or Tcp -->
<!-- Pvalue P130 -->
{if $row.sip_transport == ''}<item name="account.{$row.line_number}.sip.transport">TCP</item>{/if}
{if $row.sip_transport == 'UDP'}<item name="account.{$row.line_number}.sip.transport">UDP</item>{/if}
{if $row.sip_transport == 'TCP'}<item name="account.{$row.line_number}.sip.transport">TCP</item>{/if}
{if $row.sip_transport == 'TLS'}<item name="account.{$row.line_number}.sip.transport">Tls</item>{/if}
- When you set the transport in Accounts->Devices to TLS it's stored in the database as tls. Hence the variable $row.sip_transport evaluates to tls and not TLS.
- The template documentation show the relevant values for entry as
That is there are three values, UDP, TCP and Tls Or Tcp<!-- SIP Transport -->
<!-- UDP, TCP, Tls Or Tcp -->
Therefore the final {if} should read
This has been tested on a GRP2612, grp2602 and a grp2614.{if $row.sip_transport == 'tls'}<item name="account.{$row.line_number}.sip.transport">Tls Or Tcp</item>{/if}
Incidentally there are no templates for the grp260x but those for the grp2612 work for the grp260x
Last edited: