mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add grandstream_dnssrv_transport setting to GRP and GXP21xx templates (#6104)
* Add grandstream_dnssrv_transport setting to GRP and GXP21xx templates Add grandstream_dnssrv_transport setting to enable setting of transport when dns/srv is selected. Added on GRP and GXP 21xx templates. * Update app_config.php Co-authored-by: FusionPBX <markjcrane@gmail.com>
This commit is contained in:
committed by
GitHub
parent
99c049ab6f
commit
1a943e5e27
@@ -782,6 +782,14 @@
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "643bd502-9052-45a8-9811-5d42669a4a89";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_dnssrv_transport";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "SIP transport if dns/srv is selected. Value options - udp, tcp, tls. ";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2aebb9db-ade3-4983-bffc-a53be0ad30d2";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_disable_active_mpk_page";
|
||||
|
||||
@@ -220,7 +220,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1181,7 +1189,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -220,7 +220,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1181,7 +1189,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -220,7 +220,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1181,7 +1189,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2133,7 +2149,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -220,7 +220,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1181,7 +1189,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2133,7 +2149,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3086,7 +3110,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -220,7 +220,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1197,7 +1205,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2165,7 +2181,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3134,7 +3158,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4104,7 +4136,15 @@
|
||||
{if $account.5.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1748>{$tp}</P1748>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -220,7 +220,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1181,7 +1189,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2133,7 +2149,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3086,7 +3110,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4040,7 +4072,15 @@
|
||||
{if $account.5.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1748>{$tp}</P1748>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4993,7 +5033,15 @@
|
||||
{if $account.6.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1848>{$tp}</P1848>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -214,7 +214,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -1195,7 +1203,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2166,7 +2182,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3139,7 +3163,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4114,7 +4146,15 @@
|
||||
{if $account.5.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P748>{$tp}</P748>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -224,7 +224,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1185,7 +1193,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2137,7 +2153,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3089,7 +3113,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4043,7 +4075,15 @@
|
||||
{if $account.5.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1748>{$tp}</P1748>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4996,7 +5036,15 @@
|
||||
{if $account.6.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1848>{$tp}</P1848>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -224,7 +224,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1185,7 +1193,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2137,7 +2153,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3089,7 +3113,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4043,7 +4075,15 @@
|
||||
{if $account.5.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1748>{$tp}</P1748>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4996,7 +5036,15 @@
|
||||
{if $account.6.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1848>{$tp}</P1848>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -224,7 +224,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1185,7 +1193,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2137,7 +2153,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3089,7 +3113,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4043,7 +4075,15 @@
|
||||
{if $account.5.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1748>{$tp}</P1748>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4996,7 +5036,15 @@
|
||||
{if $account.6.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1848>{$tp}</P1848>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -224,7 +224,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1185,7 +1193,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2137,7 +2153,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3089,7 +3113,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4043,7 +4075,15 @@
|
||||
{if $account.5.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1748>{$tp}</P1748>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4996,7 +5036,15 @@
|
||||
{if $account.6.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1848>{$tp}</P1848>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
@@ -224,7 +224,15 @@
|
||||
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.1.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P130>{$tp}</P130>
|
||||
|
||||
|
||||
@@ -1185,7 +1193,15 @@
|
||||
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P448>{$tp}</P448>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -2137,7 +2153,15 @@
|
||||
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P548>{$tp}</P548>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -3089,7 +3113,15 @@
|
||||
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P648>{$tp}</P648>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4043,7 +4075,15 @@
|
||||
{if $account.5.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1748>{$tp}</P1748>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
@@ -4996,7 +5036,15 @@
|
||||
{if $account.6.sip_transport == 'udp'}{$tp=0}{/if}
|
||||
{if $account.6.sip_transport == 'tcp'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'tls'}{$tp=2}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}{$tp=1}{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}
|
||||
{if isset($grandstream_dnssrv_transport)}
|
||||
{if $grandstream_dnssrv_transport == 'udp'}{$tp=0}
|
||||
{elseif $grandstream_dnssrv_transport == 'tls'}{$tp=2}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{else}{$tp=1}
|
||||
{/if}
|
||||
{/if}
|
||||
<P1848>{$tp}</P1848>
|
||||
|
||||
<!-- # SIP Listening Mode. -->
|
||||
|
||||
Reference in New Issue
Block a user