Rename public_mode to grandstream_public_mode.
This commit is contained in:
parent
18f9c7a26f
commit
3311363c27
|
|
@ -2945,25 +2945,20 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -3023,25 +3023,20 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -3836,25 +3836,20 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -5056,23 +5056,22 @@
|
|||
<!-- # String -->
|
||||
<P76></P76>
|
||||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -6098,25 +6098,20 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -6973,25 +6973,20 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -6275,10 +6275,6 @@
|
|||
<!-- # String: a-z, A-Z, 0-9, ".", ":" -->
|
||||
<P101></P101>
|
||||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
<P76></P76>
|
||||
|
||||
<!-- # Delay Registration. Default is 0. -->
|
||||
<!-- # Number: 0 - 90 -->
|
||||
<!-- # Mandatory -->
|
||||
|
|
@ -6288,19 +6284,19 @@
|
|||
<!-- # Number: 0, 1. 0 - No, 1 - Yes. -->
|
||||
<P8468>0</P8468>
|
||||
|
||||
<!-- # Enable Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -2446,25 +2446,24 @@
|
|||
<!-- Use NAT IP. This will enable our SIP client to use this IP in the SIP/SDP message. Example 64.3.153.50 -->
|
||||
<!-- String: a-z, A-Z, 0-9, ".", ":" -->
|
||||
<P101></P101>
|
||||
<!-- STUN server -->
|
||||
<!-- String -->
|
||||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
<!-- Public Mode. 0 - No. 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
<!-- ############################################################################# -->
|
||||
<!-- # Settings/Call Features -->
|
||||
<!-- ############################################################################# -->
|
||||
|
|
|
|||
|
|
@ -3569,12 +3569,21 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
<!-- ############################################################################## -->
|
||||
<!-- ## Settings/Call Features -->
|
||||
<!-- ############################################################################## -->
|
||||
|
|
|
|||
|
|
@ -6940,25 +6940,20 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -6943,25 +6943,20 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -6942,23 +6942,22 @@
|
|||
<!-- # String -->
|
||||
<P76></P76>
|
||||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -6942,23 +6942,22 @@
|
|||
<!-- # String -->
|
||||
<P76></P76>
|
||||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -6944,7 +6944,8 @@
|
|||
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }<P76>{$grandstream_stun_server}</P76>
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
|
|
@ -6952,20 +6953,11 @@
|
|||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
|
||||
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
|
|
|
|||
|
|
@ -2959,29 +2959,23 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 -->
|
|||
<!-- Use NAT IP. This will enable our SIP client to use this IP in the SIP/SDP message. Example 64.3.153.50 -->
|
||||
<!-- String: a-z, A-Z, 0-9, ".", ":" -->
|
||||
<P101></P101>
|
||||
<!-- STUN Server -->
|
||||
<!-- String -->
|
||||
<!-- # STUN server -->
|
||||
<!-- # String -->
|
||||
{if isset($grandstream_stun_server) }
|
||||
<P76>{$grandstream_stun_server}</P76>
|
||||
{else}
|
||||
<P76></P76>
|
||||
{/if}
|
||||
<!-- Public Mode. 0 - No. 1 - Yes. Default is 0 -->
|
||||
<!-- Number: 0, 1 -->
|
||||
<!-- Mandatory -->
|
||||
{if isset($public_mode) }
|
||||
{if $public_mode|strtolower == 'true'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode|strtolower == 'yes'}
|
||||
<P1345>1</P1345>
|
||||
{elseif $public_mode == '1'}
|
||||
<P1345>1</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
|
||||
<!-- # Number: 0, 1 -->
|
||||
<!-- # Mandatory -->
|
||||
{if isset($grandstream_public_mode) }
|
||||
<P1345>{$grandstream_public_mode}</P1345>
|
||||
{else}
|
||||
<P1345>0</P1345>
|
||||
{/if}
|
||||
|
||||
<!-- Settings/Call Features -->
|
||||
<!-- Off-hook Auto Dial -->
|
||||
<!-- String -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue