2018-02-23 23:09:19 +01:00
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Grandstream XML Provisioning Configuration -->
2017-04-01 07:49:03 +02:00
<gs_provision version= "1" >
2017-06-09 00:21:47 +02:00
<mac > {$mac|replace:'-':''}</mac>
<config version= "1" >
2018-10-10 03:29:16 +02:00
<!-- ########################################################################################## -->
2018-02-23 23:09:19 +01:00
<!-- ## Configuration Template For GXP2130/2140/2160/2170/2135 Firmware Version 1.0.9.26 ## -->
<!-- ########################################################################################## -->
<!-- #################################################################### -->
<!-- # Account Settings ## -->
<!-- #################################################################### -->
<!-- #################################################################### -->
<!-- # Account 1 ## -->
<!-- #################################################################### -->
<!-- ############################################################### -->
<!-- # Account 1/General Settings -->
<!-- ############################################################### -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P271 > 1</P271>
<!-- Account Name -->
<!-- String -->
<P270 > {$display_name_1}</P270>
<!-- SIP Server -->
<!-- String -->
<P47 > {$server_address_1}</P47>
<!-- Secondary SIP Server -->
<!-- String -->
<P2312 > {$secondary_server_address_1}</P2312>
<!-- Outbound Proxy -->
<!-- String -->
2018-10-10 03:29:16 +02:00
<P48 > {$outbound_proxy_primary}</P48>
2017-06-09 00:21:47 +02:00
<!-- Backup Outbound Proxy -->
<!-- String -->
2018-10-10 03:29:16 +02:00
<P2333 > {$outbound_proxy_secondary}</P2333>
2017-06-09 00:21:47 +02:00
<!-- BLF Server -->
<!-- String -->
<P2375 > </P2375>
<!-- SIP User ID -->
<!-- String -->
<P35 > {$user_id_1}</P35>
<!-- Authenticate ID -->
<!-- String -->
<P36 > {$auth_id_1}</P36>
<!-- Authenticate Password -->
<!-- String -->
<P34 > {$user_password_1}</P34>
<!-- Name -->
<!-- String -->
<P3 > {$display_name_1}</P3>
<!-- Voice Mail UserID -->
<!-- String -->
<P33 > *97</P33>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/Network Settings -->
<!-- ############################################################### -->
<!-- # DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_dns_mode)}
<P103 > {$grandstream_dns_mode}</P103>
2017-06-09 00:21:47 +02:00
{else}
<P103 > 0</P103>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # DNS SRV Fail - over Mode. 0 - Default, 1 - Saved one until DNS TTL, 2 - Saved one until no response. Default is 0 -->
<!-- # Number: 0,1,2 -->
2017-06-09 00:21:47 +02:00
<P26040 > 0</P26040>
2018-02-23 23:09:19 +01:00
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2308 > </P2308>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2309 > </P2309>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2310 > </P2310>
2018-02-23 23:09:19 +01:00
<!-- # NAT Traversal. 0 - No, 1 - STUN, 2 - keep alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_nat_traversal)}
<P52 > {$grandstream_nat_traversal}</P52>
2017-06-09 00:21:47 +02:00
{else}
<P52 > 0</P52>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P197 > </P197>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Basic Settings -->
<!-- ############################################################### -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P63 > 0</P63>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
2018-10-10 03:29:16 +02:00
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P31 > 1</P31>
2018-02-23 23:09:19 +01:00
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P81 > 0</P81>
2018-02-23 23:09:19 +01:00
<!-- # Register Expiration (in minutes). Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
2018-06-20 18:20:37 +02:00
<P32 > {$register_expires_1}</P32>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
2017-06-09 00:21:47 +02:00
<P26051 > 60</P26051>
2018-02-23 23:09:19 +01:00
<!-- # Reregister Before Expiration (in seconds). Default is 0 second -->
<!-- # Number: 0 - 64800 -->
2017-06-09 00:21:47 +02:00
<P2330 > 0</P2330>
2018-02-23 23:09:19 +01:00
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<P2397 > 0</P2397>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<P2398 > 30</P2398>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<P2399 > 30</P2399>
<!-- # Local SIP Port. Default is 5060 -->
<!-- # Number -->
2017-06-09 00:21:47 +02:00
<P40 > 5060</P40>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
2017-06-09 00:21:47 +02:00
<P138 > 20</P138>
2018-02-23 23:09:19 +01:00
<!-- # SIP T1 Timeout. RFC 3261 T1 value (RTT estimate) -->
<!-- # 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec. Default is 50 -->
<!-- # Number: 50, 100, 200 -->
2017-06-09 00:21:47 +02:00
<P209 > 50</P209>
2018-02-23 23:09:19 +01:00
<!-- # SIP T2 Timeout. RFC 3261 T2 value. The maximum retransmit interval for non - INVITE requests and INVITE responses -->
<!-- # 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default is 400 -->
<!-- # Number: 200, 400, 800 -->
2017-06-09 00:21:47 +02:00
<P250 > 400</P250>
2018-02-23 23:09:19 +01:00
<!-- # SIP Transport. 0 - UDP, 1 - TCP, 2 - TLS/TCP. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
{$tp=0}
{if $sip_transport_1 == 'udp'}{$tp=0}{/if}
{if $sip_transport_1 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_1 == 'tls'}{$tp=2}{/if}
{if $sip_transport_1 == 'dns srv'}{$tp=1}{/if}
<P130 > {$tp}</P130>
2018-02-23 23:09:19 +01:00
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
2017-06-09 00:21:47 +02:00
<P26024 > 0</P26024>
2018-02-23 23:09:19 +01:00
<!-- # SIP URI Scheme when using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2329 > 1</P2329>
2018-02-23 23:09:19 +01:00
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2331 > 0</P2331>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2305 > 0</P2305>
2018-02-23 23:09:19 +01:00
<!-- # Support SIP Instance ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P288 > 1</P288>
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for MWI. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($subscribe_mwi)}
<P99 > 1</P99>
{else}
<P99 > 0</P99>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2319 > 0</P2319>
2018-02-23 23:09:19 +01:00
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P272 > 0</P272>
2018-02-23 23:09:19 +01:00
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26025 > 0</P26025>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-28 06:58:45 +02:00
<P2324 > 0</P2324>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2359 > 0</P2359>
2018-02-23 23:09:19 +01:00
<!-- # Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26015 > 0</P26015>
2018-02-23 23:09:19 +01:00
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26018 > 0</P26018>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2338 > 0</P2338>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2339 > 0</P2339>
2018-02-23 23:09:19 +01:00
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26054 > 1</P26054>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26058 > 1</P26058>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26059 > 1</P26059>
2018-02-23 23:09:19 +01:00
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P26061 > 1</P26061>
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Advanced Features -->
<!-- ############################################################### -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
2017-06-09 00:21:47 +02:00
<P2313 > 15</P2313>
2018-10-10 03:29:16 +02:00
<!-- # Eventlist BLF URI -->
<!-- # String -->
<!-- <P134></P134> -->
2018-02-23 23:09:19 +01:00
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
2017-06-09 00:21:47 +02:00
<P2389 > 0</P2389>
2018-02-23 23:09:19 +01:00
<!-- # Conference URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2318 > </P2318>
2018-02-23 23:09:19 +01:00
<!-- # Music On Hold URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2350 > </P2350>
2018-02-23 23:09:19 +01:00
<!-- # Force BLF Call - pickup by prefix. 0 - Disable, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6752 > 0</P6752>
2018-02-23 23:09:19 +01:00
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1347 > **</P1347>
2018-02-23 23:09:19 +01:00
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26046 > </P26046>
2018-02-23 23:09:19 +01:00
<!-- # PUBLISH for Presence. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P188 > 0</P188>
2018-02-23 23:09:19 +01:00
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2355 > 0</P2355>
2018-02-23 23:09:19 +01:00
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26023 > 0</P26023>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, -->
<!-- # 109 - RNK, 110 - Sylantro, 117 - Huawei IMS, 119 - Phonepower -->
<!-- # Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117, 119 -->
2017-06-09 00:21:47 +02:00
<P198 > 100</P198>
2018-10-10 03:29:16 +02:00
<!-- # Broadsoft Features, might be useful in the future -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P2341>0</P2341> -->
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P2342>0</P2342> -->
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<!-- <P2343>0</P2343> -->
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P2364>0 </P2364> -->
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<!-- <P2325>0</P2325> -->
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P2388>0</P2388> -->
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Session Timer -->
<!-- ############################################################### -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2395 > 1</P2395>
2018-02-23 23:09:19 +01:00
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P260 > 180</P260>
2018-02-23 23:09:19 +01:00
<!-- # Minimum SE (in seconds). Default is 90. This value must be lower than or equal to P260 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P261 > 90</P261>
2018-02-23 23:09:19 +01:00
<!-- # Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P262 > 0</P262>
2018-02-23 23:09:19 +01:00
<!-- # Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P263 > 0</P263>
2018-02-23 23:09:19 +01:00
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P264 > 0</P264>
2018-02-23 23:09:19 +01:00
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P266 > 0</P266>
2018-02-23 23:09:19 +01:00
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
2017-06-09 00:21:47 +02:00
<P267 > 1</P267>
2018-02-23 23:09:19 +01:00
<!-- # Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE). -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P265 > 0</P265>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Security Settings -->
<!-- ############################################################### -->
<!-- # Check Domain Certificates. When set to Yes/Enabled, domain certificate will be checked as defined in RFC5922 -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2311 > 0</P2311>
2018-10-09 06:33:27 +02:00
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2367 > 0</P2367>
2018-02-23 23:09:19 +01:00
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2306 > 0</P2306>
2018-02-23 23:09:19 +01:00
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P258 > 0</P258>
2018-02-23 23:09:19 +01:00
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-05-29 01:30:25 +02:00
<P2347 > 1</P2347>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2346 > 0</P2346>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/Audio Settings -->
<!-- ############################################################### -->
<!-- # Preferred Vocoder -->
<!-- # 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P57 > 0</P57>
2018-02-23 23:09:19 +01:00
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P58 > 8</P58>
2018-02-23 23:09:19 +01:00
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P59 > 4</P59>
2018-02-23 23:09:19 +01:00
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P60 > 18</P60>
2018-02-23 23:09:19 +01:00
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P61 > 9</P61>
2018-02-23 23:09:19 +01:00
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P62 > 98</P62>
2018-02-23 23:09:19 +01:00
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P46 > 2</P46>
2018-02-23 23:09:19 +01:00
<!-- # choice 8. Default is 125 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<P98 > 125</P98>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2348 > 0</P2348>
2018-02-23 23:09:19 +01:00
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<P29061 > 1</P29061>
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
2017-06-09 00:21:47 +02:00
<P26047 > 0</P26047>
2018-02-23 23:09:19 +01:00
<!-- # Disable Multiple m line in SDP -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P137 > 0</P137>
2018-02-23 23:09:19 +01:00
<!-- # SRTP Mode. 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_srtp)}
2018-04-06 17:13:26 +02:00
<P183 > {$grandstream_srtp}</P183>
2018-03-30 20:42:10 +02:00
{else}
2017-06-09 00:21:47 +02:00
<P183 > 0</P183>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<P2383 > 0</P2383>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2363 > 0</P2363>
2018-02-23 23:09:19 +01:00
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P291 > 0</P291>
2018-02-23 23:09:19 +01:00
<!-- # Silence Suppression. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P50 > 0</P50>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P133 > 1</P133>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Length. 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms -->
<!-- # Default is 2 -->
<!-- # Number: 0, 1, 2, 3, 4, 5, 6, 7 -->
2017-06-09 00:21:47 +02:00
<P132 > 2</P132>
2018-02-23 23:09:19 +01:00
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
2017-06-09 00:21:47 +02:00
<P37 > 2</P37>
2018-02-23 23:09:19 +01:00
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P49 > 1</P49>
2018-02-23 23:09:19 +01:00
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2323 > 0</P2323>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P97 > 1</P97>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P96 > 97</P96>
2018-02-23 23:09:19 +01:00
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P2385 > 123</P2385>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P79 > 101</P79>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2301 > 0</P2301>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2302 > 1</P2302>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2303 > 0</P2303>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
2017-06-09 00:21:47 +02:00
<P26060 > 250</P26060>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/Call Settings -->
<!-- ############################################################### -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P29 > 0</P29>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan Prefix -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P66 > </P66>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan. Default value is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
2018-02-21 21:03:07 +01:00
<P290 > {$grandstream_dial_plan}</P290>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call Log. 0 - Log All Calls, 1 - Log Incoming/Outgoing only (missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2018-10-09 06:33:27 +02:00
<!-- <P182>0</P182> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-10-10 03:29:16 +02:00
{if isset($grandstream_account_ring_tone_1)}
<P104 > {$grandstream_account_ring_tone_1}</P104>
2018-10-04 21:26:52 +02:00
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
2018-06-20 18:20:37 +02:00
<P1488 > ring1</P1488>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-06-20 18:20:37 +02:00
<P1489 > 1</P1489>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
<!-- # String -->
2018-06-20 18:20:37 +02:00
<P1490 > ring2</P1490>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 2 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-06-20 18:20:37 +02:00
<P1491 > 2</P1491>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
<!-- # String -->
2018-10-09 06:33:27 +02:00
<P1492 > ring3</P1492>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 3 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-06-20 18:20:37 +02:00
<P1493 > 3</P1493>
2018-02-23 23:09:19 +01:00
<!-- # Ring Timeout (in seconds). Default is 60 -->
<!-- # Number: 30 - 3600 -->
2017-06-09 00:21:47 +02:00
<P1328 > 60</P1328>
2018-02-23 23:09:19 +01:00
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P65 > 0</P65>
2018-02-23 23:09:19 +01:00
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P129 > 0</P129>
2018-02-23 23:09:19 +01:00
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P90 > 0</P90>
2018-02-23 23:09:19 +01:00
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P135 > 0</P135>
2018-02-23 23:09:19 +01:00
<!-- # Transfer on Conference HangUp. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2304 > 0</P2304>
2018-02-23 23:09:19 +01:00
<!-- # Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-10-09 06:33:27 +02:00
<P2384 > 0</P2384>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<P26070 > 30</P26070>
<!-- # No Key Entry Timeout (in seconds). Default is 4 -->
<!-- # Number: 1 - 15 -->
2017-06-09 00:21:47 +02:00
<P85 > 4</P85>
2018-02-23 23:09:19 +01:00
<!-- # Key as Send. 0 - Disabled, 1 - Pound (#), 2 - Star (*). Default is 1 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P72 > 1</P72>
2018-02-23 23:09:19 +01:00
<!-- # On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26006 > 0</P26006>
2018-02-23 23:09:19 +01:00
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<P26062 > 1</P26062>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26049 > </P26049>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<P26050 > 0</P26050>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2018-10-09 06:33:27 +02:00
<P26063 > {$grandstream_call_waiting}</P26063>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-10-09 06:33:27 +02:00
<P298 > 1</P298>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26019 > 0</P26019>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26071 > 0</P26071>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26072 > 0</P26072>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Custom Call - Info for Auto Answer. -->
<!-- # String -->
<P2356 > </P2356>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 1/Feature Codes -->
<!-- ############################################################### -->
<!-- #Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- #Number: 0, 1 -->
2018-06-20 18:20:37 +02:00
<!-- # This must be 0 for FusionPBX features to work!!! -->
<P191 > 0</P191>
2018-02-23 23:09:19 +01:00
2018-10-10 03:29:16 +02:00
<!-- #Do Not Disturb (DND) - On -->
<!-- # String -->
<!-- <P2344></P2344> -->
<!-- #Do Not Disturb (DND) - Off -->
<!-- # String -->
<!-- <P2345></P2345> -->
<!-- #Call Forward Unconditionally (All) - On -->
<!-- # String -->
<!-- <P26013></P26013> -->
<!-- #Call Forward Unconditionally (All) - Off -->
<!-- # String -->
<!-- <P26014></P26014> -->
<!-- #Call Forward Busy - On -->
<!-- # String -->
<!-- <P26009></P26009> -->
<!-- #Call Forward Busy - Off -->
<!-- # String -->
<!-- <P26010></P26010> -->
<!-- #Call Forward Delayed (No Answer) - On -->
<!-- #String -->
<!-- <P26011></P26011> -->
<!-- #Call Forward Delayed (No Answer) - Off -->
<!-- #String -->
<!-- <P26012></P26012> -->
<!-- #Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- #Number: 1 - 120 -->
<!-- #Mandatory -->
<!-- <P139>20</P139> -->
2018-02-23 23:09:19 +01:00
<!-- #################################################################### -->
<!-- # Account 2 -->
<!-- #################################################################### -->
<!-- ############################################################### -->
<!-- # Account 2/General Settings -->
<!-- ############################################################### -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($user_password_2)}
<P401 > 1</P401>
{else}
<P401 > 0</P401>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Account Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P417 > {$display_name_2}</P417>
2018-02-23 23:09:19 +01:00
<!-- # SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P402 > {$server_address_2}</P402>
2018-02-23 23:09:19 +01:00
<!-- # Secondary SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2412 > </P2412>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P403 > {$outbound_proxy_2}</P403>
2018-02-23 23:09:19 +01:00
<!-- # Backup Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2433 > </P2433>
2018-02-23 23:09:19 +01:00
<!-- # BLF Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2475 > </P2475>
2018-02-23 23:09:19 +01:00
<!-- # SIP User ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P404 > {$user_id_2}</P404>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P405 > {$auth_id_2}</P405>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate password -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P406 > {$user_password_2}</P406>
2018-02-23 23:09:19 +01:00
<!-- # Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P407 > {$display_name_2}</P407>
2018-02-23 23:09:19 +01:00
<!-- # Voice Mail UserID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P426 > *97</P426>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 2/Network Settings -->
<!-- ############################################################### -->
<!-- # DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_dns_mode)}
<P408 > {$grandstream_dns_mode}</P408>
2017-06-09 00:21:47 +02:00
{else}
<P408 > 0</P408>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # DNS SRV Fail - over Mode. 0 - Default, 1 - Saved one until DNS TTL, 2 - Saved one until no response. Default is 0 -->
<!-- # Number: 0,1,2 -->
2017-06-09 00:21:47 +02:00
<P26140 > 0</P26140>
2018-02-23 23:09:19 +01:00
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2408 > </P2408>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2409 > </P2409>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2410 > </P2410>
2018-02-23 23:09:19 +01:00
<!-- # NAT Traversal. 0 - No, 1 - STUN, 2 - keep alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_nat_traversal)}
<P414 > {$grandstream_nat_traversal}</P414>
2017-06-09 00:21:47 +02:00
{else}
<P414 > 0</P414>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P418 > </P418>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Basic Settings -->
<!-- ############################################################### -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P409 > 0</P409>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P410 > 1</P410>
2018-02-23 23:09:19 +01:00
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P411 > 0</P411>
2018-02-23 23:09:19 +01:00
<!-- # Register Expiration (in minutes). Default is 60. Max is 45 days -->
<!-- # Number: 1 - 64800 -->
2018-06-20 18:20:37 +02:00
<P412 > {$register_expires_2}</P412>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
2017-06-09 00:21:47 +02:00
<P26151 > 60</P26151>
2018-02-23 23:09:19 +01:00
<!-- # Reregister before Expiration (in seconds). Default is 0 -->
<!-- # Number: 0 - 64800 -->
2017-06-09 00:21:47 +02:00
<P2430 > 0</P2430>
2018-02-23 23:09:19 +01:00
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<P2497 > 0</P2497>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<P2498 > 30</P2498>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<P2499 > 30</P2499>
<!-- # Local SIP port. Default is 5062 -->
<!-- # Number -->
2017-06-09 00:21:47 +02:00
<P413 > 5062</P413>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
2017-06-09 00:21:47 +02:00
<P471 > 20</P471>
2018-02-23 23:09:19 +01:00
<!-- # SIP T1 Timeout. RFC 3261 T1 value (RTT estimate) -->
<!-- # 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec. Default is 100 -->
<!-- # Number: 50, 100, 200 -->
2018-10-09 06:33:27 +02:00
<P440 > 100</P440>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SIP T2 Timeout. RFC 3261 T2 value. The maximum retransmit interval for non - INVITE requests and INVITE responses -->
<!-- # 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default is 400 -->
<!-- # Number: 200, 400, 800 -->
2017-06-09 00:21:47 +02:00
<P441 > 400</P441>
2018-02-23 23:09:19 +01:00
<!-- # SIP Transport. 0 - UDP, 1 - TCP, 2 - TCP/TLS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
{$tp=0}
{if $sip_transport_2 == 'udp'}{$tp=0}{/if}
{if $sip_transport_2 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_2 == 'tls'}{$tp=2}{/if}
{if $sip_transport_2 == 'dns srv'}{$tp=1}{/if}
<P448 > {$tp}</P448>
2018-03-30 20:42:10 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
2017-06-09 00:21:47 +02:00
<P26124 > 0</P26124>
2018-02-23 23:09:19 +01:00
<!-- # SIP URI Scheme when using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2429 > 1</P2429>
2018-02-23 23:09:19 +01:00
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2431 > 0</P2431>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2405 > 0</P2405>
2018-02-23 23:09:19 +01:00
<!-- # Support SIP Instance ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P489 > 1</P489>
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for MWI (Whether or not send SUBSCRIBE for Message Waiting Indication). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($subscribe_mwi)}
<P415 > 1</P415>
{else}
<P415 > 0</P415>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2419 > 0</P2419>
2018-02-23 23:09:19 +01:00
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P435 > 0</P435>
2018-02-23 23:09:19 +01:00
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26125 > 0</P26125>
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-28 06:58:45 +02:00
<P2424 > 0</P2424>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2459 > 0</P2459>
2018-02-23 23:09:19 +01:00
<!-- #Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26115 > 0 </P26115>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26118 > 0</P26118>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2438 > 0</P2438>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2439 > 0</P2439>
2018-02-23 23:09:19 +01:00
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26154 > 1</P26154>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26158 > 1</P26158>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26159 > 1</P26159>
2018-02-23 23:09:19 +01:00
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P26161 > 1</P26161>
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Advanced Features -->
<!-- ############################################################### -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
2017-06-09 00:21:47 +02:00
<P2413 > 15</P2413>
2018-02-23 23:09:19 +01:00
<!-- # Eventlist BLF URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P444 > </P444>
2018-02-23 23:09:19 +01:00
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
2017-06-09 00:21:47 +02:00
<P2489 > 0</P2489>
2018-02-23 23:09:19 +01:00
<!-- # Conference URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2418 > </P2418>
2018-02-23 23:09:19 +01:00
<!-- # Music On Hold URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2450 > </P2450>
2018-02-23 23:09:19 +01:00
<!-- # Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6753 > 0</P6753>
2018-02-23 23:09:19 +01:00
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P481 > **</P481>
2018-02-23 23:09:19 +01:00
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26146 > </P26146>
2018-02-23 23:09:19 +01:00
<!-- # PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P488 > 0</P488>
2018-02-23 23:09:19 +01:00
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2455 > 0</P2455>
2018-02-23 23:09:19 +01:00
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26123 > 0</P26123>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117. Default is 100 -->
2017-06-09 00:21:47 +02:00
<P424 > 100</P424>
2018-10-10 03:29:16 +02:00
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P2441>0</P2441> -->
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P2442>0</P2442> -->
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P2443>0</P2443> -->
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P2464>0</P2464> -->
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0. -->
<!-- # Number: 0, 1 -->
<!-- <P2425>0</P2425> -->
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0. -->
<!-- # Number: 0, 1 -->
<!-- <P2488>0</P2488> -->
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Session Timer -->
<!-- ############################################################### -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2495 > 1</P2495>
2018-02-23 23:09:19 +01:00
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P434 > 180</P434>
2018-02-23 23:09:19 +01:00
<!-- # Minimum SE (in seconds). Default is 90. This value must be lower than or equal to P434 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P427 > 90</P427>
2018-02-23 23:09:19 +01:00
<!-- # Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P428 > 0</P428>
2018-02-23 23:09:19 +01:00
<!-- # Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2017-06-09 00:21:47 +02:00
<P429 > 0</P429>
2018-02-23 23:09:19 +01:00
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P430 > 0 </P430>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P432 > 0</P432>
2018-02-23 23:09:19 +01:00
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
2017-06-09 00:21:47 +02:00
<P433 > 1</P433>
2018-02-23 23:09:19 +01:00
<!-- # Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P431 > 0</P431>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Security Settings -->
<!-- ############################################################### -->
<!-- # Check Domain Certificates. 0 - No, 1 - Yes. When set to Yes/Enabled, the domain certificate will be checked as defined in RFC5922 -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2411 > 0</P2411>
2018-02-23 23:09:19 +01:00
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2467 > 0</P2467>
2018-02-23 23:09:19 +01:00
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2406 > 0</P2406>
2018-02-23 23:09:19 +01:00
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P449 > 0</P449>
2018-02-23 23:09:19 +01:00
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-05-29 01:30:25 +02:00
<P2447 > 1</P2447>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2446 > 0</P2446>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 2/Audio Settings -->
<!-- ############################################################### -->
<!-- # Preferred Vocoder -->
<!-- # 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P451 > 0</P451>
2018-02-23 23:09:19 +01:00
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P452 > 8</P452>
2018-02-23 23:09:19 +01:00
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P453 > 4</P453>
2018-02-23 23:09:19 +01:00
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P454 > 18</P454>
2018-02-23 23:09:19 +01:00
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P455 > 9</P455>
2018-02-23 23:09:19 +01:00
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P456 > 98</P456>
2018-02-23 23:09:19 +01:00
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P457 > 2</P457>
2018-02-23 23:09:19 +01:00
<!-- # choice 8. Default is 125 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P458 > 125</P458>
2018-02-23 23:09:19 +01:00
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2448 > 0</P2448>
2018-02-23 23:09:19 +01:00
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<P29161 > 1</P29161>
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<P26147 > 0</P26147>
<!-- #Disable Multiple m line in SDP -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P487 > 0</P487>
2018-02-23 23:09:19 +01:00
<!-- # SRTP Mode -->
<!-- # 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_srtp)}
2018-04-06 17:13:26 +02:00
<P443 > {$grandstream_srtp}</P443>
2018-03-30 20:42:10 +02:00
{else}
2017-06-09 00:21:47 +02:00
<P443 > 0</P443>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<P2483 > 0</P2483>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2463 > 0</P2463>
2018-02-23 23:09:19 +01:00
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P460 > 0</P460>
2018-02-23 23:09:19 +01:00
<!-- # Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P485 > 0</P485>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
<P498 > 1</P498>
<!-- # Jitter Buffer Length. -->
<!-- # 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms. Default is 2 -->
<!-- # Number: 0, 1, 2, 3, 4, 5, 6, 7 -->
<P497 > 2</P497>
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
2017-06-09 00:21:47 +02:00
<P486 > 2</P486>
2018-02-23 23:09:19 +01:00
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P493 > 1</P493>
2018-02-23 23:09:19 +01:00
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2423 > 0</P2423>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P495 > 1</P495>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P494 > 97</P494>
2018-02-23 23:09:19 +01:00
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
<P2485 > 123</P2485>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
<P496 > 101</P496>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P2401 > 0</P2401>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P2402 > 1</P2402>
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P2403 > 0</P2403>
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
2017-06-09 00:21:47 +02:00
<P26160 > 250</P26160>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 2/Call Settings -->
<!-- ############################################################### -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P422 > 0</P422>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan Prefix -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P419 > </P419>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<P459 > {$grandstream_dial_plan}</P459>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call Log. 0 - Log All Calls, 1 - Log Incoming/Outgoing only (missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2018-10-09 06:33:27 +02:00
<!-- <P442>0</P442> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-10-09 06:33:27 +02:00
{if isset($grandstream_default_ringtone)
<P423 > {$grandstream_default_ringtone}</P423>
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
2018-10-09 06:33:27 +02:00
<P1494 > ring1</P1494>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-10-10 03:29:16 +02:00
<P1495 > 0</P1495>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 2. -->
<!-- # String -->
2018-10-09 06:33:27 +02:00
<P1496 > ring2</P1496>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 2 Distinctive Ringtone. -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-10-10 03:29:16 +02:00
<P1497 > 0</P1497>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 3. -->
<!-- # String -->
2018-10-09 06:33:27 +02:00
<P1498 > ring3</P1498>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 3 Distinctive Ringtone. -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-10-10 03:29:16 +02:00
<P1499 > 0</P1499>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Ring Timeout (in seconds) Default is 60 -->
<!-- # Number: 30 - 3600 -->
2017-06-09 00:21:47 +02:00
<P476 > 60</P476>
2018-02-23 23:09:19 +01:00
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P421 > 0</P421>
2018-02-23 23:09:19 +01:00
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P446 > 0</P446>
2018-02-23 23:09:19 +01:00
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P425 > 0</P425>
2018-02-23 23:09:19 +01:00
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P469 > 0</P469>
2018-02-23 23:09:19 +01:00
<!-- # Transfer on conference HangUp. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2404 > 0</P2404>
2018-02-23 23:09:19 +01:00
<!-- # Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2484 > 0</P2484>
2018-02-23 23:09:19 +01:00
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<P26170 > 30</P26170>
<!-- # No Key Entry Timeout. Default is 4 -->
<!-- # Number: 1 - 15 -->
2017-06-09 00:21:47 +02:00
<P491 > 4</P491>
2018-02-23 23:09:19 +01:00
<!-- # Use # As Dial Key. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P492 > 1</P492>
2018-02-23 23:09:19 +01:00
<!-- #On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26106 > 0</P26106>
2018-02-23 23:09:19 +01:00
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<P26162 > 1</P26162>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26149 > </P26149>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<P26150 > 0</P26150>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2018-10-09 06:33:27 +02:00
<P26163 > {$grandstream_call_waiting}</P26163>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 2/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-10-09 06:33:27 +02:00
<!-- Required set to 1 for Fusion intercom to work -->
<P438 > 1</P438>
2018-02-23 23:09:19 +01:00
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26119 > 0</P26119>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26171 > 0</P26171>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26172 > 0</P26172>
<!-- # Custom Call - Info for Auto Answer. -->
<!-- # String -->
<P2456 > </P2456>
<!-- ############################################################### -->
<!-- # Account 2/Feature Codes -->
<!-- ############################################################### -->
<!-- #Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- #Number: 0, 1 -->
2018-10-09 06:33:27 +02:00
<P420 > 0</P420>
2017-06-09 00:21:47 +02:00
2018-10-10 03:29:16 +02:00
<!-- #Do Not Disturb (DND) - On -->
<!-- # String -->
<!-- <P2444></P2444> -->
<!-- #Do Not Disturb (DND) - Off -->
<!-- # String -->
<!-- <P2445></P2445> -->
<!-- #Call Forward Unconditionally (All) - On -->
<!-- # String -->
<!-- <P26113></P26113> -->
<!-- #Call Forward Unconditionally (All) - Off -->
<!-- # String -->
<!-- <P26114></P26114> -->
<!-- #Call Forward Busy - On -->
<!-- # String -->
<!-- <P26109></P26109> -->
<!-- #Call Forward Busy - Off -->
<!-- # String -->
<!-- <P26110></P26110> -->
<!-- #Call Forward Delayed (No Answer) - On -->
<!-- #String -->
<!-- <P26111></P26111> -->
<!-- #Call Forward Delayed (No Answer) - Off -->
<!-- #String -->
<!-- <P26112></P26112> -->
<!-- #Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- #Number: 1 - 120 -->
<!-- #Mandatory -->
<!-- <P470></P470> -->
2018-02-23 23:09:19 +01:00
<!-- #################################################################### -->
<!-- # Account 3 -->
<!-- #################################################################### -->
<!-- ############################################################### -->
<!-- # Account 3/General Settings -->
<!-- ############################################################### -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($user_password_3)}
<P501 > 1</P501>
{else}
<P501 > 0</P501>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Account Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P517 > {$display_name_3}</P517>
2018-02-23 23:09:19 +01:00
<!-- # SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P502 > {$server_address_3}</P502>
2018-02-23 23:09:19 +01:00
<!-- # Secondary SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2512 > </P2512>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P503 > {$outbound_proxy_3}</P503>
2018-02-23 23:09:19 +01:00
<!-- # Backup Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2533 > </P2533>
2018-02-23 23:09:19 +01:00
<!-- # BLF Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2575 > </P2575>
2018-02-23 23:09:19 +01:00
<!-- # SIP User ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P504 > {$user_id_3}</P504>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P505 > {$auth_id_3}</P505>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Password -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P506 > {$user_password_3}</P506>
2018-02-23 23:09:19 +01:00
<!-- # Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P507 > {$display_name_3}</P507>
2018-02-23 23:09:19 +01:00
<!-- -->
<!-- # Voice Mail UserID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P526 > *97</P526>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 3/Network Settings -->
<!-- ############################################################### -->
<!-- # DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_dns_mode)}
<P508 > {$grandstream_dns_mode}</P508>
2017-06-09 00:21:47 +02:00
{else}
<P508 > 0</P508>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # DNS SRV Fail - over Mode. 0 - Default, 1 - Saved one until DNS TTL, 2 - Saved one until no response. Default is 0 -->
<!-- # Number: 0,1,2 -->
2017-06-09 00:21:47 +02:00
<P26240 > 0</P26240>
2018-02-23 23:09:19 +01:00
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2508 > </P2508>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2509 > </P2509>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2510 > </P2510>
2018-02-23 23:09:19 +01:00
<!-- # NAT Traversal. 0 - No, 1 - STUN, 2 - keep alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_nat_traversal)}
<P514 > {$grandstream_nat_traversal}</P514>
2017-06-09 00:21:47 +02:00
{else}
<P514 > 0</P514>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P518 > </P518>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 3/SIP Settings/Basic Settings -->
<!-- ############################################################### -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P509 > 0</P509>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P510 > 1</P510>
2018-02-23 23:09:19 +01:00
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P511 > 0</P511>
2018-02-23 23:09:19 +01:00
<!-- # Register Expiration (in minutes). Default is 60. Max is 45 days -->
<!-- # Number: 1 - 64800 -->
2018-06-20 18:20:37 +02:00
<P512 > {$register_expires_3}</P512>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
2017-06-09 00:21:47 +02:00
<P26251 > 60</P26251>
2018-02-23 23:09:19 +01:00
<!-- # Reregister before Expiration (in seconds). Default is 0 second -->
<!-- # Number: 0 - 64800 -->
2017-06-09 00:21:47 +02:00
<P2530 > 0</P2530>
2018-02-23 23:09:19 +01:00
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<P2597 > 0</P2597>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<P2598 > 30</P2598>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<P2599 > 30</P2599>
<!-- # Local SIP Port. Default is 5064 -->
<!-- # Number -->
2017-06-09 00:21:47 +02:00
<P513 > 5064</P513>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
2017-06-09 00:21:47 +02:00
<P571 > 20</P571>
2018-02-23 23:09:19 +01:00
<!-- # SIP T1 Timeout. RFC 3261 T1 value (RTT estimate) -->
<!-- # 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec. Default is 100 -->
<!-- # Number: 50, 100, 200 -->
2017-06-09 00:21:47 +02:00
<P540 > 50</P540>
2018-02-23 23:09:19 +01:00
<!-- # SIP T2 Timeout. RFC 3261 T2 value. The maximum retransmit interval for non - INVITE requests and INVITE responses. -->
<!-- # 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default is 400 -->
<!-- # Number: 200, 400, 800 -->
2017-06-09 00:21:47 +02:00
<P541 > 400</P541>
2018-02-23 23:09:19 +01:00
<!-- # SIP Transport. 0 - UDP, 1 - TCP. 2 - TCP/TLS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
{$tp=0}
{if $sip_transport_3 == 'udp'}{$tp=0}{/if}
{if $sip_transport_3 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_3 == 'tls'}{$tp=2}{/if}
{if $sip_transport_3 == 'dns srv'}{$tp=1}{/if}
<P548 > {$tp}</P548>
2018-02-23 23:09:19 +01:00
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
2017-06-09 00:21:47 +02:00
<P26224 > 0</P26224>
2018-02-23 23:09:19 +01:00
<!-- # SIP URI Scheme When Using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2529 > 1</P2529>
2018-02-23 23:09:19 +01:00
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2531 > 0</P2531>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2505 > 0</P2505>
2018-02-23 23:09:19 +01:00
<!-- # Support SIP Instace ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P589 > 1</P589>
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for MWI (Whether or not send SUBSCRIBE for Message Waiting Indication). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($subscribe_mwi)}
<P515 > 1</P515>
{else}
<P515 > 0</P515>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2519 > 0</P2519>
2018-02-23 23:09:19 +01:00
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P535 > 0</P535>
2018-02-23 23:09:19 +01:00
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26225 > 0</P26225>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-28 06:58:45 +02:00
<P2524 > 0</P2524>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2559 > 0</P2559>
2018-02-23 23:09:19 +01:00
<!-- #Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26215 > 0</P26215>
2018-02-23 23:09:19 +01:00
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26218 > 0</P26218>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 3/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2538 > 0</P2538>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2539 > 0</P2539>
2018-02-23 23:09:19 +01:00
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26254 > 1</P26254>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26258 > 1</P26258>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26259 > 1</P26259>
2018-02-23 23:09:19 +01:00
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P26261 > 1</P26261>
<!-- ########################################## -->
<!-- # Account 3/SIP Settings/Advanced Features -->
<!-- ########################################## -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
2017-06-09 00:21:47 +02:00
<P2513 > 15</P2513>
2018-02-23 23:09:19 +01:00
<!-- # Eventlist BLF URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P544 > </P544>
2018-02-23 23:09:19 +01:00
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
2017-06-09 00:21:47 +02:00
<P2589 > 0</P2589>
2018-02-23 23:09:19 +01:00
<!-- # Conference URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2518 > </P2518>
2018-02-23 23:09:19 +01:00
<!-- # Music On Hold URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2550 > </P2550>
2018-02-23 23:09:19 +01:00
<!-- # Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6754 > 0</P6754>
2018-02-23 23:09:19 +01:00
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P581 > **</P581>
2018-02-23 23:09:19 +01:00
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
<!-- #P26246 = -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P588 > 0</P588>
2018-02-23 23:09:19 +01:00
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2555 > 0</P2555>
2018-02-23 23:09:19 +01:00
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26223 > 0</P26223>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS. Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117 -->
2017-06-09 00:21:47 +02:00
<P524 > 100</P524>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2541 > 0</P2541>
2018-02-23 23:09:19 +01:00
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2542 > 0</P2542>
2018-02-23 23:09:19 +01:00
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2543 > 0</P2543>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2564 > 0</P2564>
2018-02-23 23:09:19 +01:00
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2525 > 0</P2525>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2588 > 0</P2588>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 3/SIP Settings/Session Timer -->
<!-- ########################################## -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2595 > 1</P2595>
2018-02-23 23:09:19 +01:00
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P534 > 180</P534>
2018-02-23 23:09:19 +01:00
<!-- # Minimum SE (in seconds). Default is 90. This value must be lower than or equal to P534 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P527 > 90</P527>
2018-02-23 23:09:19 +01:00
<!-- # Caller Request Timer (Request for timer when calling) 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P528 > 0</P528>
2018-02-23 23:09:19 +01:00
<!-- # Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P529 > 0</P529>
2018-02-23 23:09:19 +01:00
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P530 > 0</P530>
2018-02-23 23:09:19 +01:00
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P532 > 0</P532>
2018-02-23 23:09:19 +01:00
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
2017-06-09 00:21:47 +02:00
<P533 > 1</P533>
2018-02-23 23:09:19 +01:00
<!-- # Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P531 > 0</P531>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 3/SIP Settings/Security Settings -->
<!-- ########################################## -->
<!-- # Check Domain Certificates. When set to Yes/Enabled, the domain certificate will be checked as defined in RFC5922 -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2511 > 0</P2511>
2018-02-23 23:09:19 +01:00
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2567 > 0</P2567>
2018-02-23 23:09:19 +01:00
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2506 > 0</P2506>
2018-02-23 23:09:19 +01:00
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P549 > 0</P549>
2018-02-23 23:09:19 +01:00
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-05-29 01:30:25 +02:00
<P2547 > 1</P2547>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2546 > 0</P2546>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 3/Audio Settings -->
<!-- ########################################## -->
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2501 > 0</P2501>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2502 > 1</P2502>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2503 > 0</P2503>
2018-02-23 23:09:19 +01:00
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P2585 > 123</P2585>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P596 > 101</P596>
2018-02-23 23:09:19 +01:00
<!-- # Preferred Vocoder -->
<!-- # 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P551 > 0</P551>
2018-02-23 23:09:19 +01:00
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P552 > 8</P552>
2018-02-23 23:09:19 +01:00
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P553 > 4</P553>
2018-02-23 23:09:19 +01:00
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P554 > 18</P554>
2018-02-23 23:09:19 +01:00
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P555 > 9</P555>
2018-02-23 23:09:19 +01:00
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P556 > 98</P556>
2018-02-23 23:09:19 +01:00
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P557 > 2</P557>
2018-02-23 23:09:19 +01:00
<!-- # choice 8. Default is 125 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P558 > 125</P558>
2018-02-23 23:09:19 +01:00
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2548 > 0</P2548>
2018-02-23 23:09:19 +01:00
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<P29261 > 1</P29261>
<!-- # Disable Multiple m line in SDP -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P587 > 0</P587>
2018-02-23 23:09:19 +01:00
<!-- # SRTP Mode -->
<!-- # 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_srtp)}
2018-04-06 17:13:26 +02:00
<P543 > {$grandstream_srtp}</P543>
2018-03-30 20:42:10 +02:00
{else}
2017-06-09 00:21:47 +02:00
<P543 > 0</P543>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<P2583 > 0</P2583>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2563 > 0</P2563>
2018-02-23 23:09:19 +01:00
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P560 > 0</P560>
2018-02-23 23:09:19 +01:00
<!-- # Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P585 > 0</P585>
2018-02-23 23:09:19 +01:00
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
2017-06-09 00:21:47 +02:00
<P586 > 2</P586>
2018-02-23 23:09:19 +01:00
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P593 > 1</P593>
2018-02-23 23:09:19 +01:00
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2523 > 0</P2523>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P595 > 1</P595>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P594 > 97</P594>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P598 > 1</P598>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Length. 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms. Default is 2 -->
<!-- # Number: 0, 1, 2, 3, 4, 5, 6, 7 -->
2017-06-09 00:21:47 +02:00
<P597 > 2</P597>
2018-02-23 23:09:19 +01:00
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
2017-06-09 00:21:47 +02:00
<P26247 > 0</P26247>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
2017-06-09 00:21:47 +02:00
<P26260 > 250</P26260>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 3/Call Settings -->
<!-- ########################################## -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P522 > 0</P522>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan Prefix -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P519 > </P519>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<P559 > {$grandstream_dial_plan}</P559>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call Log. 0 - Log All Calls, 1 - Log Incoming/Outgoing only (Missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P542 > 0</P542>
2018-02-23 23:09:19 +01:00
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4 -->
<P523 > 0</P523>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1500 > </P1500>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1501 > 0</P1501>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1502 > </P1502>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 2 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1503 > 0</P1503>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1504 > </P1504>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 3 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1505 > 0</P1505>
2018-02-23 23:09:19 +01:00
<!-- # Ring Timeout (in seconds). Default is 60 -->
<!-- # Number: 30 - 3600 -->
2017-06-09 00:21:47 +02:00
<P576 > 60</P576>
2018-02-23 23:09:19 +01:00
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P521 > 0</P521>
2018-02-23 23:09:19 +01:00
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P546 > 0</P546>
2018-02-23 23:09:19 +01:00
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P525 > 0</P525>
2018-02-23 23:09:19 +01:00
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P569 > 0</P569>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Transfer on conference Hang - Up. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2504 > 0</P2504>
2018-02-23 23:09:19 +01:00
<!-- #Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2584 > 0</P2584>
2018-02-23 23:09:19 +01:00
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<P26270 > 30</P26270>
<!-- # No Key Entry Timeout. Default is 4 -->
<!-- # Number: 1 - 15 -->
2017-06-09 00:21:47 +02:00
<P591 > 4</P591>
2018-02-23 23:09:19 +01:00
<!-- # Use # As Dial Key. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P592 > 1</P592>
2018-02-23 23:09:19 +01:00
<!-- #On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26206 > 0</P26206>
2018-02-23 23:09:19 +01:00
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<P26262 > 1</P26262>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26249 > </P26249>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<P26250 > 0</P26250>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2018-10-09 06:33:27 +02:00
<P26263 > {$grandstream_call_waiting}</P26263>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 3/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P538 > 0</P538>
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26219 > 0</P26219>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26271 > 0</P26271>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26272 > 0</P26272>
<!-- # Custom Call - Info for Auto Answer. -->
<!-- # String -->
<P2556 > </P2556>
<!-- ########################################## -->
<!-- # Account 3/Feature Codes -->
<!-- ########################################## -->
<!-- #Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- #Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P520 > 1</P520>
2018-02-23 23:09:19 +01:00
<!-- #Do Not Disturb (DND) - On -->
<!-- # String -->
<P2544 > </P2544>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Do Not Disturb (DND) - Off -->
<!-- # String -->
<P2545 > </P2545>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Unconditionally (All) - On -->
<!-- # String -->
<P26213 > </P26213>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Unconditionally (All) - Off -->
<!-- # String -->
<P26214 > </P26214>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Busy - On -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26209 > </P26209>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Busy - Off -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26210 > </P26210>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Delayed (No Answer) - On -->
<!-- #String -->
2017-06-09 00:21:47 +02:00
<P26211 > </P26211>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Delayed (No Answer) - Off -->
<!-- #String -->
2017-06-09 00:21:47 +02:00
<P26212 > </P26212>
2018-02-23 23:09:19 +01:00
<!-- #Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- #Number: 1 - 120 -->
2017-06-09 00:21:47 +02:00
<P570 > </P570>
2018-02-23 23:09:19 +01:00
<!-- #################################################################### -->
<!-- # Account 4 - GXP2140/2160/2170/2135 only -->
<!-- #################################################################### -->
<!-- ########################################## -->
<!-- # Account 4/General Settings -->
<!-- ########################################## -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($user_password_4)}
<P601 > 1</P601>
{else}
<P601 > 0</P601>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Account Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P617 > {$display_name_4}</P617>
2018-02-23 23:09:19 +01:00
<!-- # SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P602 > {$server_address_4}</P602>
2018-02-23 23:09:19 +01:00
<!-- # Secondary SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2612 > </P2612>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P603 > {$outbound_proxy_4}</P603>
2018-02-23 23:09:19 +01:00
<!-- # Backup Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2633 > </P2633>
2018-02-23 23:09:19 +01:00
<!-- # BLF Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2675 > </P2675>
2018-02-23 23:09:19 +01:00
<!-- # SIP User ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P604 > {$user_id_4}</P604>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P605 > {$auth_id_4}</P605>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate password -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P606 > {$user_password_4}</P606>
2018-02-23 23:09:19 +01:00
<!-- # Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P607 > {$display_name_4}</P607>
2018-02-23 23:09:19 +01:00
<!-- # Voice Mail UserID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P626 > *97</P626>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 4/Network Settings -->
<!-- ########################################## -->
<!-- # DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_dns_mode)}
<P608 > {$grandstream_dns_mode}</P608>
2017-06-09 00:21:47 +02:00
{else}
<P608 > 0</P608>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # DNS SRV Fail - over Mode. 0 - Default, 1 - Saved one until DNS TTL, 2 - Saved one until no response. Default is 0 -->
<!-- # Number: 0,1,2 -->
2017-06-09 00:21:47 +02:00
<P26340 > 0</P26340>
2018-02-23 23:09:19 +01:00
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2608 > </P2608>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2609 > </P2609>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2610 > </P2610>
2018-02-23 23:09:19 +01:00
<!-- # NAT Traversal. 0 - No, 1 - STUN, 2 - keep alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_nat_traversal)}
<P614 > {$grandstream_nat_traversal}</P614>
2017-06-09 00:21:47 +02:00
{else}
<P614 > 0</P614>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P618 > </P618>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 4/SIP Settings/Basic Settings -->
<!-- ########################################## -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P609 > 0</P609>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P610 > 1</P610>
2018-02-23 23:09:19 +01:00
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P611 > 0</P611>
2018-02-23 23:09:19 +01:00
<!-- # Register Expiration (in minutes). Default is 60. Max is 45 days -->
<!-- # Number: 1 - 64800 -->
2018-06-20 18:20:37 +02:00
<P612 > {$register_expires_4}</P612>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
2017-06-09 00:21:47 +02:00
<P26351 > 60</P26351>
2018-02-23 23:09:19 +01:00
<!-- # Reregister before Expiration (in seconds). Default is 0 -->
<!-- # Number: 0 - 64800 -->
2017-06-09 00:21:47 +02:00
<P2630 > 0</P2630>
2018-02-23 23:09:19 +01:00
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<P2697 > 0</P2697>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<P2698 > 30</P2698>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<P2699 > 30</P2699>
<!-- # Local SIP port. Default is 5066 -->
<!-- # Number -->
2017-06-09 00:21:47 +02:00
<P613 > 5066</P613>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
2017-06-09 00:21:47 +02:00
<P671 > 20</P671>
2018-02-23 23:09:19 +01:00
<!-- # SIP T1 Timeout. RFC 3261 T1 value (RTT estimate) -->
<!-- # 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec. Default is 100 -->
<!-- # Number: 50, 100, 200 -->
2017-06-09 00:21:47 +02:00
<P640 > 50</P640>
2018-02-23 23:09:19 +01:00
<!-- # SIP T2 Timeout. RFC 3261 T2 value. The maximum retransmit interval for non - INVITE requests and INVITE responses -->
<!-- # 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default is 400 -->
<!-- # Number: 200, 400, 800 -->
2017-06-09 00:21:47 +02:00
<P641 > 400</P641>
2018-02-23 23:09:19 +01:00
<!-- # SIP Transport. 0 - UDP, 1 - TCP. 2 - TCP/TLS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
{$tp=0}
{if $sip_transport_4 == 'udp'}{$tp=0}{/if}
{if $sip_transport_4 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_4 == 'tls'}{$tp=2}{/if}
{if $sip_transport_4 == 'dns srv'}{$tp=1}{/if}
<P648 > {$tp}</P648>
2018-02-23 23:09:19 +01:00
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
2017-06-09 00:21:47 +02:00
<P26324 > 0</P26324>
2018-02-23 23:09:19 +01:00
<!-- # SIP URI Scheme When Using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2629 > 1</P2629>
2018-02-23 23:09:19 +01:00
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2631 > 0</P2631>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2605 > 0</P2605>
2018-02-23 23:09:19 +01:00
<!-- # Support SIP Instance ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P689 > 1</P689>
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for MWI (Whether or not send SUBSCRIBE for Message Waiting Indication). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($subscribe_mwi)}
<P615 > 1</P615>
{else}
<P615 > 0</P615>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2619 > 0</P2619>
2018-02-23 23:09:19 +01:00
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P635 > 0</P635>
2018-02-23 23:09:19 +01:00
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26325 > 0</P26325>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-28 06:58:45 +02:00
<P2624 > 0</P2624>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2659 > 0</P2659>
2018-02-23 23:09:19 +01:00
<!-- #Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26315 > 0</P26315>
2018-02-23 23:09:19 +01:00
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26318 > 0</P26318>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 4/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2638 > 0</P2638>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2639 > 0</P2639>
2018-02-23 23:09:19 +01:00
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26354 > 1</P26354>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26358 > 1</P26358>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26359 > 1</P26359>
2018-02-23 23:09:19 +01:00
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P26361 > 1</P26361>
<!-- ########################################## -->
<!-- # Account 4/SIP Settings/Advanced Features -->
<!-- ########################################## -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
2017-06-09 00:21:47 +02:00
<P2613 > 15</P2613>
2018-02-23 23:09:19 +01:00
<!-- # Eventlist BLF URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P644 > </P644>
2018-02-23 23:09:19 +01:00
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
2017-06-09 00:21:47 +02:00
<P2689 > 0</P2689>
2018-02-23 23:09:19 +01:00
<!-- # Conference URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2618 > </P2618>
2018-02-23 23:09:19 +01:00
<!-- # Music On Hold URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2650 > </P2650>
2018-02-23 23:09:19 +01:00
<!-- # Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6755 > 0</P6755>
2018-02-23 23:09:19 +01:00
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P681 > **</P681>
2018-02-23 23:09:19 +01:00
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
<!-- #P26346 = -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P688 > 0</P688>
2018-02-23 23:09:19 +01:00
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2655 > 0</P2655>
2018-02-23 23:09:19 +01:00
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26323 > 0</P26323>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS. Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117 -->
2017-06-09 00:21:47 +02:00
<P624 > 100</P624>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2641 > 0</P2641>
2018-02-23 23:09:19 +01:00
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2642 > 0</P2642>
2018-02-23 23:09:19 +01:00
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2643 > 0</P2643>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2664 > 0</P2664>
2018-02-23 23:09:19 +01:00
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2625 > 0</P2625>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2688 > 0</P2688>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 4/SIP Settings/Session Timer -->
<!-- ########################################## -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2695 > 1</P2695>
2018-02-23 23:09:19 +01:00
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P634 > 180</P634>
2018-02-23 23:09:19 +01:00
<!-- # Minimum SE (in seconds). Default is 90 seconds. This value must be lower than or equal to P634 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P627 > 90</P627>
2018-02-23 23:09:19 +01:00
<!-- # Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P628 > 0</P628>
2018-02-23 23:09:19 +01:00
<!-- # Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P629 > 0</P629>
2018-02-23 23:09:19 +01:00
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P630 > 0</P630>
2018-02-23 23:09:19 +01:00
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0 - 2 -->
2017-06-09 00:21:47 +02:00
<P632 > 0</P632>
2018-02-23 23:09:19 +01:00
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
2017-06-09 00:21:47 +02:00
<P633 > 1</P633>
2018-02-23 23:09:19 +01:00
<!-- # Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE). -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P631 > 0</P631>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 4/SIP Settings/Security Settings -->
<!-- ########################################## -->
<!-- # Check Domain Certificates. When set to Yes/Enabled, the domain certificate will be checked as defined in RFC5922 -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2611 > 0</P2611>
2018-02-23 23:09:19 +01:00
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2667 > 0</P2667>
2018-02-23 23:09:19 +01:00
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2606 > 0</P2606>
2018-02-23 23:09:19 +01:00
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P649 > 0</P649>
2018-02-23 23:09:19 +01:00
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-05-29 01:30:25 +02:00
<P2647 > 1</P2647>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2646 > 0</P2646>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 4/Audio Settings -->
<!-- ########################################## -->
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2601 > 0</P2601>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2602 > 1</P2602>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2603 > 0</P2603>
2018-02-23 23:09:19 +01:00
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P2685 > 123</P2685>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P696 > 101</P696>
2018-02-23 23:09:19 +01:00
<!-- # Preferred Vocoder -->
<!-- # 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P651 > 0</P651>
2018-02-23 23:09:19 +01:00
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P652 > 8</P652>
2018-02-23 23:09:19 +01:00
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P653 > 4</P653>
2018-02-23 23:09:19 +01:00
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P654 > 18</P654>
2018-02-23 23:09:19 +01:00
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P655 > 9</P655>
2018-02-23 23:09:19 +01:00
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P656 > 98</P656>
2018-02-23 23:09:19 +01:00
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P657 > 2</P657>
2018-02-23 23:09:19 +01:00
<!-- # choice 8. Default is 125 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P658 > 125</P658>
2018-02-23 23:09:19 +01:00
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2648 > 0</P2648>
2018-02-23 23:09:19 +01:00
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<P29361 > 1</P29361>
<!-- #Disable Multiple m line in SDP -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P687 > 0</P687>
2018-02-23 23:09:19 +01:00
<!-- # SRTP Mode -->
<!-- # 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_srtp)}
2018-04-06 17:13:26 +02:00
<P643 > {$grandstream_srtp}</P643>
2018-03-30 20:42:10 +02:00
{else}
2017-06-09 00:21:47 +02:00
<P643 > 0</P643>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<P2683 > 0</P2683>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2663 > 0</P2663>
2018-02-23 23:09:19 +01:00
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P660 > 0</P660>
2018-02-23 23:09:19 +01:00
<!-- # Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P685 > 0</P685>
2018-02-23 23:09:19 +01:00
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
2017-06-09 00:21:47 +02:00
<P686 > 2</P686>
2018-02-23 23:09:19 +01:00
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P693 > 1</P693>
2018-02-23 23:09:19 +01:00
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2623 > 0</P2623>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P695 > 1</P695>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P694 > 97</P694>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P698 > 1</P698>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Length. -->
<!-- # 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms. Default is 2 -->
<!-- # Number: 0, 1, 2, 3, 4, 5, 6, 7 -->
2017-06-09 00:21:47 +02:00
<P697 > 2</P697>
2018-02-23 23:09:19 +01:00
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
2017-06-09 00:21:47 +02:00
<P26347 > 0</P26347>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
2017-06-09 00:21:47 +02:00
<P26360 > 250</P26360>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 4/Call Settings -->
<!-- ########################################## -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P622 > 0</P622>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan Prefix -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P619 > </P619>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<P659 > {$grandstream_dial_plan}</P659>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call Log. 0 - Log All Calls, 1 - Log Incoming/Outgoing only (Missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P642 > 0</P642>
2018-02-23 23:09:19 +01:00
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4 -->
<P623 > 0</P623>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1506 > </P1506>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1507 > 0</P1507>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1508 > </P1508>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 2 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1509 > 0</P1509>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1510 > </P1510>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 3 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1511 > 0</P1511>
2018-02-23 23:09:19 +01:00
<!-- # Ring Timeout (in seconds). Default is 60 -->
<!-- # Number: 30 - 3600 -->
2017-06-09 00:21:47 +02:00
<P676 > 60</P676>
2018-02-23 23:09:19 +01:00
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P621 > 0</P621>
2018-02-23 23:09:19 +01:00
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P646 > 0</P646>
2018-02-23 23:09:19 +01:00
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P625 > 0</P625>
2018-02-23 23:09:19 +01:00
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P669 > 0</P669>
2018-02-23 23:09:19 +01:00
<!-- # Transfer on conference Hang - Up. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2604 > 0</P2604>
2018-02-23 23:09:19 +01:00
<!-- #Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2684 > 0</P2684>
2018-02-23 23:09:19 +01:00
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<P26370 > 30</P26370>
<!-- # No Key Entry Timeout. Default is 4 -->
<!-- # Number: 1 - 15 -->
2017-06-09 00:21:47 +02:00
<P691 > 4</P691>
2018-02-23 23:09:19 +01:00
<!-- # Use # As Dial Key. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P692 > 1</P692>
2018-02-23 23:09:19 +01:00
<!-- #On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26306 > 0</P26306>
2018-02-23 23:09:19 +01:00
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<P26362 > 1</P26362>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26349 > </P26349>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<P26350 > 0</P26350>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2018-10-09 06:33:27 +02:00
<P26363 > {$grandstream_call_waiting}</P26363>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 4/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P638 > 0</P638>
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26319 > 0</P26319>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26371 > 0</P26371>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26372 > 0</P26372>
<!-- # Custom Call - Info for Auto Answer. -->
<!-- # String -->
<P2656 > </P2656>
<!-- ########################################## -->
<!-- # Account 4/Feature Codes -->
<!-- ########################################## -->
<!-- #Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- #Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P620 > 1</P620>
2018-02-23 23:09:19 +01:00
<!-- #Do Not Disturb (DND) - On -->
<!-- # String -->
<P2644 > </P2644>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Do Not Disturb (DND) - Off -->
<!-- # String -->
<P2645 > </P2645>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Unconditionally (All) - On -->
<!-- # String -->
<P26313 > </P26313>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Unconditionally (All) - Off -->
<!-- # String -->
<P26314 > </P26314>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Busy - On -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26309 > </P26309>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Busy - Off -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26310 > </P26310>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Delayed (No Answer) - On -->
<!-- #String -->
2017-06-09 00:21:47 +02:00
<P26311 > </P26311>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Delayed (No Answer) - Off -->
<!-- #String -->
2017-06-09 00:21:47 +02:00
<P26312 > </P26312>
2018-02-23 23:09:19 +01:00
<!-- #Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- #Number: 1 - 120 -->
2017-06-09 00:21:47 +02:00
<P670 > </P670>
2018-02-23 23:09:19 +01:00
<!-- #################################################################### -->
<!-- # Account 5 - GXP2160/2170 only -->
<!-- #################################################################### -->
<!-- ########################################## -->
<!-- # Account 5/General Settings -->
<!-- ########################################## -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($user_password_5)}
<P1701 > 1</P1701>
{else}
<P1701 > 0</P1701>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Account Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1717 > {$display_name_5}</P1717>
2018-02-23 23:09:19 +01:00
<!-- # SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1702 > {$server_address_5}</P1702>
2018-02-23 23:09:19 +01:00
<!-- # Secondary SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2712 > </P2712>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1703 > {$outbound_proxy_5}</P1703>
2018-02-23 23:09:19 +01:00
<!-- # Backup Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2733 > </P2733>
2018-02-23 23:09:19 +01:00
<!-- # BLF Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2775 > </P2775>
2018-02-23 23:09:19 +01:00
<!-- # SIP User ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1704 > {$user_id_5}</P1704>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1705 > {$auth_id_5}</P1705>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Password -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1706 > {$user_password_5}</P1706>
2018-02-23 23:09:19 +01:00
<!-- # Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1707 > {$display_name_5}</P1707>
2018-02-23 23:09:19 +01:00
<!-- # Voice Mail UserID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1726 > *97</P1726>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 5/Network Settings -->
<!-- ########################################## -->
<!-- # DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_dns_mode)}
<P1708 > {$grandstream_dns_mode}</P1708>
2017-06-09 00:21:47 +02:00
{else}
<P1708 > 0</P1708>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # DNS SRV Fail - over Mode. 0 - Default, 1 - Saved one until DNS TTL, 2 - Saved one until no response. Default is 0 -->
<!-- # Number: 0,1,2 -->
2017-06-09 00:21:47 +02:00
<P26440 > 0</P26440>
2018-02-23 23:09:19 +01:00
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2708 > </P2708>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2709 > </P2709>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2710 > </P2710>
2018-02-23 23:09:19 +01:00
<!-- # NAT Traversal. 0 - No, 1 - STUN, 2 - keep alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_nat_traversal)}
<P1714 > {$grandstream_nat_traversal}</P1714>
2017-06-09 00:21:47 +02:00
{else}
<P1714 > 0</P1714>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1718 > </P1718>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 5/SIP Settings/Basic Settings -->
<!-- ########################################## -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1709 > 0</P1709>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1710 > 1</P1710>
2018-02-23 23:09:19 +01:00
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1711 > 0</P1711>
2018-02-23 23:09:19 +01:00
<!-- # Register Expiration (in minutes. default 1 hour, max 45 days) -->
<!-- # Number: 1 - 64800 -->
2018-06-20 18:20:37 +02:00
<P1712 > {$register_expires_5}</P1712>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
2017-06-09 00:21:47 +02:00
<P26451 > 60</P26451>
2018-02-23 23:09:19 +01:00
<!-- # Reregister before Expiration (in seconds) Default is 0 -->
<!-- # Number: 0 - 64800 -->
2017-06-09 00:21:47 +02:00
<P2730 > 0</P2730>
2018-02-23 23:09:19 +01:00
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<P2797 > 0</P2797>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<P2798 > 30</P2798>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<P2799 > 30</P2799>
<!-- # Local SIP Port. Default is 5068 -->
<!-- # Number -->
2017-06-09 00:21:47 +02:00
<P1713 > 5068</P1713>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
2017-06-09 00:21:47 +02:00
<P1771 > 20</P1771>
2018-02-23 23:09:19 +01:00
<!-- # SIP T1 Timeout. RFC 3261 T1 value (RTT estimate) -->
<!-- # 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec. Default is 100 -->
<!-- # Number: 50, 100, 200 -->
2017-06-09 00:21:47 +02:00
<P1740 > 50</P1740>
2018-02-23 23:09:19 +01:00
<!-- # SIP T2 Timeout. RFC 3261 T2 value. The maximum retransmit interval for non - INVITE requests and INVITE responses -->
<!-- # 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default is 400 -->
<!-- # Number: 200, 400, 800 -->
2017-06-09 00:21:47 +02:00
<P1741 > 400</P1741>
2018-02-23 23:09:19 +01:00
<!-- # SIP Transport. 0 - UDP, 1 - TCP. 2 - TCP/TLS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
{$tp=0}
{if $sip_transport_5 == 'udp'}{$tp=0}{/if}
{if $sip_transport_5 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_5 == 'tls'}{$tp=2}{/if}
{if $sip_transport_5 == 'dns srv'}{$tp=1}{/if}
<P1748 > {$tp}</P1748>
2018-02-23 23:09:19 +01:00
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
2017-06-09 00:21:47 +02:00
<P26424 > 0</P26424>
2018-02-23 23:09:19 +01:00
<!-- # SIP URI Scheme when using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2729 > 1</P2729>
2018-02-23 23:09:19 +01:00
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2731 > 0</P2731>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2705 > 0</P2705>
2018-02-23 23:09:19 +01:00
<!-- # Support SIP Instace ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1789 > 1</P1789>
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for MWI (Whether or not send SUBSCRIBE for Message Waiting Indication). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($subscribe_mwi)}
<P1715 > 1</P1715>
{else}
<P1715 > 0</P1715>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2719 > 0</P2719>
2018-02-23 23:09:19 +01:00
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1735 > 0</P1735>
2018-02-23 23:09:19 +01:00
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26425 > 0</P26425>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-28 06:58:45 +02:00
<P2724 > 0</P2724>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2759 > 0</P2759>
2018-02-23 23:09:19 +01:00
<!-- #Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26415 > 0 </P26415>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26418 > 0</P26418>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 5/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2738 > 0</P2738>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2739 > 0</P2739>
2018-02-23 23:09:19 +01:00
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26454 > 1</P26454>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26458 > 1</P26458>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26459 > 1</P26459>
2018-02-23 23:09:19 +01:00
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P26461 > 1</P26461>
<!-- ########################################## -->
<!-- # Account 5/SIP Settings/Advanced Features -->
<!-- ########################################## -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
2017-06-09 00:21:47 +02:00
<P2713 > 15</P2713>
2018-02-23 23:09:19 +01:00
<!-- # Eventlist BLF URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1744 > </P1744>
2018-02-23 23:09:19 +01:00
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
2017-06-09 00:21:47 +02:00
<P2789 > 0</P2789>
2018-02-23 23:09:19 +01:00
<!-- # Conference URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2718 > </P2718>
2018-02-23 23:09:19 +01:00
<!-- # Music On Hold URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2750 > </P2750>
2018-02-23 23:09:19 +01:00
<!-- # Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6756 > 0</P6756>
2018-02-23 23:09:19 +01:00
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1781 > **</P1781>
2018-02-23 23:09:19 +01:00
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
<!-- #P26446 = -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1788 > 0</P1788>
2018-02-23 23:09:19 +01:00
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2755 > 0</P2755>
2018-02-23 23:09:19 +01:00
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26423 > 0</P26423>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS. Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117 -->
2017-06-09 00:21:47 +02:00
<P1724 > 100</P1724>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2741 > 0</P2741>
2018-02-23 23:09:19 +01:00
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2742 > 0</P2742>
2018-02-23 23:09:19 +01:00
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2743 > 0</P2743>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2764 > 0</P2764>
2018-02-23 23:09:19 +01:00
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2725 > 0</P2725>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2788 > 0</P2788>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 5/SIP Settings/Session Timer -->
<!-- ########################################## -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2795 > 1</P2795>
2018-02-23 23:09:19 +01:00
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P1734 > 180</P1734>
2018-02-23 23:09:19 +01:00
<!-- # Minimum SE (in seconds). Default is 90. The value must be lower than or equal to P1734 -->
<!-- # Number: 90 - 64800 -->
2017-06-09 00:21:47 +02:00
<P1727 > 90</P1727>
2018-02-23 23:09:19 +01:00
<!-- # Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1728 > 0</P1728>
2018-02-23 23:09:19 +01:00
<!-- # Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1729 > 0</P1729>
2018-02-23 23:09:19 +01:00
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1730 > 0</P1730>
2018-02-23 23:09:19 +01:00
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1732 > 0</P1732>
2018-02-23 23:09:19 +01:00
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1733 > 1</P1733>
2018-02-23 23:09:19 +01:00
<!-- # Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1731 > 0</P1731>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 5/SIP Settings/Security Settings -->
<!-- ########################################## -->
<!-- # Check Domain Certificates. When set to Yes/Enabled, domain certificate will be checked as defined in RFC5922 -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2711 > 0</P2711>
2018-02-23 23:09:19 +01:00
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2767 > 0</P2767>
2018-02-23 23:09:19 +01:00
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2706 > 0</P2706>
2018-02-23 23:09:19 +01:00
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1749 > 0</P1749>
2018-02-23 23:09:19 +01:00
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-05-29 01:30:25 +02:00
<P2747 > 1</P2747>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2746 > 0</P2746>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 5/Audio Settings -->
<!-- ########################################## -->
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2701 > 0</P2701>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2702 > 1</P2702>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2703 > 0</P2703>
2018-02-23 23:09:19 +01:00
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P2785 > 123</P2785>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P1796 > 101</P1796>
2018-02-23 23:09:19 +01:00
<!-- # Preferred Vocoder -->
<!-- # 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1751 > 0</P1751>
2018-02-23 23:09:19 +01:00
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1752 > 8</P1752>
2018-02-23 23:09:19 +01:00
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1753 > 4</P1753>
2018-02-23 23:09:19 +01:00
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1754 > 18</P1754>
2018-02-23 23:09:19 +01:00
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1755 > 9</P1755>
2018-02-23 23:09:19 +01:00
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1756 > 98</P1756>
2018-02-23 23:09:19 +01:00
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1757 > 2</P1757>
2018-02-23 23:09:19 +01:00
<!-- # choice 8. Default is 125 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1758 > 125</P1758>
2018-02-23 23:09:19 +01:00
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2748 > 0</P2748>
2018-02-23 23:09:19 +01:00
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<P29461 > 1</P29461>
<!-- #Disable Multiple m line in SDP -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1787 > 0</P1787>
2018-02-23 23:09:19 +01:00
<!-- # SRTP Mode -->
<!-- # 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_srtp)}
2018-04-06 17:13:26 +02:00
<P1743 > {$grandstream_srtp}</P1743>
2018-03-30 20:42:10 +02:00
{else}
2017-06-09 00:21:47 +02:00
<P1743 > 0</P1743>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<P2783 > 0</P2783>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2763 > 0</P2763>
2018-02-23 23:09:19 +01:00
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1760 > 0</P1760>
2018-02-23 23:09:19 +01:00
<!-- # Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1785 > 0</P1785>
2018-02-23 23:09:19 +01:00
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
2017-06-09 00:21:47 +02:00
<P1786 > 2</P1786>
2018-02-23 23:09:19 +01:00
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1793 > 1</P1793>
2018-02-23 23:09:19 +01:00
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2723 > 0</P2723>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1795 > 1</P1795>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P1794 > 97</P1794>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1798 > 1</P1798>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Length. 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms. Default is 2 -->
<!-- # Number: 0 - 7 -->
2017-06-09 00:21:47 +02:00
<P1797 > 2</P1797>
2018-02-23 23:09:19 +01:00
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
2017-06-09 00:21:47 +02:00
<P26447 > 0</P26447>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
2017-06-09 00:21:47 +02:00
<P26460 > 250</P26460>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 5/Call Settings -->
<!-- ########################################## -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1722 > 0</P1722>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan Prefix -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1719 > </P1719>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<P1759 > {$grandstream_dial_plan}</P1759>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call Log. 0 - Log All, 1 - Log Incoming/Outgoing only (Missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1742 > 0</P1742>
2018-02-23 23:09:19 +01:00
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4 -->
<P1723 > 0</P1723>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 1. -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1512 > </P1512>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 1 Distinctive Ringtone. -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1513 > 0</P1513>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1514 > </P1514>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 2 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1515 > 0</P1515>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1516 > </P1516>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 3 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1517 > 0</P1517>
2018-02-23 23:09:19 +01:00
<!-- # Ring Timeout (in seconds). Default is 60 -->
<!-- # Number: 30 - 3600 -->
2017-06-09 00:21:47 +02:00
<P1776 > 60</P1776>
2018-02-23 23:09:19 +01:00
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1721 > 0</P1721>
2018-02-23 23:09:19 +01:00
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1746 > 0</P1746>
2018-02-23 23:09:19 +01:00
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1725 > 0</P1725>
2018-02-23 23:09:19 +01:00
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1769 > 0</P1769>
2018-02-23 23:09:19 +01:00
<!-- # Transfer on conference Hang - Up. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2704 > 0</P2704>
2018-02-23 23:09:19 +01:00
<!-- #Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2784 > 0</P2784>
2018-02-23 23:09:19 +01:00
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<P26470 > 30</P26470>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # No Key Entry Timeout. Default is 4 -->
<!-- # Number: 1 - 15 -->
<P791 > 4</P791>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use # As Dial Key. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
<P792 > 1</P792>
<!-- #On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26406 > 0</P26406>
2018-02-23 23:09:19 +01:00
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<P26462 > 1</P26462>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26449 > </P26449>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<P26450 > 0</P26450>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2018-10-09 06:33:27 +02:00
<P26463 > {$grandstream_call_waiting}</P26463>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 5/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P738 > 0</P738>
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26419 > 0</P26419>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26471 > 0</P26471>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26472 > 0</P26472>
<!-- # Custom Call - Info for Auto Answer. -->
<!-- # String -->
<P2756 > </P2756>
<!-- ########################################## -->
<!-- # Account 5/Feature Codes -->
<!-- ########################################## -->
<!-- #Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- #Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1720 > 1</P1720>
2018-02-23 23:09:19 +01:00
<!-- #Do Not Disturb (DND) - On -->
<!-- # String -->
<P2744 > </P2744>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Do Not Disturb (DND) - Off -->
<!-- # String -->
<P2745 > </P2745>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Unconditionally (All) - On -->
<!-- # String -->
<P26413 > </P26413>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Unconditionally (All) - Off -->
<!-- # String -->
<P26414 > </P26414>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Busy - On -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26409 > </P26409>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Busy - Off -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26410 > </P26410>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Delayed (No Answer) - On -->
<!-- #String -->
2017-06-09 00:21:47 +02:00
<P26411 > </P26411>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Delayed (No Answer) - Off -->
<!-- #String -->
2017-06-09 00:21:47 +02:00
<P26412 > </P26412>
2018-02-23 23:09:19 +01:00
<!-- #Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- #Number: 1 - 120 -->
2017-06-09 00:21:47 +02:00
<P1770 > </P1770>
2018-02-23 23:09:19 +01:00
<!-- #################################################################### -->
<!-- # Account 6 - GXP2160/2170 only -->
<!-- #################################################################### -->
<!-- ########################################## -->
<!-- # Account 6/General Settings -->
<!-- ########################################## -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($user_password_6)}
<P1801 > 1</P1801>
{else}
<P1801 > 0</P1801>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Account Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1817 > {$display_name_6}</P1817>
2018-02-23 23:09:19 +01:00
<!-- # SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1802 > {$server_address_6}</P1802>
2018-02-23 23:09:19 +01:00
<!-- # Secondary SIP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2812 > </P2812>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1803 > {$outbound_proxy_6}</P1803>
2018-02-23 23:09:19 +01:00
<!-- # Backup Outbound Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2833 > </P2833>
2018-02-23 23:09:19 +01:00
<!-- # BLF Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2875 > </P2875>
2018-02-23 23:09:19 +01:00
<!-- # SIP User ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1804 > {$user_id_6}</P1804>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1805 > {$auth_id_6}</P1805>
2018-02-23 23:09:19 +01:00
<!-- # Authenticate password -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1806 > {$user_password_6}</P1806>
2018-02-23 23:09:19 +01:00
<!-- # Display Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1807 > {$display_name_6}</P1807>
2018-02-23 23:09:19 +01:00
<!-- # Voice Mail UserID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1826 > *97</P1826>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 6/Network Settings -->
<!-- ########################################## -->
<!-- # DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_dns_mode)}
<P1808 > {$grandstream_dns_mode}</P1808>
2017-06-09 00:21:47 +02:00
{else}
<P1808 > 0</P1808>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # DNS SRV Fail - over Mode. 0 - Default, 1 - Saved one until DNS TTL, 2 - Saved one until no response. Default is 0 -->
<!-- # Number: 0,1,2 -->
2017-06-09 00:21:47 +02:00
<P26540 > 0</P26540>
2018-02-23 23:09:19 +01:00
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2808 > </P2808>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2809 > </P2809>
2018-02-23 23:09:19 +01:00
<!-- # Backup IP 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2810 > </P2810>
2018-02-23 23:09:19 +01:00
<!-- # NAT Traversal. 0 - No, 1 - STUN, 2 - keep alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_nat_traversal)}
<P1814 > {$grandstream_nat_traversal}</P1814>
2017-06-09 00:21:47 +02:00
{else}
<P1814 > 0</P1814>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1818 > </P1818>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 6/SIP Settings/Basic Settings -->
<!-- ########################################## -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1809 > 0</P1809>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1810 > 1</P1810>
2018-02-23 23:09:19 +01:00
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0. -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1811 > 0</P1811>
2018-02-23 23:09:19 +01:00
<!-- # Register Expiration (in minutes). Default is 60. Max is 45 days -->
<!-- # Number: 1 - 64800 -->
2018-06-20 18:20:37 +02:00
<P1812 > {$register_expires_6}</P1812>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
2017-06-09 00:21:47 +02:00
<P26551 > 60</P26551>
2018-02-23 23:09:19 +01:00
<!-- # Reregister before Expiration (in seconds). Default is 0 -->
<!-- # Number: 1 - 64800 -->
2017-06-09 00:21:47 +02:00
<P2830 > 0</P2830>
2018-02-23 23:09:19 +01:00
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<P2897 > 0</P2897>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<P2898 > 30</P2898>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<P2899 > 30</P2899>
<!-- # Local SIP Port. Default is 5070 -->
<!-- # Number -->
2017-06-09 00:21:47 +02:00
<P1813 > 5070</P1813>
2018-02-23 23:09:19 +01:00
<!-- # SIP Registration Failure Retry Wait Time (in seconds) Default is 20 -->
<!-- # Number: 1 - 3600 -->
2017-06-09 00:21:47 +02:00
<P1871 > 20</P1871>
2018-02-23 23:09:19 +01:00
<!-- # SIP T1 Timeout. RFC 3261 T1 value (RTT estimate) -->
<!-- # 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec. Default is 100 -->
<!-- # Number: 50, 100, 200 -->
2017-06-09 00:21:47 +02:00
<P1840 > 50</P1840>
2018-02-23 23:09:19 +01:00
<!-- # SIP T2 Timeout. RFC 3261 T2 value. The maximum retransmit interval for non - INVITE requests and INVITE responses. -->
<!-- # 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default is 400. -->
<!-- # Number: 200, 400, 800 -->
2017-06-09 00:21:47 +02:00
<P1841 > 400</P1841>
2018-02-23 23:09:19 +01:00
<!-- # SIP Transport. 0 - UDP, 1 - TCP, 2 - TCP/TLS. Default is 2 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
{$tp=0}
{if $sip_transport_6 == 'udp'}{$tp=0}{/if}
{if $sip_transport_6 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_6 == 'tls'}{$tp=2}{/if}
{if $sip_transport_6 == 'dns srv'}{$tp=1}{/if}
<P1848 > {$tp}</P1848>
2018-02-23 23:09:19 +01:00
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
2017-06-09 00:21:47 +02:00
<P26524 > 0</P26524>
2018-02-23 23:09:19 +01:00
<!-- # SIP URI Scheme when using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2829 > 1</P2829>
2018-02-23 23:09:19 +01:00
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2831 > 0</P2831>
2018-02-23 23:09:19 +01:00
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2805 > 0</P2805>
2018-02-23 23:09:19 +01:00
<!-- # Support SIP Instace ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1889 > 1</P1889>
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for MWI (Whether or not send SUBSCRIBE for Message Waiting Indication). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($subscribe_mwi)}
<P1815 > 1</P1815>
{else}
<P1815 > 0</P1815>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2819 > 0</P2819>
2018-02-23 23:09:19 +01:00
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1835 > 0</P1835>
2018-02-23 23:09:19 +01:00
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26525 > 0</P26525>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-28 06:58:45 +02:00
<P2824 > 0</P2824>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2859 > 0</P2859>
2018-02-23 23:09:19 +01:00
<!-- #Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26515 > 0</P26515>
2018-02-23 23:09:19 +01:00
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26518 > 0</P26518>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 6/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2838 > 0</P2838>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P2839 > 0</P2839>
2018-02-23 23:09:19 +01:00
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26554 > 1</P26554>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26558 > 1</P26558>
2018-02-23 23:09:19 +01:00
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26559 > 1</P26559>
2018-02-23 23:09:19 +01:00
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P26561 > 1</P26561>
<!-- ########################################## -->
<!-- # Account 6/SIP Settings/Advanced Features -->
<!-- ########################################## -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
2017-06-09 00:21:47 +02:00
<P2813 > 15</P2813>
2018-02-23 23:09:19 +01:00
<!-- # Eventlist BLF URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1844 > </P1844>
2018-02-23 23:09:19 +01:00
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
2017-06-09 00:21:47 +02:00
<P2889 > 0</P2889>
2018-02-23 23:09:19 +01:00
<!-- # Conference URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2818 > </P2818>
2018-02-23 23:09:19 +01:00
<!-- # Music On Hold URI -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P2850 > </P2850>
2018-02-23 23:09:19 +01:00
<!-- # Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6757 > 0</P6757>
2018-02-23 23:09:19 +01:00
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1881 > **</P1881>
2018-02-23 23:09:19 +01:00
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26546 > </P26546>
2018-02-23 23:09:19 +01:00
<!-- # PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1888 > 0</P1888>
2018-02-23 23:09:19 +01:00
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P2855 > 0 </P2855>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P26523 > 0</P26523>
<!-- # Special Feature.100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS. Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117 -->
2017-06-09 00:21:47 +02:00
<P1824 > 100</P1824>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2841 > 0</P2841>
2018-02-23 23:09:19 +01:00
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2842 > 0</P2842>
2018-02-23 23:09:19 +01:00
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2843 > 0</P2843>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2864 > 0</P2864>
2018-02-23 23:09:19 +01:00
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2825 > 0</P2825>
2018-02-23 23:09:19 +01:00
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2888 > 0</P2888>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 6/SIP Settings/Session Timer -->
<!-- ########################################## -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2895 > 1</P2895>
2018-02-23 23:09:19 +01:00
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 0 - 64800 -->
2017-06-09 00:21:47 +02:00
<P1834 > 180</P1834>
2018-02-23 23:09:19 +01:00
<!-- # Minimum SE (in seconds). Default is 90. This value must be lower than or equal to P1834 -->
<!-- # Number: 0 - 64800 -->
2017-06-09 00:21:47 +02:00
<P1827 > 90</P1827>
2018-02-23 23:09:19 +01:00
<!-- # Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1828 > 0</P1828>
2018-02-23 23:09:19 +01:00
<!-- # Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1829 > 0</P1829>
2018-02-23 23:09:19 +01:00
<!-- # Force Timer (Still use timer when remote party does not support timer) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1830 > 0</P1830>
2018-02-23 23:09:19 +01:00
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1832 > 0</P1832>
2018-02-23 23:09:19 +01:00
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1833 > 1</P1833>
2018-02-23 23:09:19 +01:00
<!-- # Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE) -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1831 > 0</P1831>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 6/SIP Settings/Security Settings -->
<!-- ########################################## -->
<!-- # Check Domain Certificates. When set to Yes/Enabled, the domain certificate will be checked as defined in RFC5922 -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2811 > 0</P2811>
2018-02-23 23:09:19 +01:00
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2867 > 0</P2867>
2018-02-23 23:09:19 +01:00
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2806 > 0</P2806>
2018-02-23 23:09:19 +01:00
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1849 > 0</P1849>
2018-02-23 23:09:19 +01:00
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-05-29 01:30:25 +02:00
<P2847 > 1</P2847>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2846 > 0</P2846>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 6/Audio Settings -->
<!-- ########################################## -->
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2801 > 0</P2801>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2802 > 1</P2802>
2018-02-23 23:09:19 +01:00
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2803 > 0</P2803>
2018-02-23 23:09:19 +01:00
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P2885 > 123</P2885>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P1896 > 101</P1896>
2018-02-23 23:09:19 +01:00
<!-- # Preferred Vocoder -->
<!-- # 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1851 > 0</P1851>
2018-02-23 23:09:19 +01:00
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1852 > 8</P1852>
2018-02-23 23:09:19 +01:00
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1853 > 4</P1853>
2018-02-23 23:09:19 +01:00
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1854 > 18</P1854>
2018-02-23 23:09:19 +01:00
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1855 > 9</P1855>
2018-02-23 23:09:19 +01:00
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1856 > 98</P1856>
2018-02-23 23:09:19 +01:00
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1857 > 2</P1857>
2018-02-23 23:09:19 +01:00
<!-- # choice 8. Default is 125 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
2017-06-09 00:21:47 +02:00
<P1858 > 125</P1858>
2018-02-23 23:09:19 +01:00
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2848 > 0</P2848>
2018-02-23 23:09:19 +01:00
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<P29561 > 1</P29561>
<!-- #Disable Multiple m line in SDP -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1887 > 0</P1887>
2018-02-23 23:09:19 +01:00
<!-- # SRTP Mode -->
<!-- # 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_srtp)}
2018-04-06 17:13:26 +02:00
<P1843 > {$grandstream_srtp}</P1843>
2018-03-30 20:42:10 +02:00
{else}
2017-06-09 00:21:47 +02:00
<P1843 > 0</P1843>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<P2883 > 0</P2883>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2863 > 0</P2863>
2018-02-23 23:09:19 +01:00
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1860 > 0</P1860>
2018-02-23 23:09:19 +01:00
<!-- # Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1885 > 0</P1885>
2018-02-23 23:09:19 +01:00
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
2017-06-09 00:21:47 +02:00
<P1886 > 2</P1886>
2018-02-23 23:09:19 +01:00
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1893 > 1</P1893>
2018-02-23 23:09:19 +01:00
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2823 > 0</P2823>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1895 > 1</P1895>
2018-02-23 23:09:19 +01:00
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
2017-06-09 00:21:47 +02:00
<P1894 > 97</P1894>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1898 > 1</P1898>
2018-02-23 23:09:19 +01:00
<!-- # Jitter Buffer Length. 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms. Default is 2 -->
<!-- # Number: 0 - 7 -->
2017-06-09 00:21:47 +02:00
<P1897 > 2</P1897>
2018-02-23 23:09:19 +01:00
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
2017-06-09 00:21:47 +02:00
<P26547 > 0</P26547>
2018-02-23 23:09:19 +01:00
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
2017-06-09 00:21:47 +02:00
<P26560 > 250</P26560>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Account 6/Call Settings -->
<!-- ########################################## -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1822 > 0</P1822>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan Prefix -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1819 > </P1819>
2018-02-23 23:09:19 +01:00
<!-- # Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<P1859 > {$grandstream_dial_plan}</P1859>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call Log. 0 - Log All, 1 - Log Incoming/Outgoing only (Missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1842 > 0</P1842>
2018-02-23 23:09:19 +01:00
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4 -->
<P1823 > 0</P1823>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1518 > </P1518>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1519 > 0</P1519>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1520 > </P1520>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 2 Distinctive Ringtone. -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1521 > 0</P1521>
2018-02-23 23:09:19 +01:00
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1522 > </P1522>
2018-02-23 23:09:19 +01:00
<!-- # Matching Rule 3 Distinctive Ringtone -->
<!-- # 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P1523 > 0</P1523>
2018-02-23 23:09:19 +01:00
<!-- # Ring Timeout (in seconds). Default is 60 -->
<!-- # Number: 30 - 3600 -->
2017-06-09 00:21:47 +02:00
<P1876 > 60</P1876>
2018-02-23 23:09:19 +01:00
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1821 > 0</P1821>
2018-02-23 23:09:19 +01:00
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1846 > 0</P1846>
2018-02-23 23:09:19 +01:00
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1825 > 0</P1825>
2018-02-23 23:09:19 +01:00
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1869 > 0</P1869>
2018-02-23 23:09:19 +01:00
<!-- # Transfer on conference Hang - Up. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2804 > 0</P2804>
2018-02-23 23:09:19 +01:00
<!-- #Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P2884 > 0</P2884>
2018-02-23 23:09:19 +01:00
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<P26570 > 30</P26570>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # No Key Entry Timeout. -->
<!-- # Number: 0, 1 -->
<P891 > 4</P891>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use # As Dial Key. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
<P892 > 1</P892>
<!-- #On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26506 > 0</P26506>
2018-02-23 23:09:19 +01:00
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<P26562 > 1</P26562>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26549 > </P26549>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<P26550 > 0</P26550>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2018-10-09 06:33:27 +02:00
<P26563 > {$grandstream_call_waiting}</P26563>
2018-02-23 23:09:19 +01:00
<!-- ############################################################### -->
<!-- # Account 6/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P838 > 0</P838>
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26519 > 0</P26519>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26571 > 0</P26571>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P26572 > 0</P26572>
<!-- # Custom Call - Info for Auto Answer. -->
<!-- # String -->
<P2856 > </P2856>
<!-- ########################################## -->
<!-- # Account 6/Feature Codes -->
<!-- ########################################## -->
<!-- #Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- #Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1820 > 1</P1820>
2018-02-23 23:09:19 +01:00
<!-- #Do Not Disturb (DND) - On -->
<!-- # String -->
<P2844 > </P2844>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Do Not Disturb (DND) - Off -->
<!-- # String -->
<P2845 > </P2845>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Unconditionally (All) - On -->
<!-- # String -->
<P26513 > </P26513>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Unconditionally (All) - Off -->
<!-- # String -->
<P26514 > </P26514>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Busy - On -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26509 > </P26509>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Busy - Off -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P26510 > </P26510>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Delayed (No Answer) - On -->
<!-- #String -->
2017-06-09 00:21:47 +02:00
<P26511 > </P26511>
2018-02-23 23:09:19 +01:00
<!-- #Call Forward Delayed (No Answer) - Off -->
<!-- #String -->
2017-06-09 00:21:47 +02:00
<P26512 > </P26512>
2018-02-23 23:09:19 +01:00
<!-- #Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- #Number: 1 - 120 -->
2017-06-09 00:21:47 +02:00
<P1870 > </P1870>
2018-02-23 23:09:19 +01:00
<!-- ################################################################### -->
<!-- ## Network/Basic Settings ## -->
<!-- ################################################################### -->
<!-- # Internet Protocol. 0 - Both, prefer IPv4, 1 - Both, prefer IPv6, 2 - IPv4 Only, 3 - IPv6 Only Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2017-06-09 00:21:47 +02:00
<P1415 > 0</P1415>
2018-02-23 23:09:19 +01:00
<!-- # IP Address Mode. 0 - DHCP, 1 - Static IP, 2 - PPPoE. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # P8 = 0 -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # DHCP -->
<!-- ########################################## -->
<!-- # Host name, DHCP option 12. Max length allowed is 64 characters -->
<!-- # String -->
2018-10-09 06:33:27 +02:00
<P146 > phone-{$display_name_1}</P146>
2018-10-10 03:29:16 +02:00
<!-- Set to acct 1 display name for easier identification in dhcp logs for troubleshooting -->
<!-- # Vendor Class ID, DHCP option 60. Max length allowed is 64 characters -->
<!-- # String -->
<!-- # For GXP2130, Default value is Grandstream GXP2130. -->
<!-- # P148 = Grandstream GXP2130 -->
<!-- -->
<!-- # For GXP2140, Default value is Grandstream GXP2140. -->
<!-- # P148 = Grandstream GXP2140 -->
<!-- # For GXP2160, Default value is Grandstream GXP2160. -->
<!-- # P148 = Grandstream GXP2160 -->
<!-- # For GXP2170, Default value is Grandstream GXP2170. -->
<!-- # P148 = Grandstream GXP2170 -->
<!-- # For GXP2135, Default value is Grandstream GXP2135. -->
<!-- # P148 = Grandstream GXP2135 -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # PPPoE -->
<!-- ########################################## -->
<!-- # PPPoE Account ID -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P82 > </P82>
2018-02-23 23:09:19 +01:00
<!-- # PPPoE Password -->
<!-- # String -->
<!-- # Cannot contain ` or " -->
2017-06-09 00:21:47 +02:00
<P83 > </P83>
2018-02-23 23:09:19 +01:00
<!-- # PPPoE Service Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P269 > </P269>
2018-02-23 23:09:19 +01:00
<!-- ########################################## -->
<!-- # Statically Configured -->
<!-- ########################################## -->
<!-- # IP Address. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P9>192</P9> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P10>168</P10> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P11>0</P11> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P12>160</P12> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Subnet mask. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P13>255</P13> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P14>255</P14> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P15>0</P15> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P16>0</P16> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Gateway. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P17>0</P17> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P18>0</P18> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P19>0</P19> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P20>0</P20> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # DNS 1 Server. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P21>0</P21> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P22>0</P22> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P23>0</P23> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P24>0</P24> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # DNS 2 Server. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P25>0</P25> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P26>0</P26> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P27>0</P27> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P28>0</P28> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Preferred DNS server. (if specified). -->
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P92>0</P92> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P93>0</P93> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P94>0</P94> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Number: 0 - 255 -->
2018-10-09 06:33:27 +02:00
<!-- <P95>0</P95> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # IPv6 Address type. 0 - Auto Configured, 1 - Statically Configured. Default is 0. -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1419 > 0</P1419>
2018-02-23 23:09:19 +01:00
<!-- # IPv6 Address type: Statically configured. 0 - Full Static, 1 - Prefix Static -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1426 > 0</P1426>
2018-02-23 23:09:19 +01:00
<!-- # Full Static: Static IPv6 Address -->
2017-06-09 00:21:47 +02:00
<P1420 > </P1420>
2018-02-23 23:09:19 +01:00
<!-- # Full Static: IPv6 Prefix Length -->
2017-06-09 00:21:47 +02:00
<P1421 > </P1421>
2018-02-23 23:09:19 +01:00
<!-- # Prefix Static: IPv6 Prefix (64bits) -->
2017-06-09 00:21:47 +02:00
<P1422 > </P1422>
2018-02-23 23:09:19 +01:00
<!-- # DNS Server 1 for IPv6 Address -->
<!-- # String: a - z, A - Z, 0 - 9, ".", ":", "[", "]" -->
2017-06-09 00:21:47 +02:00
<P1424 > </P1424>
2018-02-23 23:09:19 +01:00
<!-- # DNS Server 2 for IPv6 Address -->
<!-- # String: a - z, A - Z, 0 - 9, ".", ":", "[", "]" -->
2017-06-09 00:21:47 +02:00
<P1425 > </P1425>
2018-02-23 23:09:19 +01:00
<!-- # Preferred DNS Server for IPv6 Address -->
<!-- # String: a - z, A - Z, 0 - 9, ".", ":", "[", "]" -->
2017-06-09 00:21:47 +02:00
<P1423 > </P1423>
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Network/Advanced Settings ## -->
<!-- ############################################################################## -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # 802.1X Mode. 0 - Disable, 1 - EAP - MD5. 2 - EAP - TLS, 3 - EAP - PEAPv0/MSCHAPv2. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2017-06-09 00:21:47 +02:00
<P7901 > 0</P7901>
2018-02-23 23:09:19 +01:00
<!-- # 802.1X Identity. Max length allowed is 64 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P7902 > </P7902>
2018-02-23 23:09:19 +01:00
<!-- # MD5 Password. Max length allowed is 64 characters -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P7903 > </P7903>
2018-02-23 23:09:19 +01:00
<!-- # 802.1X CA Certificate -->
<!-- # String -->
<!-- # P8439 = -->
<!-- # 802.1X Client Certificate -->
<!-- # String -->
<!-- # P8440 = -->
<!-- # HTTP Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1552 > </P1552>
2018-02-23 23:09:19 +01:00
<!-- # HTTPS Proxy -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1553 > </P1553>
2018-02-23 23:09:19 +01:00
<!-- # Bypass Proxy For -->
<!-- # String -->
<P22011 > </P22011>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Layer 3 QoS for SIP -->
<!-- # Number:0 - 63 -->
<P1558 > 26 </P1558>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Layer 3 QoS for RTP -->
<!-- # Number:0 - 63 -->
<P1559 > 46 </P1559>
<!-- # Enable DHCP VLAN. 0 - Disable, 1 - Enable. Default is 0. -->
<!-- # Number: 0,1 -->
2017-06-09 00:21:47 +02:00
<P8300 > 0</P8300>
2018-02-23 23:09:19 +01:00
<!-- # Layer 2 QoS. 802.1Q/VLAN Tag (VLAN classification for RTP). Default is 0 -->
<!-- # Number: 0 - 4094 -->
{if isset($grandstream_lan_port_vlan) }
<P51 > {$grandstream_lan_port_vlan}</P51>
2017-06-09 00:21:47 +02:00
{else}
<P51 > 0</P51>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Layer 2 QoS. 802.1p priority value (0 - 7). Default is 0 -->
<!-- # Number: 0 - 7 -->
2017-06-09 00:21:47 +02:00
<P87 > 0</P87>
2018-02-23 23:09:19 +01:00
<!-- # PC Port Mode. 0 - Enable, 1 - Disabled, 2 - Mirrored. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P1348 > 0</P1348>
2018-02-23 23:09:19 +01:00
<!-- # PC Port VLAN Tag. Default is 0 -->
<!-- # Number: 0 - 4094 -->
{if isset($grandstream_pc_port_vlan) }
<P229 > {$grandstream_pc_port_vlan}</P229>
2017-06-09 00:21:47 +02:00
{else}
2018-10-09 06:33:27 +02:00
<P229 > 0</P229>
2017-06-09 00:21:47 +02:00
{/if}
2018-02-23 23:09:19 +01:00
<!-- # PC Port Priority Value. Default is 0 -->
<!-- # Number: 0 - 7 -->
2017-06-09 00:21:47 +02:00
<P230 > 0</P230>
2018-02-23 23:09:19 +01:00
<!-- # Enable CDP. 0 - Disabled, 1 - Enabled. Default is 1 -->
<!-- # Number: 0, 1 -->
<P22119 > 1</P22119>
<!-- # Enable LLDP. 0 - Disabled, 1 - Enabled. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1684 > 1</P1684>
2018-02-23 23:09:19 +01:00
<!-- # LLDP TX Interval. Default is 30 -->
<!-- # Number: 1 - 3600 -->
2017-06-09 00:21:47 +02:00
<P22122 > 30</P22122>
2018-02-23 23:09:19 +01:00
<!-- # Maximum Transmission Unit(MTU). Default is 1500 -->
<!-- # Number: 576 - 1500 -->
<P244 > 1500</P244>
<!-- ############################################################################## -->
<!-- ## Network/Affinity Settings -->
<!-- ############################################################################## -->
<!-- # Affinity Support. 0 - Disabled, 1 - Enabled -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # 0 - No, 1 - Yes -->
<P8334 > 0</P8334>
<!-- # Preferred Account. 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4, 4 - Account 5, 5 - Account 6 -->
<!-- # Number: 0 - 5. Default is 0 -->
<P8335 > 0</P8335>
<!-- ############################################################################## -->
<!-- ## Network /Bluetooth Settings -->
<!-- ############################################################################## -->
<!-- # Bluetooth Power. Default is 1. -->
<!-- # 0 - Off, 1 - On, 2 - Off & Hide Menu From LCD -->
<!-- # Number: 0, 1, 2 -->
{if isset($grandstream_bluetooth_power)}
<P2910 > {$grandstream_bluetooth_power}</P2910>
{/if}
<!-- # Handsfree Mode. Default is 0. -->
<!-- # Number: 0, 1. 0 - Off, 1 - On -->
{if isset($grandstream_bluetooth_handsfree)}
<P2911 > {$grandstream_bluetooth_handsfree}</P2911>
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Bluetooth Name. -->
<!-- # String -->
<!-- #P8364 = -->
2018-10-10 03:29:16 +02:00
<!-- ############################################################################## -->
<!-- ## Network/OpenVPN Settings ## -->
<!-- ############################################################################## -->
<!-- # OpenVPN Enable. 0 - No, 1 - Yes. Default is 1 -->
<!-- #Number: 0, 1 -->
<!-- #Mandatory -->
<P7050 > 0</P7050>
<!-- # OpenVPN Server Address -->
<!-- # String -->
<P7051 > </P7051>
<!-- # OpenVPN Port. Default is 1194 -->
<!-- # Number -->
<P7052 > 1194</P7052>
<!-- # OpenVPN Transport. 0 - UDP, 1 - TCP. Default is 0 -->
<!-- #Number: 0, 1 -->
<!-- #Mandatory -->
<P2912 > 0</P2912>
<!-- # OpenVPN CA -->
<!-- # String -->
<P9902 > </P9902>
<!-- # OpenVPN Certificate -->
<!-- # String -->
<P9903 > </P9903>
<!-- # OpenVPN Client Key -->
<!-- # String -->
<P9904 > </P9904>
<!-- # OpenVPN Cipher Method. 0 - Blowfish, 1 - AES - 128, 2 - AES - 256, 3 - Triple - DES. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
<P8396 > 0</P8396>
<!-- # OpenVPN Username -->
<!-- # String -->
<P8394 > </P8394>
<!-- # OpenVPN Password -->
<!-- # String -->
<P8395 > </P8395>
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Maintenance/ Web Access ## -->
<!-- ############################################################################## -->
<!-- # End User Password -->
<!-- # String: a - z, A - Z, 0 - 9 -->
2017-06-09 00:21:47 +02:00
<P196 > {$user_password}</P196>
2018-02-23 23:09:19 +01:00
<!-- # Admin password for web interface -->
<!-- # String: a - z, A - Z, 0 - 9 -->
2017-06-09 00:21:47 +02:00
<P2 > {$admin_password}</P2>
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Maintenance/Upgrade and Provisioning -->
<!-- ############################################################################## -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Firmware Upgrade and Provisioning -->
<!-- # 0 - Always Check For New Firmware -->
<!-- # 1 - Check New Firmware only when F/W pre/suffix changes -->
<!-- # 2 - Always Skip the Firmware Check -->
<!-- # Number: 0, 1, 2 -->
2017-06-09 00:21:47 +02:00
<P238 > 0</P238>
2018-02-23 23:09:19 +01:00
<!-- # Always Authenticate Before Challenge. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P20713 > 0</P20713>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Allow DHCP Option 43 and Option 66 to override server. 0 - No, 1 - Yes. Default is 1 -->
<!-- # When set to Yes(1), it will override the configured provision path and method -->
<!-- # Number: 0, 1 -->
<P145 > 1</P145>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Additional Override DHCP Option. 0 - None, 1 - Option 150, 2 - Option 160. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P8337 > 0</P8337>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Allow DHCP Option 120 to Override SIP Server -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1411 > 0</P1411>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # 3CX Auto Provision. 0 - No, 1 - Yes. Default is Yes -->
<!-- # Number: 0, 1 -->
<P1414 > 1</P1414>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Automatic Upgrade. -->
<!-- # 0 - No, -->
<!-- # 1 - Yes, check for upgrade based on minute(s) setting, -->
<!-- # 2 - Yes, check for upgrade based on Hour of Day setting, -->
<!-- # 3 - Yes, check for upgrade based on Day of Week setting, -->
<!-- # Default is No -->
<!-- # Number: 0, 1, 2, 3 -->
<P194 > 1</P194>
<!-- # Check for new firmware every () minutes. Default is 7 days. -->
<!-- # Number: 60 - 86400 -->
<P193 > 60</P193>
<!-- # Hour of the Day (0 - 23). Default is 1 -->
<!-- # Number: 0 - 23 -->
<P285 > 1</P285>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Day of the Week (0 - 6). Default is 1 -->
<!-- # Number: 0 - 6 -->
<P286 > 1</P286>
<!-- # Disable SIP NOTIFY Authentication. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<P4428 > 0</P4428>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- #Config -->
<!-- # Config Via. 0 - TFTP, 1 - HTTP, 2 - HTTPS. Default is 2 -->
<!-- # Number: 0, 1, 2 -->
<P212 > 2</P212>
<!-- # Config Server Path -->
<!-- # String -->
{if $grandstream_config_server_path=="none"}
2017-06-09 00:21:47 +02:00
<P237 > </P237>
2018-02-23 23:09:19 +01:00
{elseif isset($grandstream_config_server_path)}
<P237 > {$grandstream_config_server_path}</P237>
2017-06-09 00:21:47 +02:00
{else}
<P237 > {$domain_name}{$project_path}/app/provision</P237>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Config HTTP/HTTPS User Name -->
<!-- # String -->
<P1360 > {$http_auth_username}</P1360>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Config HTTP/HTTPS Password -->
<!-- # String -->
<P1361 > {$http_auth_password}</P1361>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Config File Prefix -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P234 > </P234>
2018-02-23 23:09:19 +01:00
<!-- # Config File Postfix -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P235 > </P235>
2018-02-23 23:09:19 +01:00
<!-- # XML Config File Password -->
<!-- # String -->
2018-04-11 02:24:25 +02:00
<P1359 > </P1359>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Authenticate Conf File. 0 - No, 1 - Yes. Default is No -->
<!-- # Number: 0, 1 -->
<P240 > 0</P240>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Firmware -->
<!-- # Firmware Upgrade Via. 0 - TFTP, 1 - HTTP, 2 - HTTPS. Default is 2 -->
<!-- # Number: 0, 1, 2 -->
<P6767 > 2</P6767>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Firmware Server Path -->
<!-- # String -->
2018-08-26 21:04:13 +02:00
{if isset($grandstream_firmware_path) & & isset($firmware_version)}
<P192 > {$grandstream_firmware_path}/gxp2170/{$firmware_version}</P192>
{elseif isset($grandstream_firmware_path)}
<P192 > {$grandstream_firmware_path}/gxp2170</P192>
2018-02-23 23:09:19 +01:00
{else}
<P192 > {$domain_name}{$project_path}/app/provision</P192>
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Firmware HTTP/HTTPS User Name -->
<!-- # String -->
<P6768 > </P6768>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Firmware HTTP/HTTPS Password -->
<!-- # String -->
<P6769 > </P6769>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Firmware File Prefix -->
<!-- # String -->
<P232 > </P232>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Firmware File Postfix -->
<!-- # String -->
<P233 > </P233>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Maintenance/Syslog -->
<!-- ############################################################################## -->
<!-- # Syslog Protocol. 0 - UDP, 1 - SSL/TLS. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8402 > 0</P8402>
<!-- # Syslog Server (name of the server, max length is 64 characters) -->
<!-- # String -->
<P207 > {$grandstream_syslog_server}</P207>
<!-- # Syslog Level. 0 - NONE, 1 - DEBUG, 2 - INFO, 3 - WARNING, 4 - ERROR. Default is 0 -->
<!-- # Number: 0, 1 , 2, 3, 4 -->
{if isset($grandstream_syslog_level)}
<P208 > {$grandstream_syslog_level}</P208>
2017-06-09 00:21:47 +02:00
{else}
<P208 > 0</P208>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Syslog Keyword Filtering -->
<!-- # String -->
<P22129 > </P22129>
<!-- # Send SIP Log. 0 - Do not send SIP log in Syslog, 1 - Send SIP log in Syslog if configured and set to DEBUG level. Default is 0 -->
<!-- # Number: 0, 1 -->
{if isset($grandstream_send_sip_log)}
<P1387 > {$grandstream_send_sip_log}</P1387>
2017-06-09 00:21:47 +02:00
{else}
<P1387 > 0</P1387>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Show Internet Down Message. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8370 > 0</P8370>
<!-- # Auto recover from abnormal. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1438 > 1</P1438>
2018-02-23 23:09:19 +01:00
<!-- # USB Console Log. 0 - No, 1 - Yes. Default is 0 (for GXP2140/2160/2170 only) -->
<!-- # Number: 0, 1 -->
<P2922 > 0</P2922>
<!-- ############################################################################## -->
<!-- ## Maintenance/Language -->
<!-- ############################################################################## -->
<!-- # Display Language. Default is Auto -->
<!-- # ar - Arabic, cz - Czech, de - Deutsh -->
2018-10-09 06:33:27 +02:00
<!-- # en - English, es - Spanish, fr - Francais -->
<!-- # he - Hebrew, hr - Hrvatski, hu - Magyar -->
<!-- # it - Italiano, ja - japanese, ko - korean, lv - latvian -->
<!-- # nl - Dutch, pl - Polski, pt - Portugue -->
<!-- # ru - Russian, sl - Slovenian, se - Svenska, tr - Turkish -->
<!-- # zh - tw - traditional chinese, zh - simplified chinese, auto - Automatic -->
<!-- # gxp - Downloaded Language -->
<!-- # String -->
<P1362 > Auto</P1362>
2017-06-09 00:21:47 +02:00
2018-10-09 06:33:27 +02:00
<!-- # Default Input Selection. Default is Multi - Tap. -->
<!-- # 0 - Multi - Tap, 1 - Shiftable -->
<P2920 > 0</P2920>
2017-06-09 00:21:47 +02:00
2018-10-09 06:33:27 +02:00
<!-- # Auto language download. 0 - Yes, 1 - No. Default is 0 -->
<!-- # Number: 0, 1 -->
<P2961 > 0</P2961>
2017-06-09 00:21:47 +02:00
2018-10-10 03:29:16 +02:00
<!-- ############################################################################## -->
<!-- ## Maintenance/TR - 069 -->
<!-- ############################################################################## -->
<!-- # ACS URL -->
<!-- # String -->
<!-- # P4503 = -->
<!-- # TR - 069 Username -->
<!-- # String -->
<!-- <P4504></P4504> -->
<!-- # TR - 069 Password -->
<!-- # String -->
<!-- <P4505></P4505> -->
<!-- # Periodic Inform Enable. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- <P4506>0</P4506> -->
<!-- # Periodic Inform Interval. Default is 86400. -->
<!-- # Number -->
<!-- <P4507>86400</P4507> -->
<!-- # Connection Request Username -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<!-- <P4511></P4511> -->
<!-- # Connection Request Password -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<!-- <P4512></P4512> -->
<!-- # Connection Request Port. Default is 7547. -->
<!-- # Number -->
<!-- <P4518>7547</P4518> -->
<!-- # CPE SSL Certificate -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<!-- <P8220></P8220> -->
<!-- # CPE SSL Private Key -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<!-- <P8221></P8221> -->
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Maintenance/Security Settings/Security ## -->
<!-- ############################################################################## -->
<!-- # Configuration Via Keypad Menu. 0 - Unrestricted, 1 - Basic settings only, 2 - Constraint mode, 3 - Locked Mode. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2017-06-09 00:21:47 +02:00
<P1357 > 0</P1357>
2018-02-23 23:09:19 +01:00
<!-- # SIP TLS Certificate -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<!-- #P280 = -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SIP TLS Private Key -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<!-- #P279 = -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # SIP TLS Private Key Password -->
<!-- # String: a - z, A - Z, 0 - 9 -->
2017-06-09 00:21:47 +02:00
<P281 > </P281>
2018-02-23 23:09:19 +01:00
<!-- # Web Access Mode. 0 - HTTPS, 1 - HTTP, 2 - Disabled. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1650 > 1</P1650>
2018-02-23 23:09:19 +01:00
<!-- # HTTP Web Port. Default is 80 -->
<!-- # Number -->
2017-06-09 00:21:47 +02:00
<P22120 > 80</P22120>
2018-02-23 23:09:19 +01:00
<!-- # HTTPS Web Port. Default is 443 -->
<!-- # Number -->
2017-06-09 00:21:47 +02:00
<P22121 > 443</P22121>
2018-02-23 23:09:19 +01:00
<!-- # Disable SSH. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P276 > 0</P276>
<!-- # Web/Keypad/Restrict mode Lockout Duration (0 - 60 minutes). Default is 5 -->
<!-- # Number: 0 - 60 -->
2017-06-09 00:21:47 +02:00
<P1683 > 5</P1683>
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Maintenance/Security Settings/Trusted CA Certificates ## -->
<!-- ############################################################################## -->
<!-- # Trusted CA Certificate 1 -->
<!-- # String -->
<!-- # P8433 = -->
<!-- # Trusted CA Certificate 2 -->
<!-- # String -->
<!-- # P8434 = -->
<!-- # Trusted CA Certificate 3 -->
<!-- # String -->
<!-- # P8435 = -->
<!-- # Trusted CA Certificate 4 -->
<!-- # String -->
<!-- # P8436 = -->
<!-- # Trusted CA Certificate 5 -->
<!-- # String -->
<!-- # P8437 = -->
<!-- # Trusted CA Certificate 6 -->
<!-- # String -->
<!-- # P8438 = -->
<!-- ############################################################################## -->
<!-- ## Maintenance/Security Settings/Keypad Lock ## -->
<!-- ############################################################################## -->
<!-- # Enable Keypad Locking. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1382 > 0</P1382>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Keypad Lock Type. 0 - All Keys, 1 - Functional Keys. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8383 > 0</P8383>
<!-- # Password to Lock/Unlock -->
<!-- # String -->
<P1383 > </P1383>
<!-- # Keypad Lock Timer. Default is 0 -->
<!-- # Number -->
<P8384 > 0</P8384>
<!-- # Emergency -->
<!-- # String -->
<P8385 > </P8385>
<!-- ############################################################################## -->
<!-- ## Maintenance/Packet Capture ## -->
<!-- ############################################################################## -->
<!-- # With RTP Packets. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6007 > 0</P6007>
2018-02-23 23:09:19 +01:00
<!-- # Capture Location. 0 - Internal Storage, 1 - USB. Default is 0 (GXP2140/2160/GXP2170 only) -->
<!-- # Number: 0, 1. -->
2017-06-09 00:21:47 +02:00
<P2999 > 0</P2999>
2018-02-23 23:09:19 +01:00
<!-- # USB Filename (GXP2140/2160/GXP2170 only) -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P6008 > </P6008>
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Phonebook/Phonebook Management -->
<!-- ############################################################################## -->
<!-- # Enable Phonebook XML Download. # 0 - Disabled, 1 - Enabled, use HTTP, 2 - Enabled, use TFTP, 3 - Enabled, use HTTPS. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
2017-06-09 00:21:47 +02:00
{if isset($contact_grandstream)}
<P330 > 1</P330>
{else}
<P330 > 0</P330>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # HTTP/HTTPS User Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P6713 > </P6713>
2018-02-23 23:09:19 +01:00
<!-- # HTTP/HTTPS Password -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P6714 > </P6714>
2018-02-23 23:09:19 +01:00
<!-- # Phonebook XML Server Path -->
<!-- # This is a string of up to 256 characters that should contain a path to the XML file. It MUST be in the host/path format. -->
<!-- # For example: directory.grandstream.com/engineering -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
{if isset($contact_grandstream)}
2018-02-23 23:09:19 +01:00
<P331 > {$grandstream_phonebook_xml_server_path}{$mac}/</P331>
{elseif isset($grandstream_phonebook_xml_server_path)}
<P331 > {$grandstream_phonebook_xml_server_path}</P331>
2017-06-09 00:21:47 +02:00
{else}
<P331 > </P331>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Phonebook Download Interval (in minutes) -->
<!-- # Valid value range is 5 - 720. Default is 0 for disabled -->
<!-- # Number: 0, 5 - 720; -->
{if isset($grandstream_phonebook_download_interval)}
<P332 > {$grandstream_phonebook_download_interval}</P332>
2017-06-09 00:21:47 +02:00
{else}
<P332 > 0</P332>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Remove Manually - edited entries on Download. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P333 > 1</P333>
2018-02-23 23:09:19 +01:00
<!-- # Sort Phonebook by. 0 - Last Name, 1 - First Name. Default is 0 -->
<!-- # Number: 0, 1 -->
<P2914 > 0</P2914>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Phonebook Key Function. 0 - Default, 1 - LDAP Search, 2 - Local Phonebook, 3 - Local Group, 4 - Broadsoft Phonebook -->
<!-- # Number: 0, 1, 2, 3, 4. -->
2017-06-09 00:21:47 +02:00
{if isset($contact_grandstream)}
<P1526 > 2</P1526>
{else}
<P1526 > 0</P1526>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Default search mode. 0 - Quick match, 1 - Exact match. Default is 0 -->
<!-- # Number: 0, 1. -->
2017-06-09 00:21:47 +02:00
<P2970 > 0</P2970>
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Phonebook/LDAP -->
<!-- ############################################################################## -->
<!-- #LDAP protocol. 0 - LDAP, 1 - LDAPS -->
<!-- #Number: 0,1 -->
2017-06-09 00:21:47 +02:00
<P8037 > 0</P8037>
2018-02-23 23:09:19 +01:00
<!-- # LDAP Server Address, up to 256 characters can be used. It can be IP address or Domain name -->
<!-- # String -->
<P8020 > {$grandstream_ldap_server}</P8020>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # LDAP Server Port. Default is 389. -->
<!-- # Number: 1 - 65535 -->
2017-06-09 00:21:47 +02:00
<P8021 > 389</P8021>
2018-02-23 23:09:19 +01:00
<!-- # Base. The LDAP search base refers to the location in the directory where the search is requested to begin -->
<!-- # Example 1: dc=grandstream,dc=com -->
<!-- # Example 2: ou=Boston, dc=grandstream,dc=com -->
<!-- # String -->
<P8022 > {$grandstream_ldap_base_dn}</P8022>
<!-- # User name. The bind "Username" for querying LDAP servers. Some LDAP servers allow anonymous binds in which case the setting can be left blank -->
<!-- # String -->
<P8023 > {$grandstream_ldap_username}</P8023>
<!-- # Password. The bind "Password" for querying LDAP servers. And the field can be left blank if the LDAP server allows anonymous binds -->
<!-- # String -->
<P8024 > {$grandstream_ldap_password}</P8024>
<!-- # LDAP Number Filter -->
<!-- # LDAP name filter is the filter used for name look ups. Please refer to user manual for examples -->
<!-- # String -->
<P8025 > {$grandstream_ldap_number_filter}</P8025>
<!-- # LDAP Name Filter -->
<!-- # LDAP name filter is the filter used for name look ups. Please refer to user manual for examples -->
<!-- # String -->
<P8026 > {$grandstream_ldap_name_filter}</P8026>
<!-- # LDAP Version. Protocol version for the phone when send the bind requests -->
<!-- # 2 - version 2, 3 - version 3. Default is 3 -->
2017-06-09 00:21:47 +02:00
<P8027 > 3</P8027>
2018-02-23 23:09:19 +01:00
<!-- # LDAP Name Attributes. This setting specifies the "name" attributes of each record which are returned in the LDAP search result -->
<!-- # The setting allows the users to configure multiple space separated name attributes -->
<!-- # String -->
<P8028 > {$grandstream_ldap_name_attr}</P8028>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # LDAP Number Attributes. This setting specifies the “number” attributes of each record which are returned in the LDAP search result -->
<!-- # The setting allows the users to configure multiple space separated number attributes -->
<!-- # String -->
<P8029 > {$grandstream_ldap_number_attr}</P8029>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # LDAP Display Name. The entry information to be shown on phone LCD. Grandstream phones will display up to 3 fields -->
<!-- # String -->
2018-02-24 00:59:40 +01:00
<P8030 > {$grandstream_ldap_display_name}</P8030>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Max Hits. The setting specifies the maximum number of results to be returned by the LDAP server -->
<!-- # If the value is set to 0, server will return all search results. Default is 50 -->
<!-- # Number: 0 - 32000 -->
2017-06-09 00:21:47 +02:00
<P8031 > 50</P8031>
2018-02-23 23:09:19 +01:00
<!-- # Search Timeout (in seconds). Default is 30 -->
<!-- # The setting specifies how long the server should process the request and client waits for server to return -->
<!-- # Number: 0 - 180 -->
2017-06-09 00:21:47 +02:00
<P8032 > 30</P8032>
2018-02-23 23:09:19 +01:00
<!-- # Sort Results. This setting is used for sorting searching result. Default is 0 -->
<!-- # Number: 0, 1. 0 - No, 1 - Yes. Default is 0 -->
2017-06-09 00:21:47 +02:00
<P8033 > 0</P8033>
2018-02-23 23:09:19 +01:00
<!-- # LDAP Lookup -->
<!-- # Incoming calls. 0 - No, 1 - Yes. Default is 0 -->
<P8035 > 0</P8035>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Outgoing calls. 0 - No, 1 - Yes. Default is 0 -->
<P8034 > 0</P8034>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Lookup Display Name -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P8036 > givenName sn title</P8036>
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/General Settings -->
<!-- ############################################################################## -->
<!-- # Local RTP port. Default is 5004 -->
<!-- # Number: 1024 - 65400. Must be even number -->
2017-06-09 00:21:47 +02:00
<P39 > 5004</P39>
2018-02-23 23:09:19 +01:00
<!-- # Local RTP port range. Default is 200 -->
<!-- # Number: 48 - 10000 -->
2017-06-09 00:21:47 +02:00
<P29610 > 200</P29610>
<!-- Max Local RTP Port. Default is 5204. -->
<!-- Number: 1024 - 65400. -->
<!-- Mandatory -->
<P29608 > 5204</P29608>
2018-02-23 23:09:19 +01:00
<!-- # Use Random Port. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P78 > 0</P78>
2018-02-23 23:09:19 +01:00
<!-- # Keep - Alive Interval (in seconds). Default is 20 -->
<!-- # Number: 10 - 160 -->
2017-06-09 00:21:47 +02:00
<P84 > 20</P84>
2018-02-23 23:09:19 +01:00
<!-- # 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, ".", ":" -->
2017-06-09 00:21:47 +02:00
<P101 > </P101>
2018-02-23 23:09:19 +01:00
<!-- # STUN server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P76 > </P76>
2018-02-23 23:09:19 +01:00
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
{if isset($public_mode) }
2018-02-23 23:09:19 +01:00
{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}
2017-06-09 00:21:47 +02:00
{else}
<P1345 > 0</P1345>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Delay Registration. Default is 0. -->
<!-- # Number: 0 - 90 -->
2017-06-09 00:21:47 +02:00
<P8359 > 0</P8359>
2018-10-10 03:29:16 +02:00
<!-- ############################################################################## -->
<!-- ## Settings/Broadsoft -->
<!-- ############################################################################## -->
<!-- ################################################################### -->
<!-- # Broadsoft XSI -->
<!-- ################################################################### -->
<!-- # XSI -->
<!-- # Server address -->
<!-- # String -->
<!-- <P1591> </P1591> -->
<!-- # Port -->
<!-- # Number -->
<!-- <P1592> </P1592> -->
<!-- # XSI Actions Path -->
<!-- # String -->
<!-- <P2937></P2937> -->
<!-- # Broadsoft Contact Download Interval. Default is 0. If set to 0, automatic download will be disabled. Valid range is 5 to 720. -->
<!-- # Number: 5 - 720 -->
<!-- <P8362>0</P8362> -->
<!-- # XSI Authentication Type. 0 - Login Credentials, 1 - SIP Credentials, 2 - Account 1, 3 - Account 2, 4 - Account 3, 5 - Account 4, 6 - Account 5, 7 - Account 6. -->
<!-- # Number: 0,1,2,3,4,5,6,7.Default is 0. -->
<!-- <P22054>0</P22054> -->
<!-- # Login Credentials -->
<!-- # Login Username -->
<!-- # String -->
<!-- <P1593></P1593> -->
<!-- # Login Password -->
<!-- # String -->
<!-- <P1594></P1594> -->
<!-- # SIP Credentials -->
<!-- # SIP UserName -->
<!-- # String -->
<!-- <P6772></P6772> -->
<!-- # SIP User ID -->
<!-- # String -->
<!-- <P22034></P22034> -->
<!-- # SIP Password -->
<!-- # String -->
<!-- <P6773></P6773> -->
<!-- # Sort Phonebook by. 0 - Last Name, 1 - First Name. Defaut is 0. -->
<!-- # Number: 0, 1 -->
<!-- <P22131>0</P22131> -->
<!-- ###################################################################################### -->
<!-- # Network Directories -->
<!-- ###################################################################################### -->
<!-- ### Group Directory ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- <P2971>0</P2971> -->
<!-- # Name. -->
<!-- # String -->
<!-- <P2972></P2972> -->
<!-- ### Enterprise Directory ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- <P2973>0</P2973> -->
<!-- # Name. -->
<!-- # String -->
<!-- <P2974></P2974> -->
<!-- ### Group Common ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- <P2975>0</P2975> -->
<!-- # Name. -->
<!-- # String -->
<!-- <P2976></P2976> -->
<!-- ### Enterprise Common ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- <P2977>0</P2977> -->
<!-- # Name. -->
<!-- # String -->
<!-- <P2978></P2978> -->
<!-- ### Personal Directory ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- <P2979>0</P2979> -->
<!-- # Name. -->
<!-- # String -->
<!-- <P2980></P2980> -->
<!-- ### Missed Call Log ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- <P2981>0</P2981> -->
<!-- # Name. -->
<!-- # String -->
<!-- <P2982></P2982> -->
<!-- ### Placed Call Log ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- <P2983>0</P2983> -->
<!-- # Name. -->
<!-- # String -->
<!-- <P2984></P2984> -->
<!-- ### Received Call Log ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- <P2985>0</P2985> -->
<!-- # Name. -->
<!-- # String -->
<!-- <P2986></P2986> -->
<!-- ############################################################################## -->
<!-- ## Phonebook/Broadsoft Instant Message and Presence -->
<!-- ############################################################################## -->
<!-- # Login Credentials -->
<!-- # Server. -->
<!-- # String -->
<!-- <P6006></P6006> -->
<!-- # Port. -->
<!-- # String -->
<!-- <P6005></P6005> -->
<!-- # Username. -->
<!-- # String -->
<!-- <P2966></P2966> -->
<!-- # Password. -->
<!-- # String -->
<!-- <P2967></P2967> -->
<!-- # IM&P Settings -->
<!-- # Broadsoft IM&P. Default is 0. -->
<!-- # Number: 0,1. 1 - Enabled, 0 - Disabled -->
<!-- <P2964>0</P2964> -->
<!-- # Associated Broadsoft Account. Default is 0. -->
<!-- # Number: 0 - 5 : Account 1 - Account 6 -->
<!-- <P2965>0</P2965> -->
<!-- # Auto Login. Default is 0. -->
<!-- # 0 - No, 1 - Yes -->
<!-- <P2968>0</P2968> -->
<!-- # Display Non XMPP Contacts. Default is 0. -->
<!-- # 0 - No, 1 - Yes -->
<!-- <P2969>0</P2969> -->
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/External Service -->
<!-- ############################################################################## -->
<!-- ## Grandstream Door System -->
<!-- ############################################################### -->
<!-- # Order 1 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32000 > -1</P32000>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32001 > 0</P32001>
<!-- # System Identification -->
<!-- # String -->
<P32002 > </P32002>
<!-- # System Number -->
<!-- # String -->
<P32003 > </P32003>
<!-- # Access Password -->
<!-- # String -->
<P32004 > </P32004>
<!-- ############################################################### -->
<!-- # Order 2 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32005 > -1</P32005>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32006 > 0</P32006>
<!-- # System Identification -->
<!-- # String -->
<P32007 > </P32007>
<!-- # System Number -->
<!-- # String -->
<P32008 > </P32008>
<!-- # Access Password -->
<!-- # String -->
<P32009 > </P32009>
<!-- ############################################################### -->
<!-- # Order 3 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32010 > -1</P32010>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32011 > 0</P32011>
<!-- # System Identification -->
<!-- # String -->
<P32012 > </P32012>
<!-- # System Number -->
<!-- # String -->
<P32013 > </P32013>
<!-- # Access Password -->
<!-- # String -->
<P32014 > </P32014>
<!-- ############################################################### -->
<!-- # Order 4 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32015 > -1</P32015>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32016 > 0</P32016>
<!-- # System Identification -->
<!-- # String -->
<P32017 > </P32017>
<!-- # System Number -->
<!-- # String -->
<P32018 > </P32018>
<!-- # Access Password -->
<!-- # String -->
<P32019 > </P32019>
<!-- ############################################################### -->
<!-- # Order 5 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32020 > -1</P32020>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32021 > 0</P32021>
<!-- # System Identification -->
<!-- # String -->
<P32022 > </P32022>
<!-- # System Number -->
<!-- # String -->
<P32023 > </P32023>
<!-- # Access Password -->
<!-- # String -->
<P32024 > </P32024>
<!-- ############################################################### -->
<!-- # Order 6 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32025 > -1</P32025>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32026 > 0</P32026>
<!-- # System Identification -->
<!-- # String -->
<P32027 > </P32027>
<!-- # System Number -->
<!-- # String -->
<P32028 > </P32028>
<!-- # Access Password -->
<!-- # String -->
<P32029 > </P32029>
<!-- ############################################################### -->
<!-- # Order 7 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32030 > -1</P32030>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32031 > 0</P32031>
<!-- # System Identification -->
<!-- # String -->
<P32032 > </P32032>
<!-- # System Number -->
<!-- # String -->
<P32033 > </P32033>
<!-- # Access Password -->
<!-- # String -->
<P32034 > </P32034>
<!-- ############################################################### -->
<!-- # Order 8 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32035 > -1</P32035>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32036 > 0</P32036>
<!-- # System Identification -->
<!-- # String -->
<P32037 > </P32037>
<!-- # System Number -->
<!-- # String -->
<P32038 > </P32038>
<!-- # Access Password -->
<!-- # String -->
<P32039 > </P32039>
<!-- ############################################################### -->
<!-- # Order 9 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32040 > -1</P32040>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32041 > 0</P32041>
<!-- # System Identification -->
<!-- # String -->
<P32042 > </P32042>
<!-- # System Number -->
<!-- # String -->
<P32043 > </P32043>
<!-- # Access Password -->
<!-- # String -->
<P32044 > </P32044>
<!-- ############################################################### -->
<!-- # Order 10 -->
<!-- ############################################################### -->
<!-- # Service Type. - 1 - None, 0 - GDS. Default is - 1. -->
<!-- # Number: - 1, 0 -->
<!-- # Mandatory: - 1 -->
<P32045 > -1</P32045>
<!-- # Account -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P32046 > 0</P32046>
<!-- # System Identification -->
<!-- # String -->
<P32047 > </P32047>
<!-- # System Number -->
<!-- # String -->
<P32048 > </P32048>
<!-- # Access Password -->
<!-- # String -->
<P32049 > </P32049>
<!-- ############################################################################## -->
<!-- ## Settings/Call Features -->
<!-- ############################################################################## -->
<!-- # Preferred Default Account. -->
<!-- # 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4(For GXP2140/2160/2170 only), 4 - Account 5(For GXP2160/2170 only), 5 - Account 6(For GXP2160/2170 only). -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<P29612 > 0</P29612>
<!-- # Predictive Dialing Feature. 0 - Disabled, 1 - Enabled. Default is 1 -->
<!-- # Number: 0, 1 -->
<P22126 > 1</P22126>
<!-- # Onhook Dial Barging. 0 - Disabled, 1 - Enabled. Default is 1 -->
<!-- # Number: 0, 1 -->
<P8397 > 1</P8397>
<!-- # Off - hook Auto Dial -->
<!-- # String -->
<P71 > </P71>
<!-- # Off - hook Auto Dial Delay -->
<!-- # Number: 0 - 10 -->
<P8388 > 0</P8388>
<!-- # Off - hook Timeout (in seconds). Default is 30 -->
<!-- # Number: 10 - 60 -->
<P1485 > 30</P1485>
<!-- # Enable Live DialPad. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8350 > 0</P8350>
<!-- # Live DialPad Expire Time. Default is 5 -->
<!-- # Number: 2 - 15. -->
<P8351 > 5</P8351>
<!-- # Enable Automatic Redial. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8353 > 0</P8353>
<!-- # Automatic Redial Times. Default is 10 -->
<!-- # Number -->
<P8354 > 10</P8354>
<!-- # Automatic Redial Interval. Default is 20 -->
<!-- # Number -->
<P8355 > 20</P8355>
<!-- # Bypass Dial Plan Through Call History and Directories. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P6758 > 0</P6758>
<!-- # Disable Call Waiting. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-10-09 06:33:27 +02:00
{if isset{$grandstream_call_waiting}}
{if $grandstream_call_waiting == "1"}<P91 > 0</P91> {/if}
{if $grandstream_call_waiting == "2"}<P91 > 1</P91> {/if}
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Disable Call Waiting Tone. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-10-09 06:33:27 +02:00
{if isset{$grandstream_call_waiting}}
{if $grandstream_call_waiting == "1"}<P186 > 0</P186> {/if}
{if $grandstream_call_waiting == "2"}<P186 > 1</P186> {/if}
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Ring for Call Waiting. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2018-10-09 06:33:27 +02:00
{if isset{$grandstream_call_waiting}}
{if $grandstream_call_waiting == "1"}<P22102 > 0</P22102> {/if}
{if $grandstream_call_waiting == "2"}<P22102 > 1</P22102> {/if}
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Disable Busy Tone on Remote Disconnect. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P6762 > 0</P6762>
<!-- # Disable Direct IP Call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1310 > 0</P1310>
<!-- # Use Quick IP call mode. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P184 > 0</P184>
<!-- # Disable Conference. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1311 > 0</P1311>
<!-- # Disable in - call DTMF display. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P338 > 0</P338>
<!-- # Enable Sending DTMF via specific MPKs. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1339 > 0</P1339>
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
<!-- # Number: 0,1,2 -->
<P1565 > 0</P1565>
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
<!-- # Number: 0,1,2,3 -->
<P8372 > 0</P8372>
<!-- # Disable Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1341 > 0</P1341>
<!-- # In - call Dial Number on pressing transfer key -->
<!-- # String -->
<P1525 > </P1525>
<!-- # Attended Transfer Mode. 0 - Static, 1 - Dynamic. Default is 0 -->
<!-- # Number: 0, 1 -->
{if isset($grandstream_auto_attended_transfer) }
<P1376 > {$grandstream_auto_attended_transfer}</P1376>
{else}
<P1376 > 1</P1376>
{/if}
<!-- # Transfer Mode Via VPK. 0 - Blind Transfer, 1 - Attended Transfer, 2 - New Call. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8390 > 0</P8390>
<!-- # Do not Escape '#' as 23% in SIP URL. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1406 > 0</P1406>
2018-02-23 23:09:19 +01:00
<!-- # Click - To - Dial Feature. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1561 > 0</P1561>
2018-02-23 23:09:19 +01:00
<!-- # Default call log type. 0 - Default, 1 - Broadsoft Call Log, 2 - Local Call Log. -->
<!-- # Number: 0,1,2. Default is 0. -->
2017-06-09 00:21:47 +02:00
<P6765 > 0</P6765>
2018-02-23 23:09:19 +01:00
<!-- # Return Code When Refusing Incoming Call. Default is 0 -->
<!-- # Number: 0,1,2,3. 0 - Busy, 1 - Temporarily Unavailable, 2 - Not Found(404), 3 - Decline(603). -->
2017-06-09 00:21:47 +02:00
<P8360 > 0</P8360>
2018-02-23 23:09:19 +01:00
<!-- # Return Code When Enable DND. Default is 0 -->
<!-- # Number: 0,1,2,3. 0 - Busy, 1 - Temporarily Unavailable, 2 - Not Found(404), 3 - Decline(603). -->
2017-06-09 00:21:47 +02:00
<P8361 > 0</P8361>
2018-02-23 23:09:19 +01:00
<!-- # Enable BLF Pickup Screen. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P9905 > 0</P9905>
2018-02-23 23:09:19 +01:00
<!-- # Enable BLF Pickup Sound. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P9906 > 0</P9906>
2018-02-23 23:09:19 +01:00
<!-- # Enable BLF Pickup Sound List. 0 - Except List, 1 - Only List. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P9907 > 0</P9907>
2018-02-23 23:09:19 +01:00
<!-- # BLF Pickup Sound Except List. -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P9908 > </P9908>
2018-02-23 23:09:19 +01:00
<!-- # BLF Pickup Sound Only List. -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P9909 > </P9909>
2018-02-23 23:09:19 +01:00
<!-- # Local Call Recording Feature. 0 - Disable, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6760 > 0</P6760>
2018-07-18 07:41:10 +02:00
<!-- # Saved Local Call Recording Location. 0 - Internal Storage 1 - USB. Default is 0. For GXP2140/2160/2170 only -->
2018-02-23 23:09:19 +01:00
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P6761 > 0</P6761>
2018-02-23 23:09:19 +01:00
<!-- # Instant Message Popup Timeout -->
<!-- # Number: 10 - 900 -->
2017-06-09 00:21:47 +02:00
<P26055 > 10</P26055>
2018-02-23 23:09:19 +01:00
<!-- # Play Tone On Receiving IM. 0 - Disable, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P26056 > 0</P26056>
2018-02-23 23:09:19 +01:00
<!-- # User - Agent Prefix -->
<!-- # String -->
<P8358 > </P8358>
<!-- # Auto Provision List Starting Point. 0 - Extension Boards, 1 - VPK, 2 - MPK. -->
2018-07-18 07:41:10 +02:00
<!-- # For GXP2140/GXP2170 Number: 0, 1. Default is 0 -->
<!-- # For GXP2130/GXP2160 Number: 1, 2. Default is 1 -->
2018-02-23 23:09:19 +01:00
<!-- #P8349 = 0 -->
<!-- -->
<!-- # Hide BLF Remote Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8374 > 0</P8374>
<!-- # Show SIP Error Response. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P8376 > 1</P8376>
<!-- # Enable Missed Call Notification. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8393 > 0</P8393>
<!-- # Enable Call Completion Service. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8391 > 0</P8391>
<!-- ############################################################################## -->
<!-- ## Settings/Call History -->
<!-- ############################################################################## -->
<!-- ############################################################################## -->
<!-- ## Settings/Multicast Paging -->
<!-- ############################################################################## -->
<!-- # Allowed in DND Mode. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8381 > 0</P8381>
<!-- # Paging Barge. 0 - Disable, 1 - priority 1, 2 - priority 2, 3 - priority 3, -->
<!-- # 4 - priority 4, 5 - priority 5, 6 - priority 6, 7 - priority 7, 8 - priority 8, -->
<!-- # 9 - priority 9, 10 - priority 10. Default is 0. -->
<!-- # Number: 0 - 10 -->
2017-06-09 00:21:47 +02:00
<P1566 > 0</P1566>
2018-02-23 23:09:19 +01:00
<!-- # Paging Priority Active. 0 - Disabled, 1 - Enabled -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P1567 > 0</P1567>
2018-02-23 23:09:19 +01:00
<!-- # Multicast Paging Codec. 18 - G.729A/B, 0 - PCMU, 8 - PCMA, 2 - G.726 - 32, 9 - G.722, 98 - iLBC, 4 - G.723.1 -->
<!-- # Number: 18, 0, 8, 2, 9, 98, 4. Default is 0. -->
2017-06-09 00:21:47 +02:00
<P1568 > 0</P1568>
2018-02-23 23:09:19 +01:00
<!-- ### Multicast Listening ### -->
<!-- # Priority 1 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1569 > </P1569>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1570 > </P1570>
2018-02-23 23:09:19 +01:00
<!-- # Priority 2 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1571 > </P1571>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1572 > </P1572>
2018-02-23 23:09:19 +01:00
<!-- # Priority 3 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1573 > </P1573>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1574 > </P1574>
2018-02-23 23:09:19 +01:00
<!-- # Priority 4 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1575 > </P1575>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1576 > </P1576>
2018-02-23 23:09:19 +01:00
<!-- # Priority 5 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1577 > </P1577>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1578 > </P1578>
2018-02-23 23:09:19 +01:00
<!-- # Priority 6 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1579 > </P1579>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1580 > </P1580>
2018-02-23 23:09:19 +01:00
<!-- # Priority 7 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1581 > </P1581>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1582 > </P1582>
2018-02-23 23:09:19 +01:00
<!-- # Priority 8 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1583 > </P1583>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1584 > </P1584>
2018-02-23 23:09:19 +01:00
<!-- # Priority 9 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1585 > </P1585>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1586 > </P1586>
2018-02-23 23:09:19 +01:00
<!-- # Priority 10 -->
<!-- # Listening Address -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1587 > </P1587>
2018-02-23 23:09:19 +01:00
<!-- # Label -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P1588 > </P1588>
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/Outbound Notification -->
<!-- ############################################################################## -->
<!-- ###################################################################################### -->
<!-- # Action URL -->
<!-- ###################################################################################### -->
<!-- # Setup Completed. -->
<!-- # String -->
<P8304 > </P8304>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Registered. -->
<!-- # String -->
<P8305 > </P8305>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Unregistered. -->
<!-- # String -->
<P8306 > </P8306>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Off Hook. -->
<!-- # String -->
<P8308 > </P8308>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # On Hook. -->
<!-- # String -->
<P8309 > </P8309>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Incoming Call. -->
<!-- # String -->
<P8310 > </P8310>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Outgoing Call -->
<!-- # String -->
<P8311 > </P8311>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Missed Call -->
<!-- # String -->
<P8312 > </P8312>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Established Call -->
<!-- # String -->
<P8313 > </P8313>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Terminated Call -->
<!-- # String -->
<P8314 > </P8314>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Open DND -->
<!-- # String -->
<P8316 > </P8316>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Close DND -->
<!-- # String -->
<P8317 > </P8317>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Open Forward -->
<!-- # String -->
<P8318 > </P8318>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Close Forward -->
<!-- # String -->
<P8319 > </P8319>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Blind Transfer -->
<!-- # String -->
<P8320 > </P8320>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Attended Transfer -->
<!-- # String -->
<P8321 > </P8321>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Hold Call -->
<!-- # String -->
<P8324 > </P8324>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # UnHold Call -->
<!-- # String -->
<P8325 > </P8325>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ###################################################################################### -->
<!-- # Destination -->
<!-- ###################################################################################### -->
<!-- ###################################################################################### -->
<!-- # Notification -->
<!-- ###################################################################################### -->
<!-- ############################################################################## -->
<!-- ## Settings/Preferences -->
<!-- ############################################################################## -->
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / Audio Control -->
<!-- ############################################################################## -->
<!-- # HEADSET Key Mode. 0 - Default Mode, 1 - Toggle Headset/Speaker. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1312 > 0</P1312>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Headset Type. 0 - Normal, 1 - Plantronics EHS. Default is 0 -->
<!-- # Number: 0, 1 -->
<P6779 > 0</P6779>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # EHS Headset Ring Tone. 0 - Normal, 1 - Plantronics EHS. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1487 > 0</P1487>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Always Ring Speaker. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P1439 > 0</P1439>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Headset TX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P1301 > 0</P1301>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Headset RX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P1302 > 0</P1302>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Handset TX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P1464 > 0</P1464>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / Date and Time -->
<!-- ############################################################################## -->
<!-- # NTP Server -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
{if isset($ntp_server_primary)}
<P30 > {$ntp_server_primary}</P30>
{else}
<P30 > pool.ntp.org</P30>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Secondary NTP Server -->
<!-- # String -->
2018-03-30 20:42:10 +02:00
{if isset($ntp_server_secondary)}
<P8333 > {$ntp_server_secondary}</P8333>
{else}
2018-10-09 06:33:27 +02:00
<P8333 > 2.us.pool.ntp.org</P8333>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # NTP Update Interval -->
<!-- # String -->
<!-- # Number: 5 - 1440, Default is 1440 -->
2017-06-09 00:21:47 +02:00
<P5005 > 1440</P5005>
2018-02-23 23:09:19 +01:00
<!-- # Allow DHCP Option 42 to override NTP server. 0 - No, 1 - Yes. Default is 1 -->
<!-- # When set to Yes(1), it will override the configured NTP server -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P144 > 1</P144>
2018-02-23 23:09:19 +01:00
<!-- # Time Zone -->
<!-- # P value Web GUI Option -->
<!-- # auto Automatic -->
<!-- # TZA+12 GMT - 12:00 (International Date Line West) -->
<!-- # TZB+11 GMT - 11:00 (Midway Island, Samoa) -->
<!-- # HAW10 GMT - 10:00 (US Hawaiian Time) -->
<!-- # AKST9AKDT GMT - 9:00 (US Alaska Time) -->
<!-- # PST8PDT GMT - 8:00 (US Pacific Time, Los Angeles) -->
<!-- # PST8PDT,M4.1.0,M10.5.0 GMT - 08:00 (Baja California) -->
<!-- # MST7MDT GMT - 07:00 (US Mountain Time, Denver) -->
<!-- # MST7 GMT - 07:00 (Mountain Time (Arizona, no DST)) -->
<!-- # MST7MDT,M4.1.0,M10.5.0 GMT - 07:00 (Chihuahua, La Paz, Mazatlan) -->
<!-- # CST6CDT GMT - 06:00 (Central Time) -->
<!-- # CST+6 GMT - 06:00 (Central America) -->
<!-- # CST6CDT,M4.1.0,M10.5.0 GMT - 06:00 (Guadalajara, Mexico City, Monterrey) -->
<!-- # EST5EDT GMT - 05:00 (Eastern Time) -->
<!-- # EST5 GMT - 05:00 (Eastern Time without daylight saving) -->
<!-- # TZf+4:30 GMT - 04:30 (Caracas) -->
<!-- # AST4ADT GMT - 04:00 (Atlantic Time) -->
<!-- # AST4ADT,M4.1.0/00:01:00,M10.5.0/00:01:00 GMT - 04:00 (Atlantic Time (New Brunswick)) -->
<!-- # NST+3:30NDT+2:30,M3.2.0/00:01:00,M11.1.0/00:01:00 GMT - 03:30 (Newfoundland Time) -->
<!-- # TZK+3 GMT - 03:00 (Greenland) -->
<!-- # BRST+3BRDT+2,M10.3.0,M2.3.0 GMT - 03:00 (Brazil, Sao Paulo) -->
<!-- # UTC+3 GMT - 02:00 (Argentina) -->
<!-- # TZL+2 GMT - 02:00 (Mid - Atlantic) -->
<!-- # TZM+1 GMT - 01:00 (Azores, Cape Verdi Is.) -->
<!-- # TZN+0 GMT (Edinburgh, Casablanca, Monrovia) -->
<!-- # GMT+0BST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 GMT (London, Great Britain) -->
<!-- # WET - 0WEST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 GMT (Lisbon, Portugal) -->
<!-- # GMT+0IST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 GMT (Dublin, Ireland) -->
<!-- # CET - 1CEST - 2,M3.5.0/02:00:00,M10.5.0/03:00:00 GMT+01:00 (Paris, Vienna, Warsaw, Roma, Madrid, Prague, Berlin, Budapest, Amsterdam, Belgium) -->
<!-- # TZP - 2 GMT+02:00 (Israel, Cairo, Athens, Istanbul, Buchrest) -->
<!-- # EET - 2EEST - 3,M3.5.0/03:00:00,M10.5.0/04:00:00 GMT+02:00 (Helsinki, Athens, Tallinn) -->
<!-- # EET - 2EEST,M3.5.0/3,M10.5.0/4 GMT+02:00 (Kyiv, Ukraine) -->
<!-- # TZQ - 3 GMT+03:00 (Kuwait, Baghdad, Tehran, Nairobi) -->
<!-- # MSK - 3 GMT+03:00 (Moscow, Russia) -->
<!-- # TZR - 4 GMT+04:00 (Abu Dhabi, Baku) -->
<!-- # TZS - 5 GMT+05:00 (Islamabad, Ekaterinburg, Karachi, Tashkent) -->
<!-- # TZT - 5:30 GMT+05:30 (Chennai, New Delhi, Mumbai) -->
<!-- # TZU - 5:45 GMT+05:45 (Kathmandu) -->
<!-- # TZV - 6 GMT+06:00 (Almaty, Astana, Dhaka, Novosibirsk) -->
<!-- # TZW - 6:30 GMT+06:30 (Rangoon) -->
<!-- # TZX - 7 GMT+07:00 (Bankok, Hanoi, Krasnoyarsk) -->
<!-- # WIB - 7 GMT+07:00 (Jakarta) -->
<!-- # TZY - 8 GMT+08:00 (Beijing, Taipei, Kuala Lumpur, Irkutsk) -->
<!-- # SGT - 8 GMT+08:00 (Singapore) -->
<!-- # ULAT - 8 GMT+08:00 (Ulaanbaatar, Mongolia) -->
<!-- # WST - 8 GMT+08:00 (Perth) -->
<!-- # TZZ - 9 GMT+09:00 (Japan, Korea, Yakutsk) -->
<!-- # CST - 9:30CDT - 10:30,M10.5.0/02:00:00,M3.5.0/03:00:00 GMT+09:30 (Adelaide) -->
<!-- # CST - 9:30 GMT+09:30 (Darwin) -->
<!-- # TZb - 10 GMT+10:00 (Guam) -->
<!-- # EST - 10EDT - 11,M10.1.0/02:00:00,M3.5.0/03:00:00 GMT+10:00 (Hobart) -->
<!-- # EST - 10EDT - 11,M10.5.0/02:00:00,M3.5.0/03:00:00 GMT+10:00 (Sydney, Melbourne, Canberra) -->
<!-- # EST - 10 GMT+10:00 (Brisbane) -->
<!-- # TZc - 11 GMT+11:00 (Magadan, Solomon Is., New Caledonia) -->
<!-- # NZST - 12NZDT - 13,M9.5.0/02:00:00,M3.5.0/03:00:00 GMT+12:00 (Auckland, Wellington) -->
<!-- # TZd - 12 GMT+12:00 (Fiji) -->
<!-- # TZe - 13 GMT+13:00 (Nuku'alofa) -->
<!-- # customize Self - Defined Time Zone -->
<!-- # String -->
2017-04-01 07:49:03 +02:00
{if isset($grandstream_timezone) }
2017-06-09 00:21:47 +02:00
<P64 > {$grandstream_timezone}</P64>
2018-02-23 23:09:19 +01:00
{elseif isset($grandstream_gxp_time_zone) }
<P64 > {$grandstream_gxp_time_zone}</P64>
2017-06-09 00:21:47 +02:00
{else}
<P64 > auto</P64>
{/if}
2018-02-23 23:09:19 +01:00
<!-- # Allow DHCP Option 2 to override Time Zone setting. 0 - No, 1 - Yes. Default is 1 -->
<!-- # When set to Yes(1), it will override the configured Time Zone setting if available -->
<!-- # Number: 0, 1 -->
<P143 > 1</P143>
<!-- # Self Defined Time zone. Max length allowed is 64 characters -->
<!-- # String -->
2018-10-09 06:33:27 +02:00
<!-- <P246>MTZ+6MDT+5,M4.1.0,M11.1.0</P246> -->
2018-02-23 23:09:19 +01:00
<!-- # Date Display Format -->
<!-- # 0: yyyy - mm - dd eg. 2011 - 10 - 31 -->
<!-- # 1: mm - dd - yyyy eg. 10 - 31 - 2011 -->
<!-- # 2: dd - mm - yyyy eg. 31 - 10 - 2011 -->
<!-- # 3: dddd, MMMM dd eg. Monday, October 31 -->
<!-- # 4: MMMM dd, dddd eg. October 31, Monday -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2017-06-09 00:21:47 +02:00
<P102 > 3</P102>
2018-02-23 23:09:19 +01:00
<!-- # Time Display Format. 0 - 12 Hour, 1 - 24 Hour -->
<!-- # Number: 0, 1 -->
2017-06-09 00:21:47 +02:00
<P122 > 0</P122>
2018-02-23 23:09:19 +01:00
<!-- # Show Date On Status Bar. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8387 > 0</P8387>
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / LCD Display -->
<!-- ############################################################################## -->
<!-- # Backlight Brightness. -->
<!-- # Active. Default is 100. -->
<!-- # Number: 10 - 100 -->
<P334 > 100</P334>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Idle. Default is 60. -->
<!-- # Number: 0 - 100 -->
<P335 > 60</P335>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Active Backlight Timeout. Default is 1 -->
<!-- # Number: 1 - 90 -->
<P8356 > 1</P8356>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Disable Missed Call Backlight. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P351 > 0</P351>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Wallpaper Settings -->
<!-- # Wallpaper Source. 0 - Default, 1 - Download, 2 - USB(for GXP2140/2160/2170 only), 3 - Uploaded, 4 - Color Background -->
<!-- # Number: 0 - 4 -->
<!-- <P2916>0</P2916> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Wallpaper Server Path -->
<!-- # String -->
{if isset($grandstream_wallpaper_url)}
<P2916 > 1</P2916>
<P2917 > {$grandstream_wallpaper_url}</P2917>
{else}
<P2916 > 0</P2916>
<P2917 > </P2917>
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Color Background. Default is #000000. -->
<!-- # String -->
<P2921 > #000000</P2921>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Screensaver Settings -->
<!-- # Screensaver. 0 - No, 1 - Yes, 2 - On if no VPK is active. Default is 1 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_screensaver)}
<P2918 > {$grandstream_screensaver}</P2918>
{else}
2018-02-23 23:09:19 +01:00
<P2918 > 1</P2918>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-07-18 07:41:10 +02:00
<!-- # Screensaver Source. 0 - Default, 1 - USB, 2 - Download. Default is 0. For GXP2140/2160/2170 only -->
2018-02-23 23:09:19 +01:00
<!-- # Number: 0, 1, 2 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_screensaver_source)}
<P6759 > {$grandstream_screensaver_source}</P6759>
{else}
2018-02-23 23:09:19 +01:00
<P6759 > 0</P6759>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Show Date and Time. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_screensaver_show_date_time)}
<P8441 > {$grandstream_screensaver_show_date_time}</P8441>
{else}
2018-02-23 23:09:19 +01:00
<P8441 > 1</P8441>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Screensaver Timeout. Minutes. -->
<!-- # Number: 3 - 60 -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_screensaver_timeout)}
<P2919 > {$grandstream_screensaver_timeout}</P2919>
{else}
2018-02-23 23:09:19 +01:00
<P2919 > 5</P2919>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Screensaver Server Path. -->
<!-- # String -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_screensaver_server_path)}
<P934 > {$grandstream_screensaver_server_path}</P934>
{else}
2018-02-23 23:09:19 +01:00
<P934 > </P934>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- Screensaver XML Download Interval -->
<!-- # Number: 5 - 720. Default is 0 (disable auto downloading) -->
2018-03-30 20:42:10 +02:00
{if isset($grandstream_screensaver_xml_download_interval)}
<P935 > {$grandstream_screensaver_xml_download_interval}</P935>
{else}
2018-02-23 23:09:19 +01:00
<P935 > 0</P935>
2018-03-30 20:42:10 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / LED Control -->
<!-- ############################################################################## -->
<!-- # BLF LED Pattern. 0 - Default, 1 - Analog, 2 - Directional, 3 - Reserved(Red), 4 - Reserved(Green), 5 - Inverse. Default is 0 -->
<!-- # Number: 0 - 5 -->
<P6766 > 0</P6766>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Disable VM/MSG power light flash. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8371 > 0</P8371>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / Ring Tone -->
<!-- ############################################################################## -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ### Call Progress Tones ### -->
<!-- # Syntax: f1=val,f2=val[,c=on1/off1[ - on2/off2[ - on3/off3]]]; -->
<!-- # (Frequencies are in Hz and cadence on and off are in 10ms) -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # System Ring Tone -->
<!-- # String -->
<P345 > f1=440,f2=480,c=200/400;</P345>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Dial Tone -->
<!-- # String -->
<P343 > f1=350,f2=440;</P343>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Second Dial Tone -->
<!-- # String -->
<P2909 > f1=350,f2=440;</P2909>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Message Waiting Tone -->
<!-- # String -->
<P344 > f1=350,f2=440,c=10/10;</P344>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Ring Back Tone -->
<!-- # String -->
<P346 > f1=440,f2=480,c=200/400;</P346>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call - Waiting Tone -->
<!-- # String -->
<P347 > f1=440,f2=440,c=25/525;</P347>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call - Waiting Tone Gain. 0 - Low, 1 - Medium, 2 - High. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P1555 > 0</P1555>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Busy Tone -->
<!-- # String -->
<P348 > f1=480,f2=620,c=50/50;</P348>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Reorder Tone -->
<!-- # String -->
<P349 > f1=480,f2=620,c=25/25;</P349>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Speaker Ring Volume -->
<!-- # Number: 0 - 7. Default is 5. -->
2018-07-18 07:41:10 +02:00
<!-- <P8352>5</P8352> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Notification Tone Volume -->
<!-- # Number: 0 - 7. Default is 5. -->
2018-07-18 07:41:10 +02:00
<!-- <P8399>5</P8399> -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Lock Volumne. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8392 > 0</P8392>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Default Ringtone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4 -->
2018-10-09 06:33:27 +02:00
{if isset($grandstream_default_ringtone)}
<P8398 > {$grandstream_default_ringtone}</P8398>
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/Web Service -->
<!-- ############################################################################## -->
<!-- # Weather Update -->
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use Auto Location Service. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P8338 > 1</P8338>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Enable weather update. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P1402 > 1</P1402>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # City Code -->
<!-- # 0 - Self - Defined City Code, 1 - Automatic. Default is 1 -->
<!-- # Number: 0, 1 -->
2018-05-24 01:00:15 +02:00
{if isset($grandstream_city_code)}
<P1405 > 0</P1405>
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Self - Defined City Code -->
<!-- # String -->
2018-10-09 06:33:27 +02:00
{if isset($grandstream_city_code)}
2018-05-24 01:00:15 +02:00
<P1377 > {$grandstream_city_code}</P1377>
2018-10-09 06:33:27 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Update Interval (in minutes). Default is 15 -->
<!-- # Number: 5 - 360 -->
<P1378 > 15</P1378>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Degree Unit. auto - Automatic, f - Fahrenheit, c - Celsius. Default is auto -->
<!-- # String: auto, f, c -->
2018-07-18 07:41:10 +02:00
{if isset ($grandstream_temp_unit)}
2018-05-31 19:16:19 +02:00
<P1379 > {$grandstream_temp_unit}</P1379>
2018-05-24 01:00:15 +02:00
{/if}
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Currency Update -->
<!-- # Enable Currency update. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<P1404 > 1</P1404>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Currency Code -->
<!-- # String -->
<P1381 > EUR/USD;GBP/USD;CAD/USD;AUD/USD;CNY/USD;JPY/USD</P1381>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/XML Applications -->
<!-- ############################################################################## -->
<!-- # Server Path -->
<!-- # String -->
<P337 > </P337>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Softkey Label -->
<!-- # String -->
<P352 > XMLApp</P352>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Default Background Color -->
<!-- # String -->
<P8367 > </P8367>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Block Call Screen. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8368 > 0</P8368>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/Programmable Keys -->
<!-- ############################################################################## -->
<!-- ############################################################################## -->
<!-- ## Settings/Programmable Keys / Virtual Multi - Purpose Keys Settings -->
<!-- ############################################################################## -->
<!-- # Idle Screen Settings -->
<!-- # Show Label Background. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8345 > 0</P8345>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Use Long Label. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8346 > 0</P8346>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Call Screen Settings -->
<!-- # Key Mode. 1 - Line Mode, 2 - Account Mode. Default is 1 -->
<!-- # Number: 1, 2 -->
<P8369 > 1</P8369>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Show VPK Icon. 0 - No, 1 - Yes. Default is 0 (For GXP2140/2160/2170 only) -->
<!-- # Number: 0, 1 -->
<P2936 > 0</P2936>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- # Show Keys Label. 1 - Show, 2 - Hide, 0 - Toggle. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<P8386 > 0</P8386>
2017-06-09 00:21:47 +02:00
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/Programmable Keys/Virtual Multi - Purpose Keys -->
<!-- ############################################################################## -->
<!-- ###################################################################################### -->
<!-- # Virtual Multi - Purpose Keys (VPKs) -->
<!-- # Note: 1. Fixed VPKs can only be edited. Adding or deleting Fixed VPK is not allowed. -->
<!-- # 2. Even if a Dynamic VPK has mode set to None, it should be added in sequence. Skipping one will remove everything after that VPK. -->
<!-- ###################################################################################### -->
2017-06-09 00:21:47 +02:00
<!-- Keys 1 to 6 are have a different 'P' ID than 7 to 24 so there are two loops below -->
<!-- Set $fixed_keys variable below and the rest should work -->
<!-- detect with $template == grandstream/gxp21xx 2130=3fixed 2140=4fixed 2160=6fixed 2170=12fixed 2135=8fixed -->
{$fixed_keys=4}
{if $template == "grandstream/gxp2130"}{$fixed_keys=3}{/if}
{if $template == "grandstream/gxp2140"}{$fixed_keys=4}{/if}
{if $template == "grandstream/gxp2160"}{$fixed_keys=6}{/if}
{if $template == "grandstream/gxp2170"}{$fixed_keys=12}{/if}
{if $template == "grandstream/gxp2135"}{$fixed_keys=8}{/if}
<!-- Detected {$template} with {$fixed_keys} fixed keys -->
{$start_id=1363}
{assign var=key_types value=["none"=>-1,"line"=>0,"shared line"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, "eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"multicast paging"=>23,"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]}
{for $line=1 to 6}
{$pid=$line*2-2}
{if isset($keys.line.$line.device_key_category) & & isset($keys.line.$line.device_key_type) & & isset($key_types[$keys.line.$line.device_key_type])}
{if $line < = $fixed_keys}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.line.$line.device_key_type]}< /P{$start_id+$pid}>
{else}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.line.$line.device_key_type]-10}< /P{$start_id+$pid}>
{/if}
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.line.$line.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 1 0 2 } > {$keys.line.$line.device_key_label}< /P{$start_id+$pid+102}>
<P { $ s t a r t _ i d + $ p i d + 1 0 3 } > {$keys.line.$line.device_key_value}< /P{$start_id+$pid+103}>
{else}
{if $line < = $fixed_keys}
<P { $ s t a r t _ i d + $ p i d } > 0< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > {$line-1}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 1 0 2 } > < /P{$start_id+$pid+102}>
<P { $ s t a r t _ i d + $ p i d + 1 0 3 } > < /P{$start_id+$pid+103}>
{else}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
{/if}
{/if}
{/for}
2018-02-23 23:09:19 +01:00
<!-- line 7 to 48 are sequential starting at 23800 in groups of 4 -->
2017-06-09 00:21:47 +02:00
{$start_id=23800}
2018-02-23 23:09:19 +01:00
{for $line=7 to 48}
2017-06-09 00:21:47 +02:00
{$pid=($line-6)*4-4}
{if isset($keys.line.$line.device_key_category) & & isset($keys.line.$line.device_key_type) & & isset($key_types[$keys.line.$line.device_key_type])}
{if $line < = $fixed_keys}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.line.$line.device_key_type]}< /P{$start_id+$pid}>
{else}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.line.$line.device_key_type]-10}< /P{$start_id+$pid}>
{/if}
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.line.$line.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > {$keys.line.$line.device_key_label}< /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > {$keys.line.$line.device_key_value}< /P{$start_id+$pid+3}>
{else}
{if $line < = $fixed_keys}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > 0< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > < /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > < /P{$start_id+$pid+3}>
{else}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
{/if}
{/if}
{/for}
2018-02-23 23:09:19 +01:00
<!-- ###################################################################################### -->
<!-- ## Programmable Keys/Physical Multi - Purpose Keys - GXP2130/2160 only -->
<!-- ###################################################################################### -->
<!-- # MPK 1 - GXP2130/2160 only -->
<!-- ###################################################################################### -->
2017-06-09 00:21:47 +02:00
{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"conference"=>12,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]}
{$start_id=323}
{for $mem=1 to 7}
{$pid=$mem*3-3}
{if isset($keys.memory.$mem.device_key_category) & & isset($keys.memory.$mem.device_key_type) & & $keys.memory.$mem.device_key_type|in_array:$key_types}
2018-02-23 23:09:19 +01:00
<!-- # Key Mode. -->
2018-07-18 07:41:10 +02:00
<!-- # Number: - 1 to 20 -->
2018-02-23 23:09:19 +01:00
<!-- # - 1 - None, 0 - Speed Dial, 1 - BLF, 2 - Presence Watcher -->
<!-- # 3 - Eventlist BLF, 4 - Speed Dial via active account, 5 - DialDTMF -->
<!-- # 6 - Voice Mail, 7 - Call Return, 8 - Transfer, 9 - Call Park, 10 - Intercom -->
<!-- # 11 - LDAP Search, 12 - Conference, 13 - Multicast Paging, 14 - Record, 15 - Call Log -->
<!-- # 16 - Monitored Call Park, 17 - Menu 18 - XML Application,19 - Information, 20 - Message -->
2017-06-09 00:21:47 +02:00
<P { $ s t a r t _ i d + $ m e m - 1 } > {$key_types[$keys.memory.$mem.device_key_type]}< /P{$start_id+$mem-1}>
2018-02-23 23:09:19 +01:00
<!-- # Account. 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4, 4 - Account 5, 5 - Account 6 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
2017-06-09 00:21:47 +02:00
<P { $ s t a r t _ i d + $ p i d - 2 2 } > {$keys.memory.$mem.device_key_line}< /P{$start_id+$pid-22}>
2018-02-23 23:09:19 +01:00
<!-- # Name. Max length allowed is 128 characters. -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P { $ s t a r t _ i d + $ p i d - 2 1 } > {$keys.memory.$mem.device_key_label}< /P{$start_id+$pid-21}>
2018-02-23 23:09:19 +01:00
<!-- # User ID. Max length allowed is 64 characters. -->
<!-- # String -->
2017-06-09 00:21:47 +02:00
<P { $ s t a r t _ i d + $ p i d - 2 0 } > {$keys.memory.$mem.device_key_value}< /P{$start_id+$pid-20}>
{else}
<P { $ s t a r t _ i d + $ m e m - 1 } > -1< /P{$start_id+$mem-1}>
<P { $ s t a r t _ i d + $ p i d - 2 2 } > 0< /P{$start_id+$pid-22}>
<P { $ s t a r t _ i d + $ p i d - 2 1 } > < /P{$start_id+$pid-21}>
<P { $ s t a r t _ i d + $ p i d - 2 0 } > < /P{$start_id+$pid-20}>
{/if}
{/for}
{$start_id=353}
{for $mem=8 to 18}
{$pid=($mem-7)*4-4}
{if isset($keys.memory.$mem.device_key_category) & & isset($keys.memory.$mem.device_key_type) & & $keys.line.$line.device_key_type|in_array:$key_types}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.memory.$mem.device_key_type]}< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.memory.$mem.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > {$keys.memory.$mem.device_key_label}< /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > {$keys.memory.$mem.device_key_value}< /P{$start_id+$pid+3}>
{else}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > 0< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > < /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > < /P{$start_id+$pid+3}>
{/if}
{/for}
2018-02-23 23:09:19 +01:00
2017-06-09 00:21:47 +02:00
{$start_id=1440}
{for $mem=19 to 24}
{$pid=($mem-18)*4-4}
{if isset($keys.memory.$mem.device_key_category) & & isset($keys.memory.$mem.device_key_type) & & $keys.line.$line.device_key_type|in_array:$key_types}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.memory.$mem.device_key_type]}< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.memory.$mem.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > {$keys.memory.$mem.device_key_label}< /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > {$keys.memory.$mem.device_key_value}< /P{$start_id+$pid+3}>
{else}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > 0< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > < /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > < /P{$start_id+$pid+3}>
{/if}
{/for}
2018-02-23 23:09:19 +01:00
<!-- ############################################################################## -->
<!-- ## Settings/Programmable Keys / Softkeys Settings -->
<!-- ############################################################################## -->
<!-- # More Softkey Display Mode -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # 0 - Menu, 1 - Toggle -->
<P2934 > 0</P2934>
<!-- # Show Target Softkey -->
<!-- # Number: 0, 1. Default is 1 -->
<!-- # 0 - No, 1 - Yes -->
<P8377 > 1</P8377>
<!-- # Softkey Layout -->
<!-- # Custom Softkey Layout. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<P2923 > 0</P2923>
<!-- # Enforce Softkey Layout Position. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P2924 > 0</P2924>
<!-- # Hide System Softkey on Main Page. -->
<!-- # String: Next, History, ForwardAll, Redial -->
<P8348 > </P8348>
<!-- ## Custom Call Screen Softkey Layout ## -->
<!-- # Softkey layout in dialing state -->
<!-- # String: BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target -->
<P2925 > BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,Redial,Dial,Backspace,PickUp,Target</P2925>
<!-- # Softkey layout in onhook dialing state -->
<!-- # String: BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target, -->
<P2935 > BTPhonebook,DirectIP,Onhook,Cancel,Dial,Backspace,Target</P2935>
<!-- # Softkey layout in ringing state -->
<!-- # String: Answer, Reject, Forward, ReConf,Custom - Silence -->
<P2926 > Answer,Reject,Forward,ReConf</P2926>
<!-- # Softkey layout in calling state -->
<!-- # String: BTOnOff,EndCall,ReConf,ConfRoom,ConfCall -->
<P2927 > BTOnOff,EndCall,ReConf,ConfRoom,ConfCall</P2927>
<!-- # Softkey layout in Call Connected state -->
<!-- # String: BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,ConfCall,Cancel,NewCall,Swap,Transfer,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark, -->
<!-- # Custom - Hold,Custom - Conference,Custom - Mute -->
<P2928 > BTPhonebook,BTOnOff,EndCall,ReConf,ConfRoom,ConfCall,Cancel,NewCall,Swap,Transfer,Trnf> VM,DialDTMF,BSCCenter,URecord,Record,UCallPark,PrivateHold,CallPark</P2928>
<!-- # Softkey layout In conference connected state -->
<!-- # String: BTOnOff,EndCall,Kick,NewCall,Trnf>VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add,Custom - Hold,Custom - Split,Custom - Mute -->
<P2933 > BTOnOff,EndCall,Kick,NewCall,Trnf> VM,DialDTMF,BSCCenter,URecord,Record,ConfRoom,Add</P2933>
<!-- # Softkey layout in onhold state -->
<!-- # String: ReConf,Resume,HoldTrnf,ConfCall,Add,Custom - NewCall,Custom - EndCall -->
<P2929 > ReConf,Resume,HoldTrnf,ConfCall,Add</P2929>
<!-- # Softkey layout in call failed state -->
<!-- # String: EndCall,ReCOnf,ConfRoom,Custom - NewCall -->
<P2930 > EndCall,ReConf,ConfRoom</P2930>
<!-- # Softkey layout in call transfer state -->
<!-- # String: BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target -->
<P2931 > BTOnOff,Cancel,BlindTrnf,AttTrnf,Backspace,Target</P2931>
<!-- # Softkey layout in conference state -->
<!-- # String:BTOnOff,Cancel,Dial,Backspace,Target -->
<P2932 > BTOnOff,Cancel,Dial,Backspace,Target</P2932>
<!-- ###################################################################################### -->
<!-- ## Programmable Keys/Softkeys -->
<!-- ###################################################################################### -->
<!-- # Softkey 1 to 3 -->
<!-- ###################################################################################### -->
<!-- # Key Mode. -->
<!-- # 0 - Default, 10 - Speed Dial, 14 - Speed Dial via active account, 16 - Voicemail, -->
<!-- # 17 - CallReturn, 20 - Intercom, 21 - LDAP Search, 25 - Call Log, 27 - Menu, 29 - Information, 30 - Message -->
<!-- # Number: 0,10,14,16,17,20,21,25,27,29,30 -->
{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21,"menu"=>27]}
{$start_id=2987}
{for $prog=1 to 3}
{$pid=$prog*4-4}
{if isset($keys.programmable.$prog.device_key_category) & & isset($keys.programmable.$prog.device_key_type) & & $keys.programmable.$prog.device_key_type|in_array:$key_types}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.programmable.$prog.device_key_type]}< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.programmable.$prog.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > {$keys.programmable.$prog.device_key_label}< /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > {$keys.programmable.$prog.device_key_value}< /P{$start_id+$pid+3}>
{else}
<P { $ s t a r t _ i d + $ p i d } > 0< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > 0< /P{$start_id+$pid+1}>
<!-- <P{$start_id+$pid+2}></P{$start_id+$pid+2}> -->
<!-- <P{$start_id+$pid+3}></P{$start_id+$pid+3}> -->
{/if}
{/for}
<!-- ######################################################################## -->
<!-- ## Settings/Extension Boards - GXP2140/GXP2170 only -->
<!-- ######################################################################## -->
<!-- ######################################################################## -->
<!-- ## Settings/Extension Boards/EXT Setting -->
<!-- ######################################################################## -->
<!-- # One Page Display Mode. 0 - No, 1 - Yes. -->
<!-- # Number: 0, 1. Default is 0 -->
<P8357 > 0</P8357>
<!-- # Sync Backlight with LCD. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P8400 > 0</P8400>
<!-- ###################################################################################### -->
<!-- # EXT 1 to 160 -->
<!-- ###################################################################################### -->
<!-- # Key Mode. -->
2018-07-18 07:41:10 +02:00
<!-- # Number: - 1 to 20 -->
2018-02-23 23:09:19 +01:00
<!-- # - 1 - None, 0 - Speed Dial, 1 - BLF, 2 - Presence Watcher -->
<!-- # 3 - Eventlist BLF, 4 - Speed Dial via active account, 5 - Dial DTMF -->
<!-- # 6 - Voice Mail, 7 - Call Return, 8 - Transfer, 9 - Call Park, 10 - Intercom -->
<!-- # 11 - LDAP Search, 12 - Conference, 13 - Multicast Paging, 14 - Record, 15 - Call Log -->
<!-- # 16 - Monitored Call Park, 17 - Menu 18 - XML Application,19 - Information, 20 - Message -->
<!-- <P23000> - 1</P23000> -->
<!-- # Account. 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4, 4 - Account 5, 5 - Account 6 -->
<!-- # Number: 0 - 5 -->
<!-- <P23001>0</P23001> -->
<!-- # Description -->
<!-- # String -->
<!-- <P23002></P23002> -->
<!-- # Value -->
<!-- # String -->
<!-- <P23003></P23003> -->
{if $template == "grandstream/gxp2140"||$template == "grandstream/gxp2170"}
2017-06-09 00:21:47 +02:00
{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]}
{$start_id=23000}
{for $exp=1 to 160}
{$pid=$exp*5-5}
{if isset($keys.expansion.$exp.device_key_category) & & isset($keys.expansion.$exp.device_key_type) & & $keys.expansion.$exp.device_key_type|in_array:$key_types}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.expansion.$exp.device_key_type]}< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.expansion.$exp.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > {$keys.expansion.$exp.device_key_label}< /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > {$keys.expansion.$exp.device_key_value}< /P{$start_id+$pid+3}>
{else}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > 0< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > < /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > < /P{$start_id+$pid+3}>
{/if}
{/for}
{/if}
2018-02-23 23:09:19 +01:00
2017-06-09 00:21:47 +02:00
</config>
2017-04-01 07:49:03 +02:00
</gs_provision>