mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-08 04:33:49 +00:00
Fix the Grandstream GRP sip.transport
This commit is contained in:
@@ -227,10 +227,10 @@
|
||||
<!-- 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}
|
||||
{if $row.sip_transport == ''}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'udp'}<item name="account.{$row.line_number}.sip.transport">0</item>{/if}
|
||||
{if $row.sip_transport == 'tcp'}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'tls'}<item name="account.{$row.line_number}.sip.transport">2</item>{/if}
|
||||
|
||||
<!-- SIP Listening Mode -->
|
||||
<!-- Transport_Only, Dual, Dual_BLF_Enforced, Dual_Secured -->
|
||||
|
||||
@@ -227,10 +227,10 @@
|
||||
<!-- 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}
|
||||
{if $row.sip_transport == ''}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'udp'}<item name="account.{$row.line_number}.sip.transport">0</item>{/if}
|
||||
{if $row.sip_transport == 'tcp'}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'tls'}<item name="account.{$row.line_number}.sip.transport">2</item>{/if}
|
||||
|
||||
<!-- SIP Listening Mode -->
|
||||
<!-- Transport_Only, Dual, Dual_BLF_Enforced, Dual_Secured -->
|
||||
|
||||
@@ -227,10 +227,10 @@
|
||||
<!-- 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}
|
||||
{if $row.sip_transport == ''}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'udp'}<item name="account.{$row.line_number}.sip.transport">0</item>{/if}
|
||||
{if $row.sip_transport == 'tcp'}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'tls'}<item name="account.{$row.line_number}.sip.transport">2</item>{/if}
|
||||
|
||||
<!-- SIP Listening Mode -->
|
||||
<!-- Transport_Only, Dual, Dual_BLF_Enforced, Dual_Secured -->
|
||||
|
||||
@@ -227,10 +227,10 @@
|
||||
<!-- 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}
|
||||
{if $row.sip_transport == ''}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'udp'}<item name="account.{$row.line_number}.sip.transport">0</item>{/if}
|
||||
{if $row.sip_transport == 'tcp'}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'tls'}<item name="account.{$row.line_number}.sip.transport">2</item>{/if}
|
||||
|
||||
<!-- SIP Listening Mode -->
|
||||
<!-- Transport_Only, Dual, Dual_BLF_Enforced, Dual_Secured -->
|
||||
|
||||
@@ -227,10 +227,10 @@
|
||||
<!-- 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}
|
||||
{if $row.sip_transport == ''}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'udp'}<item name="account.{$row.line_number}.sip.transport">0</item>{/if}
|
||||
{if $row.sip_transport == 'tcp'}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'tls'}<item name="account.{$row.line_number}.sip.transport">2</item>{/if}
|
||||
|
||||
<!-- SIP Listening Mode -->
|
||||
<!-- Transport_Only, Dual, Dual_BLF_Enforced, Dual_Secured -->
|
||||
|
||||
@@ -227,10 +227,10 @@
|
||||
<!-- 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}
|
||||
{if $row.sip_transport == ''}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'udp'}<item name="account.{$row.line_number}.sip.transport">0</item>{/if}
|
||||
{if $row.sip_transport == 'tcp'}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'tls'}<item name="account.{$row.line_number}.sip.transport">2</item>{/if}
|
||||
|
||||
<!-- SIP Listening Mode -->
|
||||
<!-- Transport_Only, Dual, Dual_BLF_Enforced, Dual_Secured -->
|
||||
|
||||
@@ -147,8 +147,11 @@
|
||||
|
||||
<!-- SIP Transport -->
|
||||
<!-- UDP, TCP, TlsOrTcp -->
|
||||
<item name="account.{$line}.sip.transport">{if $row.sip_transport=='tcp'}TCP{elseif $row.sip_transport=='tls'}Tls Or Tcp{else}UDP{/if}</item>
|
||||
|
||||
{if $row.sip_transport == ''}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'udp'}<item name="account.{$row.line_number}.sip.transport">0</item>{/if}
|
||||
{if $row.sip_transport == 'tcp'}<item name="account.{$row.line_number}.sip.transport">1</item>{/if}
|
||||
{if $row.sip_transport == 'tls'}<item name="account.{$row.line_number}.sip.transport">2</item>{/if}
|
||||
|
||||
<!-- SIP Listening Mode -->
|
||||
<!-- TransportOnly, Dual, Dual_BLF_Enforced, Dual_Secured -->
|
||||
<item name="account.{$line}.sip.listeningMode">TransportOnly</item>
|
||||
|
||||
Reference in New Issue
Block a user