[ht814] Grandstream escape html and sip_port (#6457)
This commit is contained in:
parent
3d0fe368ac
commit
04d3b0bfe0
|
|
@ -16,7 +16,7 @@
|
||||||
<!-- # Admin password for web interface -->
|
<!-- # Admin password for web interface -->
|
||||||
<!-- # String; between ascii values 33 and 126 -->
|
<!-- # String; between ascii values 33 and 126 -->
|
||||||
<!-- # Mandatory -->
|
<!-- # Mandatory -->
|
||||||
<P2>{$admin_password}</P2>
|
<P2>{$admin_password|escape: 'html'}</P2>
|
||||||
|
|
||||||
|
|
||||||
<!-- # Layer 2 QoS. -->
|
<!-- # Layer 2 QoS. -->
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
|
|
||||||
<!-- # HTTP/HTTPS Password -->
|
<!-- # HTTP/HTTPS Password -->
|
||||||
<!-- # String; between ascii values 33 and 126 -->
|
<!-- # String; between ascii values 33 and 126 -->
|
||||||
<P1361>{$http_auth_password}</P1361>
|
<P1361>{$http_auth_password|escape: 'html'}</P1361>
|
||||||
|
|
||||||
<!-- # Firmware File Prefix -->
|
<!-- # Firmware File Prefix -->
|
||||||
<!-- # String; between ascii values 33 and 126 -->
|
<!-- # String; between ascii values 33 and 126 -->
|
||||||
|
|
@ -503,8 +503,11 @@
|
||||||
|
|
||||||
<!-- # Primary SIP Server -->
|
<!-- # Primary SIP Server -->
|
||||||
<!-- # Server address -->
|
<!-- # Server address -->
|
||||||
|
{if $account.1.sip_transport != 'dns srv'}
|
||||||
|
<P47>{$account.1.server_address}:{$account.1.sip_port}</P47>
|
||||||
|
{else}
|
||||||
<P47>{$account.1.server_address}</P47>
|
<P47>{$account.1.server_address}</P47>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<!-- # Failover SIP Server -->
|
<!-- # Failover SIP Server -->
|
||||||
<!-- # Server address -->
|
<!-- # Server address -->
|
||||||
|
|
@ -961,7 +964,7 @@
|
||||||
<!-- # Dial Plan -->
|
<!-- # Dial Plan -->
|
||||||
<!-- # String -->
|
<!-- # String -->
|
||||||
{if isset($grandstream_dial_plan) }
|
{if isset($grandstream_dial_plan) }
|
||||||
<P4200>{$grandstream_dial_plan}</P4200>
|
<P4200>{$grandstream_dial_plan|escape: 'html'}</P4200>
|
||||||
{else}
|
{else}
|
||||||
<P4200>{literal}{ x+ | *x+ | *xx*x+ }{/literal}</P4200>
|
<P4200>{literal}{ x+ | *x+ | *xx*x+ }{/literal}</P4200>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
@ -1744,7 +1747,7 @@
|
||||||
<P28161>0</P28161>
|
<P28161>0</P28161>
|
||||||
|
|
||||||
<!-- # Management Access. 0- Management Interface Only, 1 - Both Services and Management Interfaces -->
|
<!-- # Management Access. 0- Management Interface Only, 1 - Both Services and Management Interfaces -->
|
||||||
<!-- # Number: 0, 1 -->
|
<!-- # Number: 0, 1 -->
|
||||||
<!-- # Mandatory -->
|
<!-- # Mandatory -->
|
||||||
<P28162>0</P28162>
|
<P28162>0</P28162>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue