2020-06-06 17:07:17 +02:00
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Grandstream XML Provisioning Configuration -->
<gs_provision version= "1" >
<mac > {$mac|replace:'-':''}</mac>
<config version= "1" >
<!-- ########################################################################################## -->
<!-- ## Configuration Template For GRP2614 ## -->
<!-- ########################################################################################## -->
<!-- #################################################################### -->
<!-- # Account Settings ## -->
<!-- #################################################################### -->
<!-- #################################################################### -->
<!-- # Account 1 ## -->
<!-- #################################################################### -->
<!-- ############################################################### -->
<!-- # Account 1/General Settings -->
<!-- ############################################################### -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P271 > 1</P271>
<!-- # Account Name -->
<!-- # String -->
<P270 > {$account.1.display_name}</P270>
<!-- # SIP Server -->
<!-- # String -->
<P47 > {$account.1.server_address}:{$account.1.sip_port}</P47>
<!-- # Secondary SIP Server -->
<!-- # String -->
{if isset($account.1.server_address_secondary)}
<P2312 > {$account.1.server_address_secondary}:{$account.1.sip_port}</P2312>
{else}
<P2312 > {$account.1.server_address_secondary}</P2312>
{/if}
<!-- # Outbound Proxy -->
<!-- # String -->
{if isset($account.1.outbound_proxy_primary)}
<P48 > {$account.1.outbound_proxy_primary}:{$account.1.sip_port}</P48>
{else}
<P48 > {$account.1.outbound_proxy_primary}</P48>
{/if}
<!-- # Backup Outbound Proxy -->
<!-- # String -->
{if isset($account.1.outbound_proxy_secondary)}
<P2333 > {$account.1.outbound_proxy_secondary}:{$account.1.sip_port}</P2333>
{else}
<P2333 > {$account.1.outbound_proxy_secondary}</P2333>
{/if}
<!-- # BLF Server -->
<!-- # String -->
<P2375 > </P2375>
<!-- # SIP User ID -->
<!-- # String -->
<P35 > {$account.1.user_id}</P35>
<!-- # Authenticate ID -->
<!-- # String -->
<P36 > {$account.1.auth_id}</P36>
<!-- # Authenticate Password -->
<!-- # String -->
<P34 > {$account.1.password}</P34>
<!-- # Name -->
<!-- # String -->
<P3 > {$account.1.display_name}</P3>
<!-- # Voice Mail Access Number -->
<!-- # String -->
2021-04-23 21:00:45 +02:00
<P33 > {$voicemail_number}</P33>
2020-06-06 17:07:17 +02:00
<!-- # Account Display -->
<!-- # Number: 0, 1. 0 - User Name, 1 - User ID. Default is 0 -->
<!-- # Mandatory -->
<P2380 > 0</P2380>
<!-- ############################################################### -->
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_dns_mode)}
<P103 > {$grandstream_dns_mode}</P103>
{else}
<P103 > 0</P103>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P26040 > 0</P26040>
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
<P2308 > </P2308>
<!-- # Backup IP 1 -->
<!-- # String -->
<P2309 > </P2309>
<!-- # Backup IP 2 -->
<!-- # String -->
<P2310 > </P2310>
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_nat_traversal)}
<P52 > {$grandstream_nat_traversal}</P52>
{else}
<P52 > 2</P52>
{/if}
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
<P197 > </P197>
<!-- # Use SBC. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26090 > 0</P26090>
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Basic Settings -->
<!-- ############################################################### -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P63 > 0</P63>
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P31 > 1</P31>
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P81 > 0</P81>
<!-- # Register Expiration (in minutes). Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
<!-- # Mandatory -->
<P32 > {$account.1.register_expires}</P32>
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
<!-- # Mandatory -->
<P26051 > 60</P26051>
<!-- # Reregister Before Expiration (in seconds). Default is 0 second -->
<!-- # Number: 0 - 64800 -->
<!-- # Mandatory -->
<P2330 > 0</P2330>
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P2397 > 0</P2397>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<!-- # Mandatory -->
<P2398 > 30</P2398>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<!-- # Mandatory -->
<P2399 > 30</P2399>
<!-- # Local SIP Port. Default is 5060 -->
<!-- # Number -->
<!-- # Mandatory -->
<P40 > 5060</P40>
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
<!-- # Mandatory -->
<P138 > 20</P138>
<!-- # 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 -->
<!-- # Mandatory -->
<P209 > 50</P209>
<!-- # 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 -->
<!-- # Mandatory -->
<P250 > 400</P250>
<!-- # Switch Backup Proxy on No Response. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P26092 > 0</P26092>
<!-- # SIP Transport. 0 - UDP, 1 - TCP, 2 - TLS/TCP. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
{$tp=0}
{if $account.1.sip_transport == 'udp'}{$tp=0}{/if}
{if $account.1.sip_transport == 'tcp'}{$tp=1}{/if}
{if $account.1.sip_transport == 'tls'}{$tp=2}{/if}
{if $account.1.sip_transport == 'dns srv'}{$tp=1}{/if}
<P130 > {$tp}</P130>
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
<!-- # Mandatory -->
<P26024 > 0</P26024>
<!-- # SIP URI Scheme when using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2329 > 1</P2329>
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2331 > 0</P2331>
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2305 > 0</P2305>
<!-- # Support SIP Instance ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P288 > 1</P288>
<!-- # SUBSCRIBE for MWI. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($subscribe_mwi)}
<P99 > 1</P99>
{else}
<P99 > 0</P99>
{/if}
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2319 > 0</P2319>
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P272 > 0</P272>
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26025 > 0</P26025>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2324 > 0</P2324>
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2359 > 0</P2359>
<!-- # Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26015 > 0</P26015>
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26018 > 0</P26018>
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2338 > 0</P2338>
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2339 > 0</P2339>
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26054 > 1</P26054>
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26058 > 1</P26058>
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26059 > 1</P26059>
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes except REGISTER, 2 - Yes to all SIP. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26061 > 1</P26061>
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Advanced Features -->
<!-- ############################################################### -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
<!-- # Mandatory -->
<P2313 > 15</P2313>
<!-- # Eventlist BLF URI -->
<!-- # String -->
<P134 > </P134>
<!-- # Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number:0,1 -->
<!-- # Mandatory -->
<P2389 > 0</P2389>
<!-- # Conference URI -->
<!-- # String -->
2021-02-26 00:10:49 +01:00
<P2318 > {if $nway_conference == true}nway{$account.1.user_id}@{$account.1.server_address}{/if}</P2318>
2020-06-06 17:07:17 +02:00
<!-- # Music On Hold URI -->
<!-- # String -->
<P2350 > </P2350>
<!-- # BLF Call - pickup. 0 - Auto, 1 - Force BLF Call - pickup by prefix, 2 - Disabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P6752 > {$grandstream_blf_call_pickup}</P6752>
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
<!-- # Mandatory -->
<P1347 > **</P1347>
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
<P26046 > </P26046>
<!-- # PUBLISH for Presence. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P188 > 0</P188>
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2355 > 0</P2355>
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26023 > 0</P26023>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, -->
<!-- # 109 - RNK, 110 - Sylantro, 117 - Huawei IMS, 119 - Phonepower, 120 - UCM Call Center -->
<!-- # Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117, 119, 120 -->
<!-- # Mandatory -->
<P198 > 100</P198>
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2341 > 0</P2341>
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
<P2364 > 0 </P2364>
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2020-10-17 01:47:01 +02:00
{if isset($grandstream_feature_key_sync)}
<P2325 > {$grandstream_feature_key_sync}</P2325>
{/if}
2020-06-06 17:07:17 +02:00
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2388 > 0</P2388>
<!-- ############################################################### -->
<!-- # Account 1/SIP Settings/Session Timer -->
<!-- ############################################################### -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2395 > 1</P2395>
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
<!-- # Mandatory -->
<P260 > 180</P260>
<!-- # Minimum SE (in seconds). Default is 90. This value must be lower than or equal to P260 -->
<!-- # Number: 90 - 64800 -->
<!-- # Mandatory -->
<P261 > 90</P261>
<!-- # Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P262 > 0</P262>
<!-- # 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 -->
<P263 > 0</P263>
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P264 > 0</P264>
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P266 > 0</P266>
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
<!-- # Mandatory -->
<P267 > 1</P267>
<!-- # 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 -->
<!-- # Mandatory -->
<P265 > 0</P265>
<!-- ############################################################### -->
<!-- # 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 -->
<!-- # Mandatory -->
<P2311 > 0</P2311>
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2367 > 0</P2367>
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2306 > 0</P2306>
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P258 > 0</P258>
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2347 > 1</P2347>
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2346 > 0</P2346>
<!-- ############################################################### -->
<!-- # 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, 123 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P57 > 0</P57>
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P58 > 8</P58>
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P59 > 4</P59>
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P60 > 18</P60>
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P61 > 9</P61>
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P62 > 98</P62>
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P46 > 2</P46>
<!-- # choice 8. Default is 123 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P98 > 123</P98>
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2348 > 0</P2348>
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P29061 > 1</P29061>
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P26047 > 1</P26047>
<!-- # Disable Multiple m line in SDP -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P137 > 0</P137>
<!-- # SRTP Mode. 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
<!-- # Mandatory -->
{if isset($grandstream_srtp)}
<P183 > {$grandstream_srtp}</P183>
{else}
<P183 > 0</P183>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P2383 > 0</P2383>
<!-- # Crypto Life Time -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2363 > 0</P2363>
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P291 > 0</P291>
<!-- # Silence Suppression. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P50 > 0</P50>
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P133 > 1</P133>
<!-- # 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 -->
<!-- # Mandatory -->
<P132 > 2</P132>
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
<!-- # Mandatory -->
<P37 > 2</P37>
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P49 > 1</P49>
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2323 > 0</P2323>
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P97 > 1</P97>
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P96 > 97</P96>
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P2385 > 123</P2385>
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P79 > 101</P79>
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2301 > 0</P2301>
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2302 > 1</P2302>
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2303 > 0</P2303>
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
<!-- # Mandatory -->
<P26060 > 250</P26060>
<!-- ############################################################### -->
<!-- # Account 1/Call Settings -->
<!-- ############################################################### -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P29 > 0</P29>
<!-- # Dial Plan Prefix -->
<!-- # String -->
2020-10-06 08:15:47 +02:00
<P66 > {$grandstream_dial_prefix}</P66>
2020-06-06 17:07:17 +02:00
<!-- # Dial Plan. Default value is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<!-- # Mandatory -->
{if isset($grandstream_dial_plan) }
<P290 > {$grandstream_dial_plan}</P290>
{else}
2020-11-21 02:17:43 +01:00
<P290 > {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal}</P290>
2020-06-06 17:07:17 +02:00
{/if}
<!-- # Bypass Dial Plan -->
<!-- # String: contact,incoming,outgoing,dialing,mpk,api. Default is mpk -->
<P2382 > mpk,contact,incoming,outgoing</P2382>
<!-- # 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 -->
<!-- # Mandatory -->
<P182 > 0</P182>
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P65 > 0</P65>
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P129 > 0</P129>
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P90 > 0</P90>
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P135 > 0</P135>
<!-- # Transfer on Conference Hangup. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2304 > 0</P2304>
<!-- # Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2384 > 0</P2384>
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<!-- # Mandatory -->
<P26070 > 30</P26070>
<!-- # No Key Entry Timeout (in seconds). Default is 4 -->
<!-- # Number: 1 - 15 -->
<!-- # Mandatory -->
<P85 > 4</P85>
<!-- # Key as Send. 0 - Disabled, 1 - Pound (#), 2 - Star (*). Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P72 > 1</P72>
<!-- # On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26006 > 0</P26006>
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26062 > 1</P26062>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26049 > </P26049>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<!-- # Mandatory -->
<P26050 > 0</P26050>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26063 > {$grandstream_call_waiting}</P26063>
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
{if isset($grandstream_account_ring_tone_1)}
<P104 > {$grandstream_account_ring_tone_1}</P104>
{/if}
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
<P1488 > ring1</P1488>
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P1489 > {$grandstream_distinctive_ringtone_1}</P1489>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
<!-- # String -->
<P1490 > ring2</P1490>
<!-- # Matching Rule 2 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P1491 > {$grandstream_distinctive_ringtone_2}</P1491>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P1492 > {$grandstream_distinctive_ringtone_name_3}</P1492>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 3 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P1493 > {$grandstream_distinctive_ringtone_3}</P1493>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 4 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P6716 > {$grandstream_distinctive_ringtone_name_4}</P6716>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 4 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P6717 > {$grandstream_distinctive_ringtone_4}</P6717>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 5 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P6718 > {$grandstream_distinctive_ringtone_name_5}</P6718>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 5 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P6719 > {$grandstream_distinctive_ringtone_5}</P6719>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 6 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P6720 > {$grandstream_distinctive_ringtone_name_6}</P6720>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 6 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P6721 > {$grandstream_distinctive_ringtone_6}</P6721>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 7 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P26064 > {$grandstream_distinctive_ringtone_name_7}</P26064>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 7 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P26065 > {$grandstream_distinctive_ringtone_7}</P26065>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 8 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P26066 > {$grandstream_distinctive_ringtone_name_8}</P26066>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 8 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P26067 > {$grandstream_distinctive_ringtone_8}</P26067>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 9 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P26068 > {$grandstream_distinctive_ringtone_name_9}</P26068>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 9 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P26069 > {$grandstream_distinctive_ringtone_9}</P26069>
2020-06-06 17:07:17 +02:00
<!-- # Matching Incoming Caller ID. Matching Rule 10 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P26096 > {$grandstream_distinctive_ringtone_name_10}</P26096>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 10 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P26097 > {$grandstream_distinctive_ringtone_10}</P26097>
2020-06-06 17:07:17 +02:00
<!-- # Ring Timeout (in seconds). Default is 60 -->
<!-- # Number: 30 - 3600 -->
<!-- # Mandatory -->
<P1328 > 60</P1328>
<!-- ############################################################### -->
<!-- # Account 1/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P298 > 1</P298>
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26019 > 0</P26019>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26071 > 0</P26071>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26072 > 1</P26072>
<!-- # Custom Call - Info for Auto Answer. -->
<!-- # String -->
<P2356 > </P2356>
<!-- ############################################################### -->
<!-- # Account 1/Feature Codes -->
<!-- ############################################################### -->
<!-- #Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- #Number: 0, 1 -->
<!-- #Mandatory -->
<P191 > 0</P191>
<!-- #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>
<!-- #################################################################### -->
<!-- # Account 2 -->
<!-- #################################################################### -->
<!-- ############################################################### -->
<!-- # Account 2/General Settings -->
<!-- ############################################################### -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($account.2.password)}
<P401 > 1</P401>
{else}
<P401 > 0</P401>
{/if}
<!-- # Account Name -->
<!-- # String -->
<P417 > {$account.2.display_name}</P417>
<!-- # SIP Server -->
<!-- # String -->
<P402 > {$account.2.server_address}:{$account.2.sip_port}</P402>
<!-- # Secondary SIP Server -->
<!-- # String -->
{if isset($account.2.server_address_secondary)}
<P2412 > {$account.2.server_address_secondary}:{$account.2.sip_port}</P2412>
{else}
<P2412 > {$account.2.server_address_secondary}</P2412>
{/if}
<!-- # Outbound Proxy -->
<!-- # String -->
{if isset($account.2.outbound_proxy_primary)}
<P403 > {$account.2.outbound_proxy_primary}:{$account.2.sip_port}</P403>
{else}
<P403 > {$account.2.outbound_proxy_primary}</P403>
{/if}
<!-- # Backup Outbound Proxy -->
<!-- # String -->
{if isset($account.2.outbound_proxy_secondary)}
<P2433 > {$account.2.outbound_proxy_secondary}:{$account.2.sip_port}</P2433>
{else}
<P2433 > {$account.2.outbound_proxy_secondary}</P2433>
{/if}
<!-- # BLF Server -->
<!-- # String -->
<P2475 > </P2475>
<!-- # SIP User ID -->
<!-- # String -->
<P404 > {$account.2.user_id}</P404>
<!-- # Authenticate ID -->
<!-- # String -->
<P405 > {$account.2.auth_id}</P405>
<!-- # Authenticate password -->
<!-- # String -->
<P406 > {$account.2.password}</P406>
<!-- # Name -->
<!-- # String -->
<P407 > {$account.2.display_name}</P407>
<!-- # Voice Mail UserID -->
<!-- # String -->
2021-04-23 21:00:45 +02:00
<P426 > {$voicemail_number}</P426>
2020-06-06 17:07:17 +02:00
<!-- # Account Display -->
<!-- # Number: 0, 1. 0 - User Name, 1 - User ID. Default is 0 -->
<!-- # Mandatory -->
<P2480 > 0</P2480>
<!-- ############################################################### -->
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_dns_mode)}
<P408 > {$grandstream_dns_mode}</P408>
{else}
<P408 > 0</P408>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P26140 > 0</P26140>
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
<P2408 > </P2408>
<!-- # Backup IP 1 -->
<!-- # String -->
<P2409 > </P2409>
<!-- # Backup IP 2 -->
<!-- # String -->
<P2410 > </P2410>
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_nat_traversal)}
<P414 > {$grandstream_nat_traversal}</P414>
{else}
<P414 > 2</P414>
{/if}
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
<P418 > </P418>
<!-- # Use SBC. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26190 > 0</P26190>
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Basic Settings -->
<!-- ############################################################### -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P409 > 0</P409>
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P410 > 1</P410>
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P411 > 0</P411>
<!-- # Register Expiration (in minutes). Default is 60. Max is 45 days -->
<!-- # Number: 1 - 64800 -->
<!-- # Mandatory -->
<P412 > {$account.2.register_expires}</P412>
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
<!-- # Mandatory -->
<P26151 > 60</P26151>
<!-- # Reregister before Expiration (in seconds). Default is 0 -->
<!-- # Number: 0 - 64800 -->
<!-- # Mandatory -->
<P2430 > 0</P2430>
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P2497 > 0</P2497>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<!-- # Mandatory -->
<P2498 > 30</P2498>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<!-- # Mandatory -->
<P2499 > 30</P2499>
<!-- # Local SIP port. Default is 5060 -->
<!-- # Number -->
<!-- # Mandatory -->
<P413 > 6051</P413>
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
<!-- # Mandatory -->
<P471 > 20</P471>
<!-- # 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 -->
<!-- # Mandatory -->
<P440 > 100</P440>
<!-- # 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 -->
<!-- # Mandatory -->
<P441 > 400</P441>
<!-- # Switch Backup Proxy on No Response. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P26192 > 0</P26192>
<!-- # SIP Transport. 0 - UDP, 1 - TCP, 2 - TCP/TLS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
{$tp=0}
{if $account.2.sip_transport == 'udp'}{$tp=0}{/if}
{if $account.2.sip_transport == 'tcp'}{$tp=1}{/if}
{if $account.2.sip_transport == 'tls'}{$tp=2}{/if}
{if $account.2.sip_transport == 'dns srv'}{$tp=1}{/if}
<P448 > {$tp}</P448>
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
<!-- # Mandatory -->
<P26124 > 0</P26124>
<!-- # SIP URI Scheme when using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2429 > 1</P2429>
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2431 > 0</P2431>
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2405 > 0</P2405>
<!-- # Support SIP Instance ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P489 > 1</P489>
<!-- # SUBSCRIBE for MWI (Whether or not send SUBSCRIBE for Message Waiting Indication). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($subscribe_mwi)}
<P415 > 1</P415>
{else}
<P415 > 0</P415>
{/if}
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2419 > 0</P2419>
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P435 > 0</P435>
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26125 > 0</P26125>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2424 > 0</P2424>
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2459 > 0</P2459>
<!-- #Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- #Mandatory -->
<P26115 > 0 </P26115>
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26118 > 0</P26118>
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2438 > 0</P2438>
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2439 > 0</P2439>
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26154 > 1</P26154>
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26158 > 1</P26158>
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26159 > 1</P26159>
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes except REGISTER, 2 - Yes to all SIP. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26161 > 1</P26161>
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Advanced Features -->
<!-- ############################################################### -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
<!-- # Mandatory -->
<P2413 > 15</P2413>
<!-- # Eventlist BLF URI -->
<!-- # String -->
<P444 > </P444>
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
<!-- #Mandatory -->
<P2489 > 0</P2489>
<!-- # Conference URI -->
<!-- # String -->
2021-02-26 00:10:49 +01:00
<P2418 > {if $nway_conference == true}nway{$account.2.user_id}@{$account.2.server_address}{/if}</P2418>
2020-06-06 17:07:17 +02:00
<!-- # Music On Hold URI -->
<!-- # String -->
<P2450 > </P2450>
<!-- # BLF Call - pickup. 0 - Auto, 1 - Force BLF Call - pickup by prefix, 2 - Disabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P6753 > {$grandstream_blf_call_pickup}</P6753>
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
<!-- # Mandatory -->
<P481 > **</P481>
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
<P26146 > </P26146>
<!-- # PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P488 > 0</P488>
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2455 > 0</P2455>
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26123 > 0</P26123>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, -->
<!-- # 109 - RNK, 110 - Sylantro, 117 - Huawei IMS, 119 - Phonepower, 120 - UCM Call Center -->
<!-- # Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117, 119, 120 -->
<!-- # Mandatory -->
<P424 > 100</P424>
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2441 > 0</P2441>
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2442 > 0</P2442>
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2443 > 0</P2443>
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2464 > 0</P2464>
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0. -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2425 > 0</P2425>
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0. -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2488 > 0</P2488>
<!-- ############################################################### -->
<!-- # Account 2/SIP Settings/Session Timer -->
<!-- ############################################################### -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2495 > 1</P2495>
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
<!-- # Mandatory -->
<P434 > 180</P434>
<!-- # Minimum SE (in seconds). Default is 90. This value must be lower than or equal to P434 -->
<!-- # Number: 90 - 64800 -->
<!-- # Mandatory -->
<P427 > 90</P427>
<!-- # Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P428 > 0</P428>
<!-- # 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 -->
<P429 > 0</P429>
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P430 > 0</P430>
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P432 > 0</P432>
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
<!-- # Mandatory -->
<P433 > 1</P433>
<!-- # 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 -->
<!-- # Mandatory -->
<P431 > 0</P431>
<!-- ############################################################### -->
<!-- # 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 -->
<!-- # Mandatory -->
<P2411 > 0</P2411>
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2467 > 0</P2467>
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2406 > 0</P2406>
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P449 > 0</P449>
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2447 > 1</P2447>
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2446 > 0</P2446>
<!-- ############################################################### -->
<!-- # 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, 123 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P451 > 0</P451>
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P452 > 8</P452>
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P453 > 4</P453>
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P454 > 18</P454>
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P455 > 9</P455>
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P456 > 98</P456>
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P457 > 2</P457>
<!-- # choice 8. Default is 123 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P458 > 123</P458>
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2448 > 0</P2448>
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P29161 > 1</P29161>
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P26147 > 0</P26147>
<!-- #Disable Multiple m line in SDP -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P487 > 0</P487>
<!-- # SRTP Mode -->
<!-- # 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
<!-- # Mandatory -->
{if isset($grandstream_srtp)}
<P443 > {$grandstream_srtp}</P443>
{else}
<P443 > 0</P443>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P2483 > 0</P2483>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2463 > 0</P2463>
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P460 > 0</P460>
<!-- # Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P485 > 0</P485>
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
<P486 > 2</P486>
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P493 > 1</P493>
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2423 > 0</P2423>
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P495 > 1</P495>
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P494 > 97</P494>
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P2485 > 123</P2485>
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P496 > 101</P496>
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2401 > 0</P2401>
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2402 > 1</P2402>
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2403 > 0</P2403>
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
<!-- # Mandatory -->
<P26160 > 250</P26160>
<!-- ############################################################### -->
<!-- # Account 2/Call Settings -->
<!-- ############################################################### -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P422 > 0</P422>
<!-- # Dial Plan Prefix -->
<!-- # String -->
<P419 > </P419>
<!-- # Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<!-- # Mandatory -->
{if isset($grandstream_dial_plan) }
<P459 > {$grandstream_dial_plan}</P459>
{else}
2020-11-21 02:17:43 +01:00
<P459 > {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal}</P459>
2020-06-06 17:07:17 +02:00
{/if}
<!-- # Bypass Dial Plan -->
<!-- # String: contact,incoming,outgoing,dialing,mpk,api. Default is mpk -->
<P2482 > mpk</P2482>
<!-- # 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 -->
<!-- # Mandatory -->
<P442 > 0</P442>
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
{if isset($grandstream_account_ring_tone_2)}
<P423 > {$grandstream_account_ring_tone_2}</P423>
{/if}
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
<P1494 > ring1</P1494>
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1495 > 0</P1495>
<!-- # Matching Incoming Caller ID. Matching Rule 2. -->
<!-- # String -->
<P1496 > ring2</P1496>
<!-- # Matching Rule 2 Distinctive Ringtone. -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1497 > 0</P1497>
<!-- # Matching Incoming Caller ID. Matching Rule 3. -->
<!-- # String -->
<P1498 > ring3</P1498>
<!-- # Matching Rule 3 Distinctive Ringtone. -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1499 > 0</P1499>
<!-- # Matching Incoming Caller ID. Matching Rule 4 -->
<!-- # String -->
<P6722 > </P6722>
<!-- # Matching Rule 4 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6723 > 5</P6723>
<!-- # Matching Incoming Caller ID. Matching Rule 5 -->
<!-- # String -->
<P6724 > </P6724>
<!-- # Matching Rule 5 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6725 > 5</P6725>
<!-- # Matching Incoming Caller ID. Matching Rule 6 -->
<!-- # String -->
<P6726 > </P6726>
<!-- # Matching Rule 6 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6727 > 5</P6727>
<!-- # Matching Incoming Caller ID. Matching Rule 7 -->
<!-- # String -->
<P26164 > </P26164>
<!-- # Matching Rule 7 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26165 > 5</P26165>
<!-- # Matching Incoming Caller ID. Matching Rule 8 -->
<!-- # String -->
<P26166 > </P26166>
<!-- # Matching Rule 8 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26167 > 5</P26167>
<!-- # Matching Incoming Caller ID. Matching Rule 9 -->
<!-- # String -->
<P26168 > </P26168>
<!-- # Matching Rule 9 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26169 > 5</P26169>
<!-- # Matching Incoming Caller ID. Matching Rule 10 -->
<!-- # String -->
<P26196 > </P26196>
<!-- # Matching Rule 10 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26197 > 5</P26197>
<!-- # Ring Timeout (in seconds) Default is 60 -->
<!-- # Number: 30 - 3600 -->
<!-- # Mandatory -->
<P476 > 60</P476>
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P421 > 0</P421>
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P446 > 0</P446>
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P425 > 0</P425>
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P469 > 0</P469>
<!-- # Transfer on conference HangUp. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2404 > 0</P2404>
<!-- # Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2484 > 0</P2484>
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<!-- # Mandatory -->
<P26170 > 30</P26170>
<!-- # No Key Entry Timeout. Default is 4 -->
<!-- # Number: 1 - 15 -->
<!-- # Mandatory -->
<P491 > 4</P491>
<!-- # Use # As Dial Key. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P492 > 1</P492>
<!-- #On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26106 > 0</P26106>
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26162 > 1</P26162>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26149 > </P26149>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<!-- # Mandatory -->
<P26150 > 0</P26150>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26163 > {$grandstream_call_waiting}</P26163>
<!-- ############################################################### -->
<!-- # Account 2/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P438 > 1</P438>
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26119 > 0</P26119>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26171 > 0</P26171>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- #Mandatory -->
<P420 > 0</P420>
<!-- #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>
<!-- #################################################################### -->
<!-- # Account 3 -->
<!-- #################################################################### -->
<!-- ############################################################### -->
<!-- # Account 3/General Settings -->
<!-- ############################################################### -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($account.3.password)}
<P501 > 1</P501>
{else}
<P501 > 0</P501>
{/if}
<!-- # Account Name -->
<!-- # String -->
<P517 > {$account.3.display_name}</P517>
<!-- # SIP Server -->
<!-- # String -->
<P502 > {$account.3.server_address}:{$account.3.sip_port}</P502>
<!-- # Secondary SIP Server -->
<!-- # String -->
{if isset($account.3.server_address_secondary)}
<P2512 > {$account.3.server_address_secondary}:{$account.3.sip_port}</P2512>
{else}
<P2512 > {$account.3.server_address_secondary}</P2512>
{/if}
<!-- # Outbound Proxy -->
<!-- # String -->
{if isset($account.3.outbound_proxy_primary)}
<P503 > {$account.3.outbound_proxy_primary}:{$account.3.sip_port}</P503>
{else}
<P503 > {$account.3.outbound_proxy_primary}</P503>
{/if}
<!-- # Backup Outbound Proxy -->
<!-- # String -->
{if isset($account.3.outbound_proxy_secondary)}
<P2533 > {$account.3.outbound_proxy_secondary}:{$account.3.sip_port}</P2533>
{else}
<P2533 > {$account.3.outbound_proxy_secondary}</P2533>
{/if}
<!-- # BLF Server -->
<!-- # String -->
<P2575 > </P2575>
<!-- # SIP User ID -->
<!-- # String -->
<P504 > {$account.3.user_id}</P504>
<!-- # Authenticate ID -->
<!-- # String -->
<P505 > {$account.3.auth_id}</P505>
<!-- # Authenticate Password -->
<!-- # String -->
<P506 > {$account.3.password}</P506>
<!-- # Name -->
<!-- # String -->
<P507 > {$account.3.display_name}</P507>
<!-- -->
<!-- # Voice Mail UserID -->
<!-- # String -->
2021-04-23 21:00:45 +02:00
<P526 > {$voicemail_number}</P526>
2020-06-06 17:07:17 +02:00
<!-- # Account Display -->
<!-- # Number: 0, 1. 0 - User Name, 1 - User ID. Default is 0 -->
<!-- # Mandatory -->
<P2580 > 0</P2580>
<!-- ############################################################### -->
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_dns_mode)}
<P508 > {$grandstream_dns_mode}</P508>
{else}
<P508 > 0</P508>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P26240 > 0</P26240>
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
<P2508 > </P2508>
<!-- # Backup IP 1 -->
<!-- # String -->
<P2509 > </P2509>
<!-- # Backup IP 2 -->
<!-- # String -->
<P2510 > </P2510>
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_nat_traversal)}
<P514 > {$grandstream_nat_traversal}</P514>
{else}
<P514 > 2</P514>
{/if}
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
<P518 > </P518>
<!-- # Use SBC. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26290 > 0</P26290>
<!-- ############################################################### -->
<!-- # Account 3/SIP Settings/Basic Settings -->
<!-- ############################################################### -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P509 > 0</P509>
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P510 > 1</P510>
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P511 > 0</P511>
<!-- # Register Expiration (in minutes). Default is 60. Max is 45 days -->
<!-- # Number: 1 - 64800 -->
<!-- # Mandatory -->
<P512 > {$account.3.register_expires}</P512>
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
<!-- # Mandatory -->
<P26251 > 60</P26251>
<!-- # Reregister before Expiration (in seconds). Default is 0 second -->
<!-- # Number: 0 - 64800 -->
<!-- # Mandatory -->
<P2530 > 0</P2530>
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P2597 > 0</P2597>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<!-- # Mandatory -->
<P2598 > 30</P2598>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<!-- # Mandatory -->
<P2599 > 30</P2599>
<!-- # Local SIP Port. Default is 5064 -->
<!-- # Number -->
<!-- # Mandatory -->
<P513 > 5064</P513>
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
<!-- # Mandatory -->
<P571 > 20</P571>
<!-- # 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 -->
<!-- # Mandatory -->
<P540 > 50</P540>
<!-- # 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 -->
<!-- # Mandatory -->
<P541 > 400</P541>
<!-- # Switch Backup Proxy on No Response. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P26292 > 0</P26292>
<!-- # SIP Transport. 0 - UDP, 1 - TCP. 2 - TCP/TLS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
{$tp=0}
{if $account.3.sip_transport == 'udp'}{$tp=0}{/if}
{if $account.3.sip_transport == 'tcp'}{$tp=1}{/if}
{if $account.3.sip_transport == 'tls'}{$tp=2}{/if}
{if $account.3.sip_transport == 'dns srv'}{$tp=1}{/if}
<P548 > {$tp}</P548>
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
<!-- # Mandatory -->
<P26224 > 0</P26224>
<!-- # SIP URI Scheme When Using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2529 > 1</P2529>
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2531 > 0</P2531>
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2505 > 0</P2505>
<!-- # Support SIP Instace ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P589 > 1</P589>
<!-- # SUBSCRIBE for MWI (Whether or not send SUBSCRIBE for Message Waiting Indication). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($subscribe_mwi)}
<P515 > 1</P515>
{else}
<P515 > 0</P515>
{/if}
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2519 > 0</P2519>
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P535 > 0</P535>
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26225 > 0</P26225>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2524 > 0</P2524>
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2559 > 0</P2559>
<!-- #Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- #Mandatory -->
<P26215 > 0</P26215>
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26218 > 0</P26218>
<!-- ############################################################### -->
<!-- # Account 3/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2538 > 0</P2538>
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2539 > 0</P2539>
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26254 > 1</P26254>
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26258 > 1</P26258>
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26259 > 1</P26259>
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes except REGISTER, 2 - Yes to all SIP. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26261 > 1</P26261>
<!-- ########################################## -->
<!-- # Account 3/SIP Settings/Advanced Features -->
<!-- ########################################## -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
<!-- # Mandatory -->
<P2513 > 15</P2513>
<!-- # Eventlist BLF URI -->
<!-- # String -->
<P544 > </P544>
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
<!-- #Mandatory -->
<P2589 > 0</P2589>
<!-- # Conference URI -->
<!-- # String -->
2021-02-26 00:10:49 +01:00
<P2518 > {if $nway_conference == true}nway{$account.3.user_id}@{$account.3.server_address}{/if}</P2518>
2020-06-06 17:07:17 +02:00
<!-- # Music On Hold URI -->
<!-- # String -->
<P2550 > </P2550>
<!-- # BLF Call - pickup. 0 - Auto, 1 - Force BLF Call - pickup by prefix, 2 - Disabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P6754 > {$grandstream_blf_call_pickup}</P6754>
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
<!-- # Mandatory -->
<P581 > **</P581>
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
<!-- #P26246 = -->
<!-- # PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P588 > 0</P588>
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2555 > 0</P2555>
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26223 > 0</P26223>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, -->
<!-- # 109 - RNK, 110 - Sylantro, 117 - Huawei IMS, 119 - Phonepower, 120 - UCM Call Center -->
<!-- # Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117, 119, 120 -->
<!-- # Mandatory -->
<P524 > 100</P524>
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2541 > 0</P2541>
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2542 > 0</P2542>
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2543 > 0</P2543>
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2564 > 0</P2564>
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2525 > 0</P2525>
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2588 > 0</P2588>
<!-- ########################################## -->
<!-- # Account 3/SIP Settings/Session Timer -->
<!-- ########################################## -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2595 > 1</P2595>
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
<!-- # Mandatory -->
<P534 > 180</P534>
<!-- # Minimum SE (in seconds). Default is 90. This value must be lower than or equal to P534 -->
<!-- # Number: 90 - 64800 -->
<!-- # Mandatory -->
<P527 > 90</P527>
<!-- # Caller Request Timer (Request for timer when calling) 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P528 > 0</P528>
<!-- # 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 -->
<P529 > 0</P529>
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P530 > 0</P530>
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P532 > 0</P532>
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
<!-- # Mandatory -->
<P533 > 1</P533>
<!-- # 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 -->
<!-- # Mandatory -->
<P531 > 0</P531>
<!-- ########################################## -->
<!-- # 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 -->
<!-- # Mandatory -->
<P2511 > 0</P2511>
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2567 > 0</P2567>
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2506 > 0</P2506>
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P549 > 0</P549>
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2547 > 1</P2547>
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2546 > 0</P2546>
<!-- ########################################## -->
<!-- # Account 3/Audio Settings -->
<!-- ########################################## -->
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2501 > 0</P2501>
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2502 > 1</P2502>
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2503 > 0</P2503>
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P2585 > 123</P2585>
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P596 > 101</P596>
<!-- # Preferred Vocoder -->
<!-- # 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 123 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P551 > 0</P551>
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P552 > 8</P552>
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P553 > 4</P553>
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P554 > 18</P554>
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P555 > 9</P555>
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P556 > 98</P556>
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P557 > 2</P557>
<!-- # choice 8. Default is 123 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P558 > 123</P558>
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2548 > 0</P2548>
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P29261 > 1</P29261>
<!-- # Disable Multiple m line in SDP -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P587 > 0</P587>
<!-- # SRTP Mode -->
<!-- # 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
<!-- # Mandatory -->
{if isset($grandstream_srtp)}
<P543 > {$grandstream_srtp}</P543>
{else}
<P543 > 0</P543>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P2583 > 0</P2583>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2563 > 0</P2563>
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P560 > 0</P560>
<!-- # Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P585 > 0</P585>
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
<!-- # Mandatory -->
<P586 > 2</P586>
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P593 > 1</P593>
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2523 > 0</P2523>
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P595 > 1</P595>
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P594 > 97</P594>
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P598 > 1</P598>
<!-- # 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 -->
<!-- # Mandatory -->
<P597 > 2</P597>
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P26247 > 0</P26247>
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
<!-- # Mandatory -->
<P26260 > 250</P26260>
<!-- ########################################## -->
<!-- # Account 3/Call Settings -->
<!-- ########################################## -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P522 > 0</P522>
<!-- # Dial Plan Prefix -->
<!-- # String -->
<P519 > </P519>
<!-- # Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<!-- # Mandatory -->
{if isset($grandstream_dial_plan) }
<P559 > {$grandstream_dial_plan}</P559>
{else}
2020-11-21 02:17:43 +01:00
<P559 > {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal}</P559>
2020-06-06 17:07:17 +02:00
{/if}
<!-- # Bypass Dial Plan -->
<!-- # String: contact,incoming,outgoing,dialing,mpk,api. Default is mpk -->
<P2582 > mpk</P2582>
<!-- # 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 -->
<!-- # Mandatory -->
<P542 > 0</P542>
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
{if isset($grandstream_account_ring_tone_3)}
<P523 > {$grandstream_account_ring_tone_3}</P523>
{/if}
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
2021-03-02 22:29:16 +01:00
<P1500 > {$grandstream_distinctive_ringtone_name_1}</P1500>
2020-06-06 17:07:17 +02:00
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1501 > 0</P1501>
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
<!-- # String -->
<P1502 > </P1502>
<!-- # Matching Rule 2 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1503 > 0</P1503>
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
<!-- # String -->
<P1504 > </P1504>
<!-- # Matching Rule 3 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1505 > 0</P1505>
<!-- # Matching Incoming Caller ID. Matching Rule 4 -->
<!-- # String -->
<P6728 > </P6728>
<!-- # Matching Rule 4 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6729 > 5</P6729>
<!-- # Matching Incoming Caller ID. Matching Rule 5 -->
<!-- # String -->
<P6730 > </P6730>
<!-- # Matching Rule 5 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6731 > 5</P6731>
<!-- # Matching Incoming Caller ID. Matching Rule 6 -->
<!-- # String -->
<P6732 > </P6732>
<!-- # Matching Rule 6 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6733 > 5</P6733>
<!-- # Matching Incoming Caller ID. Matching Rule 7 -->
<!-- # String -->
<P26264 > </P26264>
<!-- # Matching Rule 7 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26265 > 5</P26265>
<!-- # Matching Incoming Caller ID. Matching Rule 8 -->
<!-- # String -->
<P26266 > </P26266>
<!-- # Matching Rule 8 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26267 > 5</P26267>
<!-- # Matching Incoming Caller ID. Matching Rule 9 -->
<!-- # String -->
<P26268 > </P26268>
<!-- # Matching Rule 9 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26269 > 5</P26269>
<!-- # Matching Incoming Caller ID. Matching Rule 10 -->
<!-- # String -->
<P26296 > </P26296>
<!-- # Matching Rule 10 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26297 > 5</P26297>
<!-- # Ring Timeout (in seconds). Default is 60 -->
<!-- # Number: 30 - 3600 -->
<!-- # Mandatory -->
<P576 > 60</P576>
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P521 > 0</P521>
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P546 > 0</P546>
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P525 > 0</P525>
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P569 > 0</P569>
<!-- # Transfer on conference Hang - Up. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2504 > 0</P2504>
<!-- #Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2584 > 0</P2584>
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<!-- # Mandatory -->
<P26270 > 30</P26270>
<!-- # No Key Entry Timeout. Default is 4 -->
<!-- # Number: 1 - 15 -->
<!-- # Mandatory -->
<P591 > 4</P591>
<!-- # Use # As Dial Key. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P592 > 1</P592>
<!-- #On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26206 > 0</P26206>
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26262 > 1</P26262>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26249 > </P26249>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<!-- # Mandatory -->
<P26250 > 0</P26250>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26263 > {$grandstream_call_waiting}</P26263>
<!-- ############################################################### -->
<!-- # Account 3/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P538 > 0</P538>
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26219 > 0</P26219>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26271 > 0</P26271>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- #Mandatory -->
<P520 > 0</P520>
<!-- #Do Not Disturb (DND) - On -->
<!-- # String -->
<P2544 > </P2544>
<!-- #Do Not Disturb (DND) - Off -->
<!-- # String -->
<P2545 > </P2545>
<!-- #Call Forward Unconditionally (All) - On -->
<!-- # String -->
<P26213 > </P26213>
<!-- #Call Forward Unconditionally (All) - Off -->
<!-- # String -->
<P26214 > </P26214>
<!-- #Call Forward Busy - On -->
<!-- # String -->
<P26209 > </P26209>
<!-- #Call Forward Busy - Off -->
<!-- # String -->
<P26210 > </P26210>
<!-- #Call Forward Delayed (No Answer) - On -->
<!-- #String -->
<P26211 > </P26211>
<!-- #Call Forward Delayed (No Answer) - Off -->
<!-- #String -->
<P26212 > </P26212>
<!-- #Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- #Number: 1 - 120 -->
<!-- #Mandatory -->
<P570 > </P570>
<!-- #################################################################### -->
<!-- # Account 4 -->
<!-- #################################################################### -->
<!-- ########################################## -->
<!-- # Account 4/General Settings -->
<!-- ########################################## -->
<!-- # Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($account.4.password)}
<P601 > 1</P601>
{else}
<P601 > 0</P601>
{/if}
<!-- # Account Name -->
<!-- # String -->
<P617 > {$account.4.display_name}</P617>
<!-- # SIP Server -->
<!-- # String -->
<P602 > {$account.4.server_address}:{$account.4.sip_port}</P602>
<!-- # Secondary SIP Server -->
<!-- # String -->
{if isset($account.4.server_address_secondary)}
<P2612 > {$account.4.server_address_secondary}:{$account.4.sip_port}</P2612>
{else}
<P2612 > {$account.4.server_address_secondary}</P2612>
{/if}
<!-- # Outbound Proxy -->
<!-- # String -->
{if isset($account.4.outbound_proxy_primary)}
<P603 > {$account.4.outbound_proxy_primary}:{$account.4.sip_port}</P603>
{else}
<P603 > {$account.4.outbound_proxy_primary}</P603>
{/if}
<!-- # Backup Outbound Proxy -->
<!-- # String -->
{if isset($account.4.outbound_proxy_secondary)}
<P2633 > {$account.4.outbound_proxy_secondary}:{$account.4.sip_port}</P2633>
{else}
<P2633 > {$account.4.outbound_proxy_secondary}</P2633>
{/if}
<!-- # BLF Server -->
<!-- # String -->
<P2675 > </P2675>
<!-- # SIP User ID -->
<!-- # String -->
<P604 > {$account.4.user_id}</P604>
<!-- # Authenticate ID -->
<!-- # String -->
<P605 > {$account.4.auth_id}</P605>
<!-- # Authenticate password -->
<!-- # String -->
<P606 > {$account.4.password}</P606>
<!-- # Name -->
<!-- # String -->
<P607 > {$account.4.display_name}</P607>
<!-- # Voice Mail UserID -->
<!-- # String -->
2021-04-23 21:00:45 +02:00
<P626 > {$voicemail_number}</P626>
2020-06-06 17:07:17 +02:00
<!-- # Account Display -->
<!-- # Number: 0, 1. 0 - User Name, 1 - User ID. Default is 0 -->
<!-- # Mandatory -->
<P2680 > 0</P2680>
<!-- ########################################## -->
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_dns_mode)}
<P608 > {$grandstream_dns_mode}</P608>
{else}
<P608 > 0</P608>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P26340 > 0</P26340>
<!-- # Primary IP. Maximum 15 characters -->
<!-- # String -->
<P2608 > </P2608>
<!-- # Backup IP 1 -->
<!-- # String -->
<P2609 > </P2609>
<!-- # Backup IP 2 -->
<!-- # String -->
<P2610 > </P2610>
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_nat_traversal)}
<P614 > {$grandstream_nat_traversal}</P614>
{else}
<P614 > 2</P614>
{/if}
<!-- # Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- # String -->
<P618 > </P618>
<!-- # Use SBC. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26390 > 0</P26390>
<!-- ########################################## -->
<!-- # Account 4/SIP Settings/Basic Settings -->
<!-- ########################################## -->
<!-- # TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P609 > 0</P609>
<!-- # SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P610 > 1</P610>
<!-- # Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P611 > 0</P611>
<!-- # Register Expiration (in minutes). Default is 60. Max is 45 days -->
<!-- # Number: 1 - 64800 -->
<!-- # Mandatory -->
<P612 > {$account.4.register_expires}</P612>
<!-- # Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- # Number: 1 - 64800 -->
<!-- # Mandatory -->
<P26351 > 60</P26351>
<!-- # Reregister before Expiration (in seconds). Default is 0 -->
<!-- # Number: 0 - 64800 -->
<!-- # Mandatory -->
<P2630 > 0</P2630>
<!-- # Enable OPTIONS Keep Alive. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P2697 > 0</P2697>
<!-- # OPTIONS Keep Alive Interval. Default is 30 -->
<!-- # Number -->
<!-- # Mandatory -->
<P2698 > 30</P2698>
<!-- # OPTIONS Keep Alive Max Lost. Default is 3 -->
<!-- # Number -->
<!-- # Mandatory -->
<P2699 > 30</P2699>
<!-- # Local SIP port. Default is 5066 -->
<!-- # Number -->
<!-- # Mandatory -->
<P613 > 5066</P613>
<!-- # SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- # Number: 1 - 3600 -->
<!-- # Mandatory -->
<P671 > 20</P671>
<!-- # 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 -->
<!-- # Mandatory -->
<P640 > 50</P640>
<!-- # 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 -->
<!-- # Mandatory -->
<P641 > 400</P641>
<!-- # Switch Backup Proxy on No Response. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P26392 > 0</P26392>
<!-- # SIP Transport. 0 - UDP, 1 - TCP. 2 - TCP/TLS. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
{$tp=0}
{if $account.4.sip_transport == 'udp'}{$tp=0}{/if}
{if $account.4.sip_transport == 'tcp'}{$tp=1}{/if}
{if $account.4.sip_transport == 'tls'}{$tp=2}{/if}
{if $account.4.sip_transport == 'dns srv'}{$tp=1}{/if}
<P648 > {$tp}</P648>
<!-- # SIP Listening Mode. -->
<!-- # 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- # Number: 0,1,2,3 -->
<!-- # Mandatory -->
<P26324 > 0</P26324>
<!-- # SIP URI Scheme When Using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2629 > 1</P2629>
<!-- # Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2631 > 0</P2631>
<!-- # Outbound Proxy Mode. 0 - in route, 1 - not in route, 2 - always send to -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2605 > 0</P2605>
<!-- # Support SIP Instance ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P689 > 1</P689>
<!-- # SUBSCRIBE for MWI (Whether or not send SUBSCRIBE for Message Waiting Indication). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($subscribe_mwi)}
<P615 > 1</P615>
{else}
<P615 > 0</P615>
{/if}
<!-- # SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2619 > 0</P2619>
<!-- # Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P635 > 0</P635>
<!-- # Callee ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26325 > 0</P26325>
<!-- # Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2624 > 0</P2624>
<!-- # Add Auth Header On Initial REGISTER -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2659 > 0</P2659>
<!-- #Allow SIP Reset -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- #Mandatory -->
<P26315 > 0</P26315>
<!-- # Ignore Alert - Info header -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26318 > 0</P26318>
<!-- ############################################################### -->
<!-- # Account 4/SIP Settings/Custom SIP Headers -->
<!-- ############################################################### -->
<!-- # Use Privacy Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2638 > 0</P2638>
<!-- # Use P - Preferred - Identity Header -->
<!-- # 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P2639 > 0</P2639>
<!-- # Use X - Grandstream - PBX Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26354 > 1</P26354>
<!-- # Use P - Access - Network - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26358 > 1</P26358>
<!-- # Use P - Emergency - Info Header -->
<!-- # 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26359 > 1</P26359>
<!-- # Use MAC Header -->
<!-- # 0 - No, 1 - Yes except REGISTER, 2 - Yes to all SIP. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26361 > 1</P26361>
<!-- ########################################## -->
<!-- # Account 4/SIP Settings/Advanced Features -->
<!-- ########################################## -->
<!-- # Line - Seize Timeout (in seconds). Default is 15 -->
<!-- # Number: 15 - 60 -->
<!-- # Mandatory -->
<P2613 > 15</P2613>
<!-- # Eventlist BLF URI -->
<!-- # String -->
<P644 > </P644>
<!-- #Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- #Number:0,1 -->
<!-- #Mandatory -->
<P2689 > 0</P2689>
<!-- # Conference URI -->
<!-- # String -->
2021-02-26 00:10:49 +01:00
<P2618 > {if $nway_conference == true}nway{$account.4.user_id}@{$account.4.server_address}{/if}</P2618>
2020-06-06 17:07:17 +02:00
<!-- # Music On Hold URI -->
<!-- # String -->
<P2650 > </P2650>
<!-- # BLF Call - pickup. 0 - Auto, 1 - Force BLF Call - pickup by prefix, 2 - Disabled. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P6755 > {$grandstream_blf_call_pickup}</P6755>
<!-- # BLF Call - pickup Prefix. Default is ** -->
<!-- # String -->
<!-- # Mandatory -->
<P681 > **</P681>
<!-- # Call Pickup Barge - In Code -->
<!-- # String -->
<!-- #P26346 = -->
<!-- # PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P688 > 0</P688>
<!-- # Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2655 > 0</P2655>
<!-- # Allow Unsolicited REFER. 0 - Disabled, 1 - Enabled, 2 - Enabled/Force Auth. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26323 > 0</P26323>
<!-- # Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, -->
<!-- # 109 - RNK, 110 - Sylantro, 117 - Huawei IMS, 119 - Phonepower, 120 - UCM Call Center -->
<!-- # Default is 100 -->
<!-- # Number: 100, 101, 102, 108, 109, 110, 117, 119, 120 -->
<!-- # Mandatory -->
<P624 > 100</P624>
<!-- # Broadsoft -->
<!-- # Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2641 > 0</P2641>
<!-- # Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2642 > 0</P2642>
<!-- # Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2643 > 0</P2643>
<!-- # Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2664 > 0</P2664>
<!-- # Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2625 > 0</P2625>
<!-- # Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2688 > 0</P2688>
<!-- ########################################## -->
<!-- # Account 4/SIP Settings/Session Timer -->
<!-- ########################################## -->
<!-- # Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2695 > 1</P2695>
<!-- # Session Expiration (in seconds). Default is 180 -->
<!-- # Number: 90 - 64800 -->
<!-- # Mandatory -->
<P634 > 180</P634>
<!-- # Minimum SE (in seconds). Default is 90 seconds. This value must be lower than or equal to P634 -->
<!-- # Number: 90 - 64800 -->
<!-- # Mandatory -->
<P627 > 90</P627>
<!-- # Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P628 > 0</P628>
<!-- # 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 -->
<P629 > 0</P629>
<!-- # Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P630 > 0</P630>
<!-- # UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- # Number: 0 - 2 -->
<!-- # Mandatory -->
<P632 > 0</P632>
<!-- # UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- # Number: 1, 2 -->
<!-- # Mandatory -->
<P633 > 1</P633>
<!-- # 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 -->
<!-- # Mandatory -->
<P631 > 0</P631>
<!-- ########################################## -->
<!-- # 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 -->
<!-- # Mandatory -->
<P2611 > 0</P2611>
<!-- # Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2667 > 0</P2667>
<!-- # Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2606 > 0</P2606>
<!-- # Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P649 > 0</P649>
<!-- # Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2647 > 1</P2647>
<!-- # Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2646 > 0</P2646>
<!-- ########################################## -->
<!-- # Account 4/Audio Settings -->
<!-- ########################################## -->
<!-- # Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2601 > 0</P2601>
<!-- # Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2602 > 1</P2602>
<!-- # Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2603 > 0</P2603>
<!-- # OPUS Payload Type. Default is 123 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P2685 > 123</P2685>
<!-- # DTMF Payload Type. Default is 101 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P696 > 101</P696>
<!-- # Preferred Vocoder -->
<!-- # 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 123 - OPUS -->
<!-- # choice 1. Default is 0 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P651 > 0</P651>
<!-- # choice 2. Default is 8 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P652 > 8</P652>
<!-- # choice 3. Default is 4 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P653 > 4</P653>
<!-- # choice 4. Default is 18 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P654 > 18</P654>
<!-- # choice 5. Default is 9 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P655 > 9</P655>
<!-- # choice 6. Default is 98 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P656 > 98</P656>
<!-- # choice 7. Default is 2 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P657 > 2</P657>
<!-- # choice 8. Default is 123 -->
<!-- # Number: 0, 2, 4, 8, 9, 18, 98, 123 -->
<!-- # Mandatory -->
<P658 > 123</P658>
<!-- # Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2648 > 0</P2648>
<!-- # Codec Negotiation Priority. 0 - Caller, 1 - Callee. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P29361 > 1</P29361>
<!-- #Disable Multiple m line in SDP -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P687 > 0</P687>
<!-- # SRTP Mode -->
<!-- # 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
<!-- # Mandatory -->
{if isset($grandstream_srtp)}
<P643 > {$grandstream_srtp}</P643>
{else}
<P643 > 0</P643>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P2683 > 0</P2683>
<!-- #Crypto Life Time -->
<!-- #0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2663 > 0</P2663>
<!-- # Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P660 > 0</P660>
<!-- # Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P685 > 0</P685>
<!-- # Voice Frames per TX (up to 10/20/32/64 frames for G711/G726/G723/other codecs respectively). Default is 2 -->
<!-- # Number: 1 - 64 -->
<!-- # Mandatory -->
<P686 > 2</P686>
<!-- # G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P693 > 1</P693>
<!-- # G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2623 > 0</P2623>
<!-- # iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P695 > 1</P695>
<!-- # iLBC Payload Type. Default is 97 -->
<!-- # Number: 96 - 127 -->
<!-- # Mandatory -->
<P694 > 97</P694>
<!-- # Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P698 > 1</P698>
<!-- # 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 -->
<!-- # Mandatory -->
<P697 > 2</P697>
<!-- # Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P26347 > 0</P26347>
<!-- # DTMF Delay. Default is 250 -->
<!-- # Number: 100 - 250 -->
<!-- # Mandatory -->
<P26360 > 250</P26360>
<!-- ########################################## -->
<!-- # Account 4/Call Settings -->
<!-- ########################################## -->
<!-- # Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P622 > 0</P622>
<!-- # Dial Plan Prefix -->
<!-- # String -->
<P619 > </P619>
<!-- # Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- # String -->
<!-- # Mandatory -->
{if isset($grandstream_dial_plan) }
<P659 > {$grandstream_dial_plan}</P659>
{else}
2020-11-21 02:17:43 +01:00
<P659 > {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal}</P659>
2020-06-06 17:07:17 +02:00
{/if}
<!-- # Bypass Dial Plan -->
<!-- # String: contact,incoming,outgoing,dialing,mpk,api. Default is mpk -->
<P2682 > mpk</P2682>
<!-- # 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 -->
<!-- # Mandatory -->
<P642 > 0</P642>
<!-- # Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0 -->
<!-- # Number: 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
{if isset($grandstream_account_ring_tone_4)}
<P623 > {$grandstream_account_ring_tone_4}</P623>
{/if}
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
<!-- # String -->
<P1506 > </P1506>
<!-- # Matching Rule 1 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1507 > 0</P1507>
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
<!-- # String -->
<P1508 > </P1508>
<!-- # Matching Rule 2 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1509 > 0</P1509>
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
<!-- # String -->
<P1510 > </P1510>
<!-- # Matching Rule 3 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 0. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P1511 > 0</P1511>
<!-- # Matching Incoming Caller ID. Matching Rule 4 -->
<!-- # String -->
<P6734 > </P6734>
<!-- # Matching Rule 4 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6735 > 5</P6735>
<!-- # Matching Incoming Caller ID. Matching Rule 5 -->
<!-- # String -->
<P6736 > </P6736>
<!-- # Matching Rule 5 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6737 > 5</P6737>
<!-- # Matching Incoming Caller ID. Matching Rule 6 -->
<!-- # String -->
<P6738 > </P6738>
<!-- # Matching Rule 6 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P6739 > 5</P6739>
<!-- # Matching Incoming Caller ID. Matching Rule 7 -->
<!-- # String -->
<P26364 > </P26364>
<!-- # Matching Rule 7 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26365 > 5</P26365>
<!-- # Matching Incoming Caller ID. Matching Rule 8 -->
<!-- # String -->
<P26366 > </P26366>
<!-- # Matching Rule 8 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26367 > 5</P26367>
<!-- # Matching Incoming Caller ID. Matching Rule 9 -->
<!-- # String -->
<P26368 > </P26368>
<!-- # Matching Rule 9 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26369 > 5</P26369>
<!-- # Matching Incoming Caller ID. Matching Rule 10 -->
<!-- # String -->
<P26396 > </P26396>
<!-- # Matching Rule 10 Distinctive Ringtone -->
<!-- # - 1 - No Ringtone, 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3, 4 - silent, 5 - Default Ringtone. Default is 5. -->
<!-- # Number: - 1, 0, 1, 2, 3, 4, 5 -->
<!-- # Mandatory -->
<P26397 > 5</P26397>
<!-- # Ring Timeout (in seconds). Default is 60 -->
<!-- # Number: 30 - 3600 -->
<!-- # Mandatory -->
<P676 > 60</P676>
<!-- # Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P621 > 0</P621>
<!-- # Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P646 > 0</P646>
<!-- # Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P625 > 0</P625>
<!-- # Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P669 > 0</P669>
<!-- # Transfer on conference Hang - Up. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2604 > 0</P2604>
<!-- #Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2684 > 0</P2684>
<!-- # Blind Transfer Wait Timeout. Default is 30 -->
<!-- # Number: 30 - 300 -->
<!-- # Mandatory -->
<P26370 > 30</P26370>
<!-- # No Key Entry Timeout. Default is 4 -->
<!-- # Number: 1 - 15 -->
<!-- # Mandatory -->
<P691 > 4</P691>
<!-- # Use # As Dial Key. 0 - No, 1 - Yes -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P692 > 1</P692>
<!-- #On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26306 > 0</P26306>
<!-- # RFC2543 Hold. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26362 > 1</P26362>
<!-- # Hiding Dialing Password -->
<!-- # Prefix for dialing password -->
<!-- # String -->
<P26349 > </P26349>
<!-- # Password length. Default is 0 -->
<!-- # Number -->
<!-- # Mandatory -->
<P26350 > 0</P26350>
<!-- # Disable Call Waiting. 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P26363 > 0</P26363>
<!-- ############################################################### -->
<!-- # Account 4/Intercom Settings -->
<!-- ############################################################### -->
<!-- # Allow Auto Answer by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P638 > 0</P638>
<!-- # Allow Barging by Call - Info/Alert - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26319 > 0</P26319>
<!-- # Mute on answer Intercom call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26371 > 0</P26371>
<!-- # Play warning tone for Auto Answer Intercom. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- #Mandatory -->
<P620 > 0</P620>
<!-- #Do Not Disturb (DND) - On -->
<!-- # String -->
<P2644 > </P2644>
<!-- #Do Not Disturb (DND) - Off -->
<!-- # String -->
<P2645 > </P2645>
<!-- #Call Forward Unconditionally (All) - On -->
<!-- # String -->
<P26313 > </P26313>
<!-- #Call Forward Unconditionally (All) - Off -->
<!-- # String -->
<P26314 > </P26314>
<!-- #Call Forward Busy - On -->
<!-- # String -->
<P26309 > </P26309>
<!-- #Call Forward Busy - Off -->
<!-- # String -->
<P26310 > </P26310>
<!-- #Call Forward Delayed (No Answer) - On -->
<!-- #String -->
<P26311 > </P26311>
<!-- #Call Forward Delayed (No Answer) - Off -->
<!-- #String -->
<P26312 > </P26312>
<!-- #Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- #Number: 1 - 120 -->
<!-- #Mandatory -->
<P670 > </P670>
<!-- ################################################################### -->
<!-- ## 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 -->
<!-- # Mandatory -->
2021-05-10 20:24:28 +02:00
{if isset($grandstream_ipv_mode)}<P1415 > {$grandstream_ipv_mode}</P1415> {else}<P1415 > 0</P1415> {/if}
2020-06-06 17:07:17 +02:00
<!-- # IP Address Mode. 0 - DHCP, 1 - Static IP, 2 - PPPoE. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<!-- # P8 = 0 -->
<P8 > 0</P8>
<!-- ########################################## -->
<!-- # DHCP -->
<!-- ########################################## -->
<!-- # Host name, DHCP option 12. Max length allowed is 64 characters -->
<!-- # String -->
<P146 > phone-{$mac|replace:'-':''}</P146>
<!-- # Vendor Class ID, DHCP option 60. Max length allowed is 64 characters -->
<!-- # String -->
<P148 > GrandstreamGRP2614</P148>
<!-- ########################################## -->
<!-- # PPPoE -->
<!-- ########################################## -->
<!-- # PPPoE Account ID -->
<!-- # String -->
<P82 > </P82>
<!-- # PPPoE Password -->
<!-- # String -->
<!-- # Cannot contain ` or " -->
<P83 > </P83>
<!-- # PPPoE Service Name -->
<!-- # String -->
<P269 > </P269>
<!-- ########################################## -->
<!-- # Statically Configured -->
<!-- ########################################## -->
<!-- # IP Address. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
<P9 > 192</P9>
<!-- # Number: 0 - 255 -->
<P10 > 168</P10>
<!-- # Number: 0 - 255 -->
<P11 > 1</P11>
<!-- # Number: 0 - 255 -->
<P12 > 102</P12>
<!-- # Subnet mask. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
<P13 > 255</P13>
<!-- # Number: 0 - 255 -->
<P14 > 255</P14>
<!-- # Number: 0 - 255 -->
<P15 > 0</P15>
<!-- # Number: 0 - 255 -->
<P16 > 0</P16>
<!-- # Gateway. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
<P17 > 192</P17>
<!-- # Number: 0 - 255 -->
<P18 > 168</P18>
<!-- # Number: 0 - 255 -->
<P19 > 2</P19>
<!-- # Number: 0 - 255 -->
<P20 > 1</P20>
<!-- # DNS 1 Server. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
<P21 > 0</P21>
<!-- # Number: 0 - 255 -->
<P22 > 0</P22>
<!-- # Number: 0 - 255 -->
<P23 > 0</P23>
<!-- # Number: 0 - 255 -->
<P24 > 0</P24>
<!-- # DNS 2 Server. Ignore if DHCP or PPPoE is used -->
<!-- # Number: 0 - 255 -->
<P25 > 0</P25>
<!-- # Number: 0 - 255 -->
<P26 > 0</P26>
<!-- # Number: 0 - 255 -->
<P27 > 0</P27>
<!-- # Number: 0 - 255 -->
<P28 > 0</P28>
<!-- # Preferred DNS server. (if specified). -->
<!-- # Number: 0 - 255 -->
<P92 > 0</P92>
<!-- # Number: 0 - 255 -->
<P93 > 0</P93>
<!-- # Number: 0 - 255 -->
<P94 > 0</P94>
<!-- # Number: 0 - 255 -->
<P95 > 0</P95>
<!-- # IPv6 Address type. 0 - Auto Configured, 1 - Statically Configured. Default is 0. -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1419 > 0</P1419>
<!-- # IPv6 Address type: Statically configured. 0 - Full Static, 1 - Prefix Static -->
<!-- # Number: 0, 1 -->
<P1426 > 0</P1426>
<!-- # Full Static: Static IPv6 Address -->
<P1420 > </P1420>
<!-- # Full Static: IPv6 Prefix Length -->
<P1421 > </P1421>
<!-- # Prefix Static: IPv6 Prefix (64bits) -->
<P1422 > </P1422>
<!-- # DNS Server 1 for IPv6 Address -->
<!-- # String: a - z, A - Z, 0 - 9, ".", ":", "[", "]" -->
<P1424 > </P1424>
<!-- # DNS Server 2 for IPv6 Address -->
<!-- # String: a - z, A - Z, 0 - 9, ".", ":", "[", "]" -->
<P1425 > </P1425>
<!-- # Preferred DNS Server for IPv6 Address -->
<!-- # String: a - z, A - Z, 0 - 9, ".", ":", "[", "]" -->
<P1423 > </P1423>
<!-- ############################################################################## -->
<!-- ## Network/Advanced Settings ## -->
<!-- ############################################################################## -->
<!-- # 802.1X Mode. 0 - Disable, 1 - EAP - MD5. 2 - EAP - TLS, 3 - EAP - PEAPv0/MSCHAPv2. Default is 0 -->
<!-- # Number: 0, 1, 2, 3 -->
<!-- # Mandatory -->
<P7901 > 0</P7901>
<!-- # 802.1X Identity. Max length allowed is 64 characters -->
<!-- # String -->
<P7902 > </P7902>
<!-- # MD5 Password. Max length allowed is 64 characters -->
<!-- # String -->
<P7903 > </P7903>
<!-- # 802.1X CA Certificate -->
<!-- # String -->
<!-- # P8439 = -->
<!-- # 802.1X Client Certificate -->
<!-- # String -->
<!-- # P8440 = -->
<!-- # HTTP Proxy -->
<!-- # String -->
<P1552 > </P1552>
<!-- # HTTPS Proxy -->
<!-- # String -->
<P1553 > </P1553>
<!-- # Bypass Proxy For -->
<!-- # String -->
<P22011 > </P22011>
<!-- # Layer 3 QoS for SIP -->
<!-- # Number:0 - 63 -->
<!-- # Mandatory -->
<P1558 > 26 </P1558>
<!-- # Layer 3 QoS for RTP -->
<!-- # Number:0 - 63 -->
<!-- # Mandatory -->
<P1559 > 46 </P1559>
<!-- # Enable DHCP VLAN. 0 - Disable, 1 - Enable. Default is 0. -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P8300 > 1</P8300>
<!-- # Enable Manual VLAN Configuration. 0 - Disable, 1 - Enable. Default is 0. -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P22174 > 1</P22174>
<!-- # Layer 2 QoS. 802.1Q/VLAN Tag (VLAN classification for RTP). Default is 0 -->
<!-- # Number: 0 - 4094 -->
<!-- # Mandatory -->
{if isset($grandstream_lan_port_vlan) }
<P51 > {$grandstream_lan_port_vlan}</P51>
{else}
<P51 > 0</P51>
{/if}
<!-- # Layer 2 QoS. 802.1p priority value (0 - 7). Default is 0 -->
<!-- # Number: 0 - 7 -->
<!-- # Mandatory -->
<P87 > 0</P87>
<!-- # PC Port Mode. 0 - Enable, 1 - Disabled, 2 - Mirrored. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P1348 > 0</P1348>
<!-- # PC Port VLAN Tag. Default is 0 -->
<!-- # Number: 0 - 4094 -->
<!-- #Mandatory -->
{if isset($grandstream_pc_port_vlan) }
<P229 > {$grandstream_pc_port_vlan}</P229>
{else}
<P229 > 0</P229>
{/if}
<!-- # PC Port Priority Value. Default is 0 -->
<!-- # Number: 0 - 7 -->
<!-- # Mandatory -->
<P230 > 0</P230>
<!-- # Enable CDP. 0 - Disabled, 1 - Enabled. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P22119 > 1</P22119>
<!-- # Enable LLDP. 0 - Disabled, 1 - Enabled. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1684 > 1</P1684>
<!-- # LLDP TX Interval. Default is 30 -->
<!-- # Number: 1 - 3600 -->
<!-- # Mandatory -->
<P22122 > 30</P22122>
<!-- # Maximum Transmission Unit(MTU). Default is 1500 -->
<!-- # Number: 576 - 1500 -->
<!-- # Mandatory -->
<P244 > 1500</P244>
<!-- # Enable IEEE 802.3az EEE (Energy Efficient Ethernet). 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8499 > 0</P8499>
<!-- ############################################################################## -->
<!-- ## Network/Remote Control -->
<!-- ############################################################################## -->
<!-- # Action URI Support. 0 - Disabled, 1 - Enabled -->
<!-- # Number: 0, 1. Default is 1 -->
<!-- # Mandatory -->
<P32050 > 1</P32050>
<!-- # Remote Control Pop up Window Support. 0 - Disabled, 1 - Enabled -->
<!-- # Number: 0, 1. Default is 1 -->
<!-- # Mandatory -->
<P32051 > 1</P32051>
<!-- # Action URI Allowed IP List -->
<!-- # String -->
<P32052 > </P32052>
<!-- # CSTA Control. 0 - Disabled, 1 - Enabled -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P32053 > 0</P32053>
<!-- ############################################################################## -->
<!-- ## Network/Affinity Settings -->
<!-- ############################################################################## -->
<!-- # Affinity Support. 0 - Disabled, 1 - Enabled -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
{if isset($grandstream_bluetooth_power)}
<P2910 > {$grandstream_bluetooth_power}</P2910>
{/if}
<!-- # Handsfree Mode. Default is 0. -->
<!-- # Number: 0, 1. 0 - Off, 1 - On -->
<!-- # Mandatory -->
{if isset($grandstream_bluetooth_handsfree)}
<P2911 > {$grandstream_bluetooth_handsfree}</P2911>
{/if}
<!-- # Bluetooth Name. -->
<!-- # String -->
<!-- #P8364 = -->
<!-- ############################################################################## -->
<!-- ## Network/OpenVPN Settings ## -->
<!-- ############################################################################## -->
<!-- # OpenVPN Enable. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P7050 > 0</P7050>
<!-- # OpenVPN Server Address -->
<!-- # String -->
<P7051 > </P7051>
<!-- # OpenVPN Port. Default is 1194 -->
<!-- # Number -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
<P8396 > 0</P8396>
<!-- # OpenVPN Username -->
<!-- # String -->
<P8394 > </P8394>
<!-- # OpenVPN Password -->
<!-- # String -->
<P8395 > </P8395>
<!-- # Additional Options -->
<!-- # String -->
<P8460 > </P8460>
<!-- ############################################################################## -->
<!-- ## Network/SNMP Settings ## -->
<!-- ############################################################################## -->
<!-- # Enable SNMP. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P21896 > 0</P21896>
<!-- # Version. 1 - Version 1, 2 - Version 2, 3 - Version 3. Default is 3 -->
<!-- # Number: 1, 2, 3 -->
<!-- # Mandatory -->
<P21904 > 3</P21904>
<!-- # Port -->
<!-- # Number. Default is 161. -->
<!-- # Mandatory -->
<P21903 > 161</P21903>
<!-- # SNMP Trap IP -->
<!-- # String -->
<P21897 > </P21897>
<!-- # SNMP Trap Port -->
<!-- # Number: 1025 - 65535. Default is 162 -->
<P21898 > 162</P21898>
<!-- # SNMP Trap Interval -->
<!-- # Number: 1 - 1440. Default is 5 -->
<P21901 > 5</P21901>
<!-- # SNMP Trap Version -->
<!-- # Number: 1, 2. 1 - Version 1, 2 - Version 2, 3 - Version 3. Default is 1 -->
<P21899 > 1</P21899>
<!-- # Community -->
<!-- # String -->
<P21902 > </P21902>
<!-- # Snmp Trap Community -->
<!-- # String -->
<P21900 > </P21900>
<!-- # SNMP Username -->
<!-- # Strings -->
<P21905 > </P21905>
<!-- # Security Level -->
<!-- # Number: 0 - noAuthUser, 1 - authUser, 2 - privUser. Default is 0 -->
<!-- # Mandatory -->
<P21910 > 0</P21910>
<!-- # Authentication Protocol -->
<!-- # Number: 0 - None, 1 - MD5, 2 - SHA. Default is 0 -->
<!-- # Mandatory -->
<P21906 > 0</P21906>
<!-- # Privacy Portocol -->
<!-- # Number: 0 - None, 1 - DES, 2 - AES. Default is 0 -->
<!-- # Mandatory -->
<P21907 > 0</P21907>
<!-- # Authentication Key -->
<!-- # String -->
<P21908 > </P21908>
<!-- # Privacy Key -->
<!-- # String -->
<P21909 > </P21909>
<!-- # SNMP Trap Username -->
<!-- # String -->
<P21911 > </P21911>
<!-- # Trap Security Level -->
<!-- # Number: 0 - noAuthUser, 1 - authUser, 2 - privUser. Default is 0 -->
<!-- # Mandatory -->
<P21916 > 0</P21916>
<!-- # Trap Authentication Protocol -->
<!-- # Number: 0 - None, 1 - MD5, 2 - SHA. Default is 0 -->
<!-- # Mandatory -->
<P21912 > 0</P21912>
<!-- # Trap Privacy Protocol -->
<!-- # Number: 0 - None, 1 - DES, 2 - AES. Default is 0 -->
<!-- # Mandatory -->
<P21913 > 0</P21913>
<!-- # Trap Authentication Key -->
<!-- # String -->
<P21914 > </P21914>
<!-- # Trap Privacy Key -->
<!-- # String -->
<P21915 > </P21915>
<!-- ############################################################################## -->
<!-- ## Network/WiFi Settings ## -->
<!-- ############################################################################## -->
<!-- # Enable/Disable WiFi -->
<!-- # Number: 0 - No, 2 - Off & Hide Menu From LCD, 1 - Yes. Default is 0 -->
2020-09-21 19:18:06 +02:00
{if isset($grandstream_wifi_enable)}
2020-06-06 17:07:17 +02:00
<P7800 > {$grandstream_wifi_enable}</P7800>
{/if}
<!-- Access Point 1 -->
<!-- SSID -->
<!-- String -->
{if isset($grandstream_wifi_ssid_1)}
<P8403 > {$grandstream_wifi_ssid_1}</P8403>
{/if}
<!-- Access Point 1 -->
<!-- Password -->
<!-- String -->
{if isset($grandstream_wifi_password_1)}
<P8404 > {$grandstream_wifi_password_1}</P8404>
{/if}
<!-- Access Point 1 -->
<!-- Security Type -->
<!-- Number: 0 - None, 1 - WEP, 4 - WPA/WPA2 PSK, 5 - WPA/WPA2 EAP, 8 - Auto. Default is 4 -->
{if isset($grandstream_wifi_security_1)}
<P8405 > {$grandstream_wifi_security_1}</P8405>
{/if}
<!-- Access Point 1 -->
<!-- EAP Method -->
<!-- Number: 0 - None, 25 - PEAP, 13 - TLS, 21 - TTLS, 52 - PWD, 18 - SIM, 23 - AKA, 50 - AKA'. Default is 0 -->
{if isset($grandstream_wifi_eap_method_1)}
<P22020 > {$grandstream_wifi_eap_method_1}</P22020>
{/if}
<!-- Access Point 1 -->
<!-- EAP Identity -->
<!-- String -->
{if isset($grandstream_wifi_eap_identity_1)}
<P22021 > {$grandstream_wifi_eap_identity_1}</P22021>
{/if}
<!-- Access Point 1 -->
<!-- EAP Password -->
<!-- String -->
{if isset($grandstream_wifi_eap_password_1)}
<P22022 > {$grandstream_wifi_eap_password_1}</P22022>
{/if}
<!-- Access Point 10 -->
<!-- SSID -->
<!-- String -->
{if isset($grandstream_wifi_ssid_10)}
<P8430 > {$grandstream_wifi_ssid_10}</P8430>
{/if}
<!-- Access Point 10 -->
<!-- Password -->
<!-- String -->
{if isset($grandstream_wifi_password_10)}
<P8431 > {$grandstream_wifi_password_10}</P8431>
{/if}
<!-- Access Point 10 -->
<!-- Security Type -->
<!-- Number: 0 - None, 1 - WEP, 4 - WPA/WPA2 PSK, 5 - WPA/WPA2 EAP, 8 - Auto. Default is 4 -->
{if isset($grandstream_wifi_security_10)}
<P8432 > {$grandstream_wifi_security_10}</P8432>
{/if}
<!-- Access Point 10 -->
<!-- EAP Method -->
<!-- Number: 0 - None, 25 - PEAP, 13 - TLS, 21 - TTLS, 52 - PWD, 18 - SIM, 23 - AKA, 50 - AKA'. Default is 0 -->
{if isset($grandstream_wifi_eap_method_10)}
<P22159 > {$grandstream_wifi_eap_method_10}</P22159>
{/if}
<!-- Access Point 10 -->
<!-- EAP Identity -->
<!-- String -->
{if isset($grandstream_wifi_eap_identity_10)}
<P22160 > {$grandstream_wifi_eap_identity_10}</P22160>
{/if}
<!-- Access Point 10 -->
<!-- EAP Password -->
<!-- String -->
{if isset($grandstream_wifi_eap_password_10)}
<P22161 > {$grandstream_wifi_eap_password_10}</P22161>
{/if}
<!-- ############################################################################## -->
<!-- ## Maintenance/ Web Access ## -->
<!-- ############################################################################## -->
<!-- # End User Password -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<P196 > {$user_password}</P196>
<!-- # Admin password for web interface -->
<!-- # String: a - z, A - Z, 0 - 9 -->
{if isset($admin_password)}
<P2 > {$admin_password}</P2>
{else}
<P2 > {$mac|replace:'-':''}</P2>
{/if}
<!-- ############################################################################## -->
<!-- ## Maintenance/Upgrade and Provisioning -->
<!-- ############################################################################## -->
<!-- # 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 -->
<!-- # Mandatory -->
<P238 > 0</P238>
<!-- # Always Authenticate Before Challenge. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P20713 > 0</P20713>
<!-- # Allow DHCP Option 43 and Option 66 to override server. 0 - No, 1 - Yes, 2 - Prefer, fallback when failed. Default is 1 -->
<!-- # When set to Yes(1), it will override the configured provision path and method -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
2020-12-11 23:18:21 +01:00
{if isset($grandstream_dhcp_option_override)}<P145 > {$grandstream_dhcp_option_override}</P145> {else}<P145 > 1</P145> {/if}
2020-06-06 17:07:17 +02:00
<!-- # Additional Override DHCP Option. 0 - None, 1 - Option 150, 2 - Option 160. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
2020-12-11 23:18:21 +01:00
{if isset($grandstream_dhcp_option_additional_override)}<P8337 > {$grandstream_dhcp_option_additional_override}</P8337> {else}<P8337 > 0</P8337> {/if}
2020-06-06 17:07:17 +02:00
<!-- # Allow DHCP Option 120 to Override SIP Server -->
<!-- # 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2020-12-11 23:18:21 +01:00
{if isset($grandstream_dhcp_option_override_sip_server)}<P1411 > {$grandstream_dhcp_option_override_sip_server}</P1411> {else}<P1411 > 0</P1411> {/if}
2020-06-06 17:07:17 +02:00
<!-- # 3CX Auto Provision. 0 - No, 1 - Yes. Default is Yes -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1414 > 0</P1414>
<!-- # 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 -->
<!-- # Mandatory -->
<P194 > 0</P194>
<!-- # Check for new firmware every () minutes. Default is 7 days. -->
<!-- # Number: 60 - 86400 -->
<!-- # Mandatory -->
<P193 > 10080</P193>
<!-- # Radomized Automitic Upgrade. 0 - No, 1 - Yes. Default is No -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8458 > 1</P8458>
<!-- # Hour of the Day ~~ Start (0 - 23). Default is 1 -->
<!-- # Number: 0 - 23 -->
<P285 > 0</P285>
<!-- # Hour of the Day ~~ End ( - 1, 0 - 23). Default is 0 -->
<!-- # Number: - 1, 0 - 23 -->
<P8459 > 0</P8459>
<!-- # Day of the Week (0 - 6). Default is 1 -->
<!-- # Number: 0 - 6 -->
<P286 > 0</P286>
<!-- # Disable SIP NOTIFY Authentication. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P4428 > 0</P4428>
<!-- # Firmware Upgrade Confirmation. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P8375 > 0</P8375>
<!-- #Config -->
<!-- # Config Via. 0 - TFTP, 1 - HTTP, 2 - HTTPS, 3 - FTP, 4 - FTPS. Default is 1. Default is 2 -->
<!-- # Number: 0, 1, 2, 3, 4 -->
<!-- # Mandatory -->
<P212 > 2</P212>
<!-- # Config Server Path -->
<!-- # String -->
{if $grandstream_config_server_path=="none"}
<P237 > </P237>
{elseif isset($grandstream_config_server_path)}
<P237 > {$grandstream_config_server_path}</P237>
2020-10-18 19:34:52 +02:00
{elseif isset($domain_name)}
2020-06-06 17:07:17 +02:00
<P237 > {$domain_name}{$project_path}/app/provision</P237>
{/if}
<!-- # Config HTTP/HTTPS User Name -->
<!-- # String -->
<P1360 > {$http_auth_username}</P1360>
<!-- # Config HTTP/HTTPS Password -->
<!-- # String -->
<P1361 > {$http_auth_password}</P1361>
<!-- # Config File Prefix -->
<!-- # String -->
<P234 > </P234>
<!-- # Config File Postfix -->
<!-- # String -->
<P235 > </P235>
<!-- # XML Config File Password -->
<!-- # String -->
<P1359 > </P1359>
<!-- # Authenticate Conf File. 0 - No, 1 - Yes. Default is No -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P240 > 0</P240>
<!-- # User Protection. 0 - Off, 1 - On. Default is Off -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P9996 > 0</P9996>
<!-- # Download and Process ALL Available Config Files. 0 - No, 1 - Yes. Default is No -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8467 > 0</P8467>
<!-- # Firmware -->
<!-- # Firmware Upgrade Via. 0 - TFTP, 1 - HTTP, 2 - HTTPS, 3 - FTP, 4 - FTPS. Default is 1. -->
<!-- # Number: 0, 1, 2, 3, 4 -->
<!-- # Mandatory -->
<P6767 > 1</P6767>
<!-- # Firmware Server Path -->
<!-- # String -->
{if isset($grandstream_firmware_path) & & isset($firmware_version)}
<P192 > {$grandstream_firmware_path}/{$firmware_version}</P192>
{elseif isset($grandstream_firmware_path)}
<P192 > {$grandstream_firmware_path}</P192>
{else}
<P192 > {$domain_name}{$project_path}/app/provision/resources/firmware/</P192>
{/if}
<!-- # Firmware HTTP/HTTPS User Name -->
<!-- # String -->
<P6768 > </P6768>
<!-- # Firmware HTTP/HTTPS Password -->
<!-- # String -->
<P6769 > </P6769>
<!-- # Firmware File Prefix -->
<!-- # String -->
<P232 > </P232>
<!-- # Firmware File Postfix -->
<!-- # String -->
<P233 > </P233>
<!-- ############################################################################## -->
<!-- ## Maintenance/Syslog -->
<!-- ############################################################################## -->
<!-- # Syslog Protocol. 0 - UDP, 1 - SSL/TLS. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
{if isset($grandstream_syslog_level)}
<P208 > {$grandstream_syslog_level}</P208>
{else}
<P208 > 0</P208>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_send_sip_log)}
<P1387 > {$grandstream_send_sip_log}</P1387>
{else}
<P1387 > 0</P1387>
{/if}
<!-- # Show Internet Down Message. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8370 > 0</P8370>
<!-- # Auto recover from abnormal. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1438 > 1</P1438>
<!-- ############################################################################## -->
<!-- ## Maintenance/Language -->
<!-- ############################################################################## -->
<!-- # Display Language. Default is Auto -->
<!-- # ar - Arabic, cz - Czech, de - Deutsh -->
<!-- # 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 -->
<!-- # Mandatory -->
<P1362 > Auto</P1362>
<!-- # Default Input Selection. Default is Multi - Tap. -->
<!-- # 0 - Multi - Tap, 1 - Shiftable -->
<P2920 > 0</P2920>
<!-- # Auto language download. 1 - Yes, 0 - No. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2961 > 0</P2961>
<!-- ############################################################################## -->
<!-- ## Maintenance/TR - 069 -->
<!-- ############################################################################## -->
<!-- # ACS URL -->
<!-- # String -->
<!-- # P4503 = -->
<P4503 > https://acs.gdms.cloud</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 -->
<!-- # Mandatory -->
<P4506 > 0</P4506>
<!-- # Periodic Inform Interval. Default is 86400. -->
<!-- # Number -->
<P4507 > 86400</P4507>
<!-- # Connection Request Username -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<P4511 > {$mac|replace:'-':''}</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>
<!-- # Randomized TR069 Startup. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8487 > 0</P8487>
<!-- ############################################################################## -->
<!-- ## 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 -->
<!-- # Mandatory -->
<P1357 > 2</P1357>
<!-- # Validate Server Certificates. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8463 > 0</P8463>
<!-- # SIP TLS Certificate -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<!-- #P280 = -->
<!-- # SIP TLS Private Key -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<!-- #P279 = -->
<!-- # SIP TLS Private Key Password -->
<!-- # String: a - z, A - Z, 0 - 9 -->
<P281 > </P281>
<!-- # Web Access Mode. 0 - HTTPS, 1 - HTTP, 2 - Disabled, 3 - Both HTTP and HTTPS. Default is 1 -->
<!-- # Number: 0, 1, 2, 3 -->
<!-- # Mandatory -->
<P1650 > 0</P1650>
<!-- # Enable User Web Access. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8469 > 1</P8469>
<!-- # HTTP Web Port. Default is 80 -->
<!-- # Number -->
<!-- # Mandatory -->
<P22120 > 80</P22120>
<!-- # HTTPS Web Port. Default is 443 -->
<!-- # Number -->
<!-- # Mandatory -->
<P22121 > 443</P22121>
<!-- # Disable SSH. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<P276 > 1</P276>
<!-- # Web/Keypad/Restrict mode Lockout Duration (0 - 60 minutes). Default is 5 -->
<!-- # Number: 0 - 60 -->
<P1683 > 5</P1683>
<!-- # Web Session Timeout(in minutes) -->
<!-- # Number: 2 - 60. Default is 10 -->
<P28116 > 20</P28116>
<!-- # Web Session Attempt Limit -->
<!-- # Number: 1 - 10. Default is 5 -->
<P28117 > 3</P28117>
<!-- ############################################################################## -->
<!-- ## 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 -->
<!-- # Mandatory -->
<P1382 > 0</P1382>
<!-- # Keypad Lock Type. 0 - All Keys, 1 - Functional Keys. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8383 > 0</P8383>
<!-- # Password to Lock/Unlock -->
<!-- # String -->
<P1383 > </P1383>
<!-- # Keypad Lock Timer. Default is 0 -->
<!-- # Number -->
<!-- # Mandatory -->
<P8384 > 0</P8384>
<!-- # Emergency -->
<!-- # String -->
<P8385 > </P8385>
<!-- ############################################################################## -->
<!-- ## Maintenance/Packet Capture ## -->
<!-- ############################################################################## -->
<!-- # With RTP Packets. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P6007 > 0</P6007>
<!-- ############################################################################## -->
<!-- ## 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 -->
<!-- # Mandatory -->
<P330 > {$grandstream_phonebook_download}</P330>
<!-- # HTTP/HTTPS User Name -->
<!-- # String -->
<P6713 > {$http_auth_username}</P6713>
<!-- # HTTP/HTTPS Password -->
<!-- # String -->
<P6714 > {$http_auth_password}</P6714>
<!-- # 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 -->
{if isset($grandstream_phonebook_download)}
<P331 > {$grandstream_phonebook_xml_server_path}{$mac}/</P331>
{elseif isset($grandstream_phonebook_xml_server_path)}
<P331 > {$grandstream_phonebook_xml_server_path}</P331>
{else}
<P331 > </P331>
{/if}
<!-- # 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>
{else}
<P332 > 0</P332>
{/if}
<!-- # Remove Manually - edited entries on Download. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P333 > 0</P333>
<!-- # Import Group Method. 0 - Replace, 1 - Append. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8462 > 0</P8462>
<!-- # Sort Phonebook by. 0 - Last Name, 1 - First Name. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2914 > 0</P2914>
<!-- # Phonebook Key Function. 0 - Default, 1 - LDAP Search, 2 - Local Phonebook, 3 - Local Group, 4 - Broadsoft Phonebook -->
<!-- # Number: 0, 1, 2, 3, 4. -->
<!-- # Mandatory -->
{if isset($contact_groups) || isset($contact_users) || isset($contact_extensions)}
<P1526 > 2</P1526>
{else}
<P1526 > 0</P1526>
{/if}
<!-- # Default search mode. 0 - Quick match, 1 - Exact match. Default is 0 -->
<!-- # Number: 0, 1. -->
<!-- # Mandatory -->
<P2970 > 0</P2970>
<!-- ############################################################################## -->
<!-- ## Phonebook/LDAP -->
<!-- ############################################################################## -->
<!-- # LDAP protocol. 0 - LDAP, 1 - LDAPS -->
<!-- # Number: 0,1 -->
<!-- # Mandatory -->
<P8037 > 0</P8037>
<!-- # LDAP Server Address, up to 256 characters can be used. It can be IP address or Domain name -->
<!-- # String -->
<P8020 > {$grandstream_ldap_server}</P8020>
<!-- # LDAP Server Port. Default is 389. -->
<!-- # Number: 1 - 65535 -->
<P8021 > 389</P8021>
<!-- # 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 -->
<!-- # Mandatory -->
<P8027 > 3</P8027>
<!-- # 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>
<!-- # 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>
<!-- # LDAP Display Name. The entry information to be shown on phone LCD. Grandstream phones will display up to 3 fields -->
<!-- # String -->
<P8030 > {$grandstream_ldap_display_name}</P8030>
<!-- # 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 -->
<!-- # Mandatory -->
<P8031 > 50</P8031>
<!-- # 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 -->
<!-- # Mandatory -->
<P8032 > 30</P8032>
<!-- # Sort Results. This setting is used for sorting searching result. Default is 0 -->
<!-- # Number: 0, 1. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Mandatory -->
<P8033 > 0</P8033>
<!-- # LDAP Lookup -->
<!-- # Incoming calls. 0 - No, 1 - Yes. Default is 0 -->
<P8035 > 0</P8035>
<!-- # Outgoing calls. 0 - No, 1 - Yes. Default is 0 -->
<P8034 > 0</P8034>
<!-- # Lookup Display Name -->
<!-- # String -->
<P8036 > givenName sn title</P8036>
<!-- # Exact Match Search. . 0 - No, 1 - Yes. Default is 0 -->
<!-- # Mandatory -->
<P8505 > 0</P8505>
<!-- ############################################################################## -->
<!-- ## Settings/General Settings -->
<!-- ############################################################################## -->
<!-- # Local RTP port. Default is 5004 -->
<!-- # Number: 1024 - 65400. Must be even number -->
<!-- # Mandatory -->
<P39 > 5004</P39>
<!-- # Local RTP port range. Default is 200 -->
<!-- # Number: 48 - 10000 -->
<!-- # Mandatory -->
<P29610 > 200</P29610>
<!-- # Use Random Port. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P78 > 1</P78>
<!-- # Keep - Alive Interval (in seconds). Default is 20 -->
<!-- # Number: 10 - 160 -->
<!-- # Mandatory -->
<P84 > 20</P84>
<!-- # Use NAT IP. This will enable our SIP client to use this IP in the SIP/SDP message. Example 64.3.153.50 -->
<!-- # String: a - z, A - Z, 0 - 9, ".", ":" -->
<P101 > </P101>
<!-- # STUN server -->
<!-- # String -->
<P76 > </P76>
<!-- # Public Mode. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($public_mode) }
{if $public_mode|strtolower == 'true'}
<P1345 > 1</P1345>
{elseif $public_mode|strtolower == 'yes'}
<P1345 > 1</P1345>
{elseif $public_mode == '1'}
<P1345 > 1</P1345>
{else}
<P1345 > 0</P1345>
{/if}
{else}
<P1345 > 0</P1345>
{/if}
<!-- # Enable Fix For RTP Timestamp Jump. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8389 > 0</P8389>
<!-- # Public Mode Username Prefix -->
<!-- # String -->
<P8470 > </P8470>
<!-- # Public Mode Username Suffix -->
<!-- # String -->
<P8471 > </P8471>
<!-- # Delay Registration. Default is 0. -->
<!-- # Number: 0 - 90 -->
<!-- # Mandatory -->
<P8359 > 0</P8359>
<!-- # Test Password Strength. Default is 0. -->
<!-- # Number: 0, 1. 0 - No, 1 - Yes. -->
<P8468 > 0</P8468>
<!-- ############################################################################## -->
<!-- ## 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 4320. If set to 0, automatic download will be disabled. Valid range is 5 to 4320. -->
<!-- # Number: 5 - 720 -->
<!-- # Mandatory -->
<P8362 > 4320</P8362>
<!-- # Broadsoft Contacts Download Limitation -->
<!-- # Number: 0 - 2000. Default is 100 -->
<P8464 > 100</P8464>
<!-- # Broadsoft Contacts Search Limitation -->
<!-- # Number: 0 - 2000. Default is 100 -->
<P8465 > 100</P8465>
<!-- # 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. -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
<P22131 > 0</P22131>
<!-- ###################################################################################### -->
<!-- # Network Directories -->
<!-- ###################################################################################### -->
<!-- ### Group Directory ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P2971 > 0</P2971>
<!-- # Name. -->
<!-- # String -->
<P2972 > </P2972>
<!-- ### Enterprise Directory ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P2973 > 0</P2973>
<!-- # Name. -->
<!-- # String -->
<P2974 > </P2974>
<!-- ### Group Common ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P2975 > 0</P2975>
<!-- # Name. -->
<!-- # String -->
<P2976 > </P2976>
<!-- ### Enterprise Common ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P2977 > 0</P2977>
<!-- # Name. -->
<!-- # String -->
<P2978 > </P2978>
<!-- ### Personal Directory ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P2979 > 0</P2979>
<!-- # Name. -->
<!-- # String -->
<P2980 > </P2980>
<!-- ### Missed Call Log ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P2981 > 0</P2981>
<!-- # Name. -->
<!-- # String -->
<P2982 > </P2982>
<!-- ### Placed Call Log ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P2983 > 0</P2983>
<!-- # Name. -->
<!-- # String -->
<P2984 > </P2984>
<!-- ### Received Call Log ### -->
<!-- # Disabled/Enabled. 0 - Disabled, 1 - Enabled. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
<P2985 > 0</P2985>
<!-- # Name. -->
<!-- # String -->
<P2986 > </P2986>
<!-- ############################################################################## -->
<!-- ## Phonebook/Broadsoft Instant Message and Presence -->
<!-- ############################################################################## -->
<!-- # Login Credentials -->
<!-- # Server. -->
<!-- # String -->
<P6006 > </P6006>
<!-- # Port. -->
<!-- # Number. Default is 5222 -->
<P6005 > 5222</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 -->
<!-- # Mandatory -->
<P2964 > 0</P2964>
<!-- # Associated Broadsoft Account. Default is 0. -->
<!-- # Number: 0 - 5 : Account 1 - Account 6 -->
<!-- # Mandatory -->
<P2965 > 0</P2965>
<!-- # Auto Login. Default is 0. -->
<!-- # 0 - No, 1 - Yes -->
<!-- # Mandatory -->
<P2968 > 0</P2968>
<!-- # Display Non XMPP Contacts. Default is 0. -->
<!-- # 0 - No, 1 - Yes -->
<!-- # Mandatory -->
<P2969 > 0</P2969>
<!-- ############################################################################## -->
<!-- ## 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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<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, 4 - Account 5, 5 - Account 6. -->
<!-- # Number: 0, 1, 2, 3, 4, 5. Default is 0. -->
<!-- # Mandatory -->
<P29612 > 0</P29612>
<!-- # Predictive Dialing Feature. 0 - Disabled, 1 - Enabled. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P22126 > 1</P22126>
<!-- # Predictive Dialing Source -->
<!-- # String: CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode -->
<P8442 > CallHistory,LocalPhonebook,RemotePhonebook,FeatureCode</P8442>
<!-- # Onhook Dial Barging. 0 - Disabled, 1 - Enabled. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
<P1485 > 30</P1485>
<!-- # Enable Live DialPad. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8350 > 0</P8350>
<!-- # Live DialPad Expire Time. Default is 5 -->
<!-- # Number: 2 - 15. -->
<!-- # Mandatory -->
<P8351 > 5</P8351>
<!-- # Enable Automatic Redial. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8353 > 0</P8353>
<!-- # Automatic Redial Times. Default is 10 -->
<!-- # Number -->
<!-- # Mandatory -->
<P8354 > 10</P8354>
<!-- # Automatic Redial Interval. Default is 20 -->
<!-- # Number -->
<!-- # Mandatory -->
<P8355 > 20</P8355>
<!-- # Bypass Dial Plan Through Call History and Directories. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P6758 > 0</P6758>
<!-- # Disable Call Waiting. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($grandstream_call_waiting)}
{if $grandstream_call_waiting == "0"} <P91 > 0</P91> {/if}
{if $grandstream_call_waiting == "1"} <P91 > 0</P91> {/if}
{if $grandstream_call_waiting == "2"} <P91 > 1</P91> {/if}
{/if}
<!-- # Disable Call Waiting Tone. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($grandstream_call_waiting)}
{if $grandstream_call_waiting == "0"} <P186 > 0</P186> {/if}
{if $grandstream_call_waiting == "1"} <P186 > 1</P186> {/if}
{if $grandstream_call_waiting == "2"} <P186 > 0</P186> {/if}
{/if}
<!-- # Ring for Call Waiting. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($grandstream_call_waiting_ring)}
{if $grandstream_call_waiting_ring == "0"} <P22102 > 0</P22102> {/if}
{if $grandstream_call_waiting_ring == "1"} <P22102 > 1</P22102> {/if}
{else}
2021-03-15 20:46:12 +01:00
<P22102 > 1</P22102>
2020-06-06 17:07:17 +02:00
{/if}
<!-- # Disable Busy Tone on Remote Disconnect. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P6762 > 0</P6762>
<!-- # Disable Direct IP Call. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1310 > 1</P1310>
<!-- # Use Quick IP call mode. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P184 > 0</P184>
<!-- # Disable Conference. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1311 > 0</P1311>
<!-- # Only Same Account in Conference. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8506 > 0</P8506>
<!-- # Disable in - call DTMF display. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P338 > 0</P338>
<!-- # Enable Sending DTMF via specific MPKs. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1339 > 0</P1339>
<!-- # Disable Active MPK Page. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P6764 > 1</P6764>
<!-- # Enable Active VPK Page. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P22134 > 0</P22134>
<!-- # Enable DND Feature. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2020-08-31 22:59:37 +02:00
{if isset($dnd)}
<P8446 > {$dnd}</P8446>
{else}
2020-06-06 17:07:17 +02:00
<P8446 > 1</P8446>
2020-08-31 22:59:37 +02:00
{/if}
2020-06-06 17:07:17 +02:00
<!-- # Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
<!-- # Number: 0,1,2 -->
<!-- # Mandatory -->
<P1565 > 2</P1565>
<!-- # DND Override. 0 - Off, 1 - Allow All, 2 - Allow Only Contacts, 3 - Allow Only Favourites. Default is 0 -->
<!-- # Number: 0,1,2,3 -->
<!-- # Mandatory -->
<P8372 > 0</P8372>
<!-- # Disable Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
{if isset($grandstream_auto_attended_transfer)}
<P1376 > {$grandstream_auto_attended_transfer}</P1376>
{else}
<P1376 > 1</P1376>
{/if}
<!-- # Show On Hold Duration. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8503 > 1</P8503>
<!-- # Do not Escape '#' as 23% in SIP URL. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1406 > 0</P1406>
<!-- # Click - To - Dial Feature. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1561 > 0</P1561>
<!-- # Default call log type. 0 - Default, 1 - Broadsoft Call Log, 2 - Local Call Log. -->
<!-- # Number: 0,1,2. Default is 0. -->
<!-- # Mandatory -->
<P6765 > 0</P6765>
<!-- # 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). -->
<!-- # Mandatory -->
<P8360 > 0</P8360>
<!-- # 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). -->
<!-- # Mandatory -->
<P8361 > 0</P8361>
<!-- # Enable BLF Pickup Screen. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P9905 > 0</P9905>
<!-- # Enable BLF Pickup Sound. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P9906 > 0</P9906>
<!-- # Enable BLF Pickup Sound List. 0 - Except List, 1 - Only List. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P9907 > 0</P9907>
<!-- # BLF Pickup Sound Except List. -->
<!-- # String -->
<P9908 > </P9908>
<!-- # BLF Pickup Sound Only List. -->
<!-- # String -->
<P9909 > </P9909>
<!-- # Local Call Recording Feature. 0 - Disable, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P6760 > 1</P6760>
<!-- # Enable IM Popup Timeout. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8474 > 1</P8474>
<!-- # Instant Message Popup Timeout -->
<!-- # Number: 10 - 900 -->
<!-- # Mandatory -->
<P26055 > 10</P26055>
<!-- # Play Tone On Receiving IM. 0 - Disable, 1 - Enable. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P26056 > 0</P26056>
<!-- # Allow Incoming Call Before Ringing. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P29609 > 0</P29609>
<!-- # User - Agent Prefix -->
<!-- # String -->
<P8358 > </P8358>
<!-- # Auto Provision List Starting Point. 0 - Extension Boards, 1 - VPK, 2 - MPK. -->
<!-- # Mandatory -->
<!-- #P8349 = 0 -->
<P8349 > 0</P8349>
<!-- # Hide BLF Remote Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2021-03-02 22:29:16 +01:00
<P8374 > {$grandstream_blf_remote_status}</P8374>
2020-06-06 17:07:17 +02:00
<!-- # Show SIP Error Response. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8376 > 1</P8376>
<!-- # Enable Missed Call Notification. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8393 > 0</P8393>
<!-- # Enable Call Completion Service. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8391 > 0</P8391>
<!-- # Enable Incoming Call Popup. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8401 > 1</P8401>
<!-- # Enable Enhanced Acoustic Echo Canceller. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P22175 > 1</P22175>
<!-- # Enable diversion information display. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P22237 > 1</P22237>
<!-- ############################################################################## -->
<!-- ## Settings/Call History -->
<!-- ############################################################################## -->
<!-- ############################################################################## -->
<!-- ## Settings/Multicast Paging -->
<!-- ############################################################################## -->
<!-- # Allowed in DND Mode. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 -->
<!-- # Mandatory -->
<P1566 > 0</P1566>
<!-- # Paging Priority Active. 0 - Disabled, 1 - Enabled -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1567 > 0</P1567>
<!-- # 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. -->
<!-- # Mandatory -->
<P1568 > 0</P1568>
<!-- # Multicase Channel Number -->
<!-- # Number: 0 - 50 (0 for normal RTP packets, 1 - 50 for Polycom multicast format packets). Default is 0 -->
<P8454 > 0</P8454>
<!-- # Multicast Sender ID -->
<!-- # Strings -->
<P8455 > {$account.1.display_name}</P8455>
<!-- ### Multicast Listening ### -->
<!-- # Priority 1 -->
<!-- # Listening Address -->
<!-- # String -->
<P1569 > 224.0.1.117:5003</P1569>
<!-- # Label -->
<!-- # String -->
<P1570 > Page</P1570>
<!-- # Priority 2 -->
<!-- # Listening Address -->
<!-- # String -->
<P1571 > </P1571>
<!-- # Label -->
<!-- # String -->
<P1572 > </P1572>
<!-- # Priority 3 -->
<!-- # Listening Address -->
<!-- # String -->
<P1573 > </P1573>
<!-- # Label -->
<!-- # String -->
<P1574 > </P1574>
<!-- # Priority 4 -->
<!-- # Listening Address -->
<!-- # String -->
<P1575 > </P1575>
<!-- # Label -->
<!-- # String -->
<P1576 > </P1576>
<!-- # Priority 5 -->
<!-- # Listening Address -->
<!-- # String -->
<P1577 > </P1577>
<!-- # Label -->
<!-- # String -->
<P1578 > </P1578>
<!-- # Priority 6 -->
<!-- # Listening Address -->
<!-- # String -->
<P1579 > </P1579>
<!-- # Label -->
<!-- # String -->
<P1580 > </P1580>
<!-- # Priority 7 -->
<!-- # Listening Address -->
<!-- # String -->
<P1581 > </P1581>
<!-- # Label -->
<!-- # String -->
<P1582 > </P1582>
<!-- # Priority 8 -->
<!-- # Listening Address -->
<!-- # String -->
<P1583 > </P1583>
<!-- # Label -->
<!-- # String -->
<P1584 > </P1584>
<!-- # Priority 9 -->
<!-- # Listening Address -->
<!-- # String -->
<P1585 > </P1585>
<!-- # Label -->
<!-- # String -->
<P1586 > </P1586>
<!-- # Priority 10 -->
<!-- # Listening Address -->
<!-- # String -->
<P1587 > </P1587>
<!-- # Label -->
<!-- # String -->
<P1588 > </P1588>
<!-- ############################################################################## -->
<!-- ## Settings/Outbound Notification -->
<!-- ############################################################################## -->
<!-- ###################################################################################### -->
<!-- # Action URL -->
<!-- ###################################################################################### -->
<!-- # Setup Completed. -->
<!-- # String -->
<P8304 > </P8304>
<!-- # Registered. -->
<!-- # String -->
<P8305 > </P8305>
<!-- # Unregistered. -->
<!-- # String -->
<P8306 > </P8306>
<!-- # Register Failed. -->
<!-- # String -->
<P8307 > </P8307>
<!-- # Off Hook. -->
<!-- # String -->
<P8308 > </P8308>
<!-- # On Hook. -->
<!-- # String -->
<P8309 > </P8309>
<!-- # Incoming Call. -->
<!-- # String -->
<P8310 > </P8310>
<!-- # Outgoing Call -->
<!-- # String -->
<P8311 > </P8311>
<!-- # Missed Call -->
<!-- # String -->
<P8312 > </P8312>
<!-- # Answered Call -->
<!-- # String -->
<P22171 > </P22171>
<!-- # Rejected Call -->
<!-- # String -->
<P8315 > </P8315>
<!-- # Forwarded Call -->
<!-- # String -->
<P22172 > </P22172>
<!-- # Established Call -->
<!-- # String -->
<P8313 > </P8313>
<!-- # Terminated Call -->
<!-- # String -->
<P8314 > </P8314>
<!-- # Idle to Busy -->
<!-- # String -->
<P8328 > </P8328>
<!-- # Busy to Idle -->
<!-- # String -->
<P8329 > </P8329>
<!-- # Open DND -->
<!-- # String -->
<P8316 > </P8316>
<!-- # Close DND -->
<!-- # String -->
<P8317 > </P8317>
<!-- # Open Forward -->
<!-- # String -->
<P8318 > </P8318>
<!-- # Close Forward -->
<!-- # String -->
<P8319 > </P8319>
<!-- # Open Unconditional Forward -->
<!-- # String -->
<P22164 > </P22164>
<!-- # Close Unconditional Forward -->
<!-- # String -->
<P22165 > </P22165>
<!-- # Open Busy Forward -->
<!-- # String -->
<P22166 > </P22166>
<!-- # Close Busy Forward -->
<!-- # String -->
<P22167 > </P22167>
<!-- # Open No Answer Forward -->
<!-- # String -->
<P22168 > </P22168>
<!-- # Close No Answer Forward -->
<!-- # String -->
<P22169 > </P22169>
<!-- # Blind Transfer -->
<!-- # String -->
<P8320 > </P8320>
<!-- # Attended Transfer -->
<!-- # String -->
<P8321 > </P8321>
<!-- # Transfer Finished -->
<!-- # String -->
<P8322 > </P8322>
<!-- # Transfer Failed -->
<!-- # String -->
<P8323 > </P8323>
<!-- # Hold Call -->
<!-- # String -->
<P8324 > </P8324>
<!-- # UnHold Call -->
<!-- # String -->
<P8325 > </P8325>
<!-- # Mute Call -->
<!-- # String -->
<P8326 > </P8326>
<!-- # UnMute Call -->
<!-- # String -->
<P8327 > </P8327>
<!-- # IP Change -->
<!-- # String -->
<P22170 > </P22170>
<!-- # Auto - Provision Finish -->
<!-- # String -->
<P8332 > </P8332>
<!-- ###################################################################################### -->
<!-- # Destination -->
<!-- ###################################################################################### -->
<!-- ###################################################################################### -->
<!-- # Notification -->
<!-- ###################################################################################### -->
<!-- ############################################################################## -->
<!-- ## Settings/Preferences -->
<!-- ############################################################################## -->
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / Audio Control -->
<!-- ############################################################################## -->
<!-- # HEADSET Key Mode. 0 - Default Mode, 1 - Toggle Headset/Speaker. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2021-02-25 22:23:33 +01:00
{if isset($grandstream_headset_key_mode)}
<P1312 > {$grandstream_headset_key_mode}</P1312>
{/if}
2020-06-06 17:07:17 +02:00
<!-- # Headset Type. 0 - Normal, 1 - Plantronics EHS. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2021-02-25 22:23:33 +01:00
{if isset($grandstream_headset_type)}
<P6779 > {$grandstream_headset_type}</P6779>
2020-06-06 17:07:17 +02:00
<!-- # EHS Headset Ring Tone. 0 - Normal, 1 - Plantronics EHS. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2021-02-25 22:23:33 +01:00
<P1487 > {$grandstream_headset_type}</P1487>
{/if}
2020-06-06 17:07:17 +02:00
<!-- # Always Ring Speaker. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P1439 > 0</P1439>
<!-- # Group Listen with Speaker. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P22163 > 0</P22163>
<!-- # Headset TX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
2020-08-31 22:59:37 +02:00
{if isset($grandstream_headset_tx_gain)}
<P1301 > {$grandstream_headset_tx_gain}</P1301>
{else}
2020-06-06 17:07:17 +02:00
<P1301 > 0</P1301>
2020-08-31 22:59:37 +02:00
{/if}
2020-06-06 17:07:17 +02:00
<!-- # Headset RX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
2020-08-31 22:59:37 +02:00
{if isset($grandstream_headset_rx_gain)}
<P1302 > {$grandstream_headset_rx_gain}</P1302>
{else}
2020-06-06 17:07:17 +02:00
<P1302 > 0</P1302>
2020-08-31 22:59:37 +02:00
{/if}
2020-06-06 17:07:17 +02:00
<!-- # Handset TX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P1464 > 0</P1464>
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / Date and Time -->
<!-- ############################################################################## -->
<!-- # NTP Server -->
<!-- # String -->
{if isset($ntp_server_primary)}
<P30 > {$ntp_server_primary}</P30>
{else}
<P30 > pool.ntp.org</P30>
{/if}
<!-- # Secondary NTP Server -->
<!-- # String -->
{if isset($ntp_server_secondary)}
<P8333 > {$ntp_server_secondary}</P8333>
{else}
<P8333 > 2.us.pool.ntp.org</P8333>
{/if}
<!-- # NTP Update Interval -->
<!-- # String -->
<!-- # Number: 5 - 1440, Default is 1440 -->
<P5005 > 1440</P5005>
<!-- # 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 -->
<!-- # Mandatory -->
<P144 > 1</P144>
<!-- # Time Zone -->
<!-- # Web GUI Option P Value -->
<!-- # Automatic auto -->
<!-- # GMT - 12:00 (International Date Line West) TZA+12 -->
<!-- # GMT - 11:00 (Midway Island, Samoa) TZB+11 -->
<!-- # GMT - 10:00 (US Hawaiian Time) HAW10 -->
<!-- # GMT - 9:00 (US Alaska Time) AKST9AKDT -->
<!-- # GMT - 8:00 (US Pacific Time, Los Angeles) PST8PDT -->
<!-- # GMT - 08:00 (Baja California) PST8PDT,M3.2.0,M11.1.0 -->
<!-- # GMT - 07:00 (US Mountain Time, Denver) MST7MDT -->
<!-- # GMT - 07:00 (Mountain Time (Arizona, no DST)) MST7 -->
<!-- # GMT - 07:00 (Chihuahua, La Paz, Mazatlan) MST7MDT,M4.1.0,M10.5.0 -->
<!-- # GMT - 06:00 (Central Time) CST6CDT -->
<!-- # GMT - 06:00 (Central America) CST+6 -->
<!-- # GMT - 06:00 (Guadalajara, Mexico City, Monterrey) CST6CDT,M4.1.0,M10.5.0 -->
<!-- # GMT - 05:00 (Eastern Time) EST5EDT -->
<!-- # GMT - 05:00 (Eastern Time without daylight saving) EST5 -->
<!-- # GMT - 04:30 (Caracas) TZf+4:30 -->
<!-- # GMT - 04:00 (Atlantic Time) AST4ADT -->
<!-- # GMT - 04:00 (Atlantic Time (New Brunswick)) AST4ADT,M3.2.0,M11.1.0 -->
<!-- # GMT - 03:30 (Newfoundland Time) NST+3:30NDT+2:30,M3.2.0/00:01:00,M11.1.0/00:01:00 -->
<!-- # GMT - 03:00 (Greenland) TZK+3 -->
<!-- # GMT - 03:00 (Brazil, Sao Paulo) BRST+3BRDT+2,M10.3.0,M2.3.0 -->
<!-- # GMT - 02:00 (Argentina) UTC+3 -->
<!-- # GMT - 02:00 (Mid - Atlantic) TZL+2 -->
<!-- # GMT - 01:00 (Azores, Cape Verdi Is.) TZM+1 -->
<!-- # GMT (Edinburgh, Casablanca, Monrovia) TZN+0 -->
<!-- # GMT (London, Great Britain) GMT+0BST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 -->
<!-- # GMT (Lisbon, Portugal) WET - 0WEST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 -->
<!-- # GMT (Dublin, Ireland) GMT+0IST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 -->
<!-- # GMT+01:00 (Paris, Vienna, Warsaw, Roma, Madrid, Prague, Berlin, Budapest, Amsterdam, Belgium) CET - 1CEST - 2,M3.5.0/02:00:00,M10.5.0/03:00:00 -->
<!-- # GMT+02:00 (Israel, Cairo, Athens, Istanbul, Buchrest) TZP - 2 -->
<!-- # GMT+02:00 (Helsinki, Athens, Tallinn) EET - 2EEST - 3,M3.5.0/03:00:00,M10.5.0/04:00:00 -->
<!-- # GMT+02:00 (Kyiv, Ukraine) EET - 2EEST,M3.5.0/3,M10.5.0/4 -->
<!-- # GMT+03:00 (Kuwait, Baghdad, Tehran, Nairobi) TZQ - 3 -->
<!-- # GMT+03:00 (Moscow, Russia) MSK - 3MSD,M3.5.0/2,M10.5.0/3 -->
<!-- # GMT+03:00 (St.Petersburg, Russia) MST - 3MDT,M3.5.0/2,M10.5.0/3 -->
<!-- # GMT+04:00 (Abu Dhabi, Baku) TZR - 4 -->
<!-- # GMT+05:00 (Islamabad, Ekaterinburg, Karachi, Tashkent)TZS - 5 -->
<!-- # GMT+05:30 (Chennai, New Delhi, Mumbai) TZT - 5:30 -->
<!-- # GMT+05:45 (Kathmandu) TZU - 5:45 -->
<!-- # GMT+06:00 (Almaty, Astana, Dhaka, Novosibirsk) TZV - 6 -->
<!-- # GMT+06:30 (Rangoon) TZW - 6:30 -->
<!-- # GMT+07:00 (Bankok, Hanoi, Krasnoyarsk) TZX - 7 -->
<!-- # GMT+07:00 (Jakarta) WIB - 7 -->
<!-- # GMT+08:00 (Beijing, Taipei, Kuala Lumpur, Irkutsk) TZY - 8 -->
<!-- # GMT+08:00 (Singapore) SGT - 8 -->
<!-- # GMT+08:00 (Ulaanbaatar, Mongolia) ULAT - 8 -->
<!-- # GMT+08:00 (Perth) WST - 8 -->
<!-- # GMT+09:00 (Japan, Korea, Yakutsk) TZZ - 9 -->
<!-- # GMT+09:30 (Adelaide) CST - 9:30CDT - 10:30,M10.5.0/02:00:00,M3.5.0/03:00:00 -->
<!-- # GMT+09:30 (Darwin) CST - 9:30 -->
<!-- # GMT+10:00 (Guam) TZb - 10 -->
<!-- # GMT+10:00 (Hobart) EST - 10EDT - 11,M10.1.0/02:00:00,M3.5.0/03:00:00 -->
<!-- # GMT+10:00 (Sydney, Melbourne, Canberra) EST - 10EDT - 11,M10.5.0/02:00:00,M3.5.0/03:00:00 -->
<!-- # GMT+10:00 (Brisbane) EST - 10 -->
<!-- # GMT+11:00 (Magadan, Solomon Is., New Caledonia) TZc - 11 -->
<!-- # GMT+12:00 (Auckland, Wellington) NZST - 12NZDT - 13,M10.1.0/02:00:00,M3.3.0/03:00:00 -->
<!-- # GMT+12:00 (Fiji) TZd - 12 -->
<!-- # GMT+13:00 (Nuku'alofa) TZe - 13 -->
<!-- # Self - Defined Time Zone customize -->
<!-- # String -->
<!-- # Mandatory -->
{if isset($grandstream_timezone) }
<P64 > {$grandstream_timezone}</P64>
{elseif isset($grandstream_gxp_time_zone) }
<P64 > {$grandstream_gxp_time_zone}</P64>
{else}
<P64 > auto</P64>
{/if}
<!-- # 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 -->
<!-- # Mandatory -->
<P143 > 1</P143>
<!-- # Self Defined Time zone. Max length allowed is 64 characters -->
<!-- # String -->
<!-- # Mandatory -->
<P246 > MTZ+6MDT+5,M4.1.0,M11.1.0</P246>
<!-- # 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 -->
<!-- # Mandatory -->
<P102 > 0</P102>
<!-- # Time Display Format. 0 - 12 Hour, 1 - 24 Hour -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P122 > 0</P122>
<!-- # Show Date On Status Bar. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8387 > 0</P8387>
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / LCD Display -->
<!-- ############################################################################## -->
<!-- # Backlight Brightness. -->
<!-- # Active. Default is 100. -->
<!-- # Number: 10 - 100 -->
<!-- # Mandatory -->
<P334 > {$grandstream_lcd_brightness}</P334>
<!-- # Idle. Default is 60. -->
<!-- # Number: 0 - 100 -->
<!-- # Mandatory -->
<P335 > {$grandstream_lcd_brightness_idle}</P335>
<!-- # Active Backlight Timeout. Default is 1 -->
<!-- # Number: 1 - 90 -->
<!-- # Mandatory -->
<P8356 > {$grandstream_active_backlight_timeout}</P8356>
<!-- # Disable Missed Call Backlight. 0 - No, 1 - Yes, 2 - Yes, but flash MWI LED. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P351 > 1</P351>
<!-- # Wallpaper Settings -->
<!-- # Wallpaper Source. 0 - Default, 1 - Download, 2 - USB, 3 - Uploaded, 4 - Color Background -->
<!-- # Number: 0 - 4 -->
<!-- # Mandatory -->
<!-- P2916>1</P2916> -->
<!-- # Wallpaper Server Path -->
<!-- # String -->
{if isset($grandstream_wallpaper_url)}
<P2916 > 1</P2916>
<P2917 > {$grandstream_wallpaper_url}</P2917>
2021-02-25 22:23:33 +01:00
2020-06-06 17:07:17 +02:00
{/if}
<!-- # Color Background. Default is #000000. -->
<!-- # String -->
<P2921 > #000000</P2921>
<!-- # Screensaver Settings -->
<!-- # Screensaver. 0 - No, 1 - Yes, 2 - On if no VPK is active. Default is 1 -->
<!-- # Mandatory -->
{if isset($grandstream_screensaver)}
<P2918 > {$grandstream_screensaver}</P2918>
{/if}
<!-- # Screensaver Source. 0 - Default, 1 - USB, 2 - Download. Default is 0. -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
{if isset($grandstream_screensaver_source)}
<P6759 > {$grandstream_screensaver_source}</P6759>
{/if}
<!-- # Show Date and Time. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
{if isset($grandstream_screensaver_show_date_time)}
<P8441 > {$grandstream_screensaver_show_date_time}</P8441>
{else}
<P8441 > 1</P8441>
{/if}
<!-- # Screensaver Timeout. Minutes. -->
<!-- # Number: 3 - 60 -->
<!-- # Mandatory -->
{if isset($grandstream_screensaver_timeout)}
<P2919 > {$grandstream_screensaver_timeout}</P2919>
{else}
<P2919 > 3</P2919>
{/if}
<!-- # Screensaver Server Path. -->
<!-- # String -->
{if isset($grandstream_screensaver_server_path)}
<P934 > {$grandstream_screensaver_server_path}</P934>
{else}
<P934 > </P934>
{/if}
<!-- Screensaver XML Download Interval -->
<!-- # Number: 5 - 720. Default is 0 (disable auto downloading) -->
<!-- # Mandatory -->
{if isset($grandstream_screensaver_xml_download_interval)}
<P935 > {$grandstream_screensaver_xml_download_interval}</P935>
{else}
<P935 > 0</P935>
{/if}
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / MPK LCD Settings -->
<!-- ############################################################################## -->
<!-- # MPK LCD Display Order. 0 - Sequential, 1 - Alternating. Default is 0 -->
<!-- # Number: 0,1 -->
<P8456 > 0</P8456>
<!-- # Display Contact on MPK LCD. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0,1 -->
<P8461 > 0</P8461>
<!-- # Wallpaper Source for MPK LCD. 0 - Default, 3 - Uploaded. Default is 0 -->
<!-- # Number: 0,1 -->
<P2938 > 0</P2938>
<!-- ############################################################################## -->
<!-- ## 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 -->
<!-- # Mandatory -->
<P6766 > 0</P6766>
<!-- # Disable VM/MSG power light flash. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8371 > 0</P8371>
<!-- ############################################################################## -->
<!-- ## Settings/Preferences / Ring Tone -->
<!-- ############################################################################## -->
<!-- ### 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) -->
<!-- # System Ring Tone -->
<!-- # String -->
<!-- # Mandatory -->
<P345 > f1=500,f2=540,c=20/20-80/400;</P345>
<!-- # Dial Tone -->
<!-- # String -->
<!-- # Mandatory -->
<P343 > f1=350,f2=440;</P343>
<!-- # Second Dial Tone -->
<!-- # String -->
<!-- # Mandatory -->
<P2909 > f1=350,f2=440;</P2909>
<!-- # Message Waiting Tone -->
<!-- # String -->
<!-- # Mandatory -->
<P344 > f1=350,f2=440,c=10/10;</P344>
<!-- # Ring Back Tone -->
<!-- # String -->
<!-- # Mandatory -->
<P346 > f1=440,f2=480,c=200/400;</P346>
<!-- # Call - Waiting Tone -->
<!-- # String -->
<!-- # Mandatory -->
<P347 > f1=440,f2=440,c=25/525;</P347>
<!-- # Call - Waiting Tone Gain. 0 - Low, 1 - Medium, 2 - High. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P1555 > 0</P1555>
<!-- # Busy Tone -->
<!-- # String -->
<!-- # Mandatory -->
<P348 > f1=480,f2=620,c=50/50;</P348>
<!-- # Reorder Tone -->
<!-- # String -->
<!-- # Mandatory -->
<P349 > f1=480,f2=620,c=25/25;</P349>
<!-- # Speaker Ring Volume -->
<!-- # Number: 0 - 7. Default is 5. -->
<!-- # Mandatory -->
2020-10-10 06:15:31 +02:00
{if isset($grandstream_speaker_ring_volume)}
<P8352 > {$grandstream_speaker_ring_volume}</P8352>
{/if}
2020-06-06 17:07:17 +02:00
<!-- # Notification Tone Volume -->
<!-- # Number: 0 - 7. Default is 5. -->
<!-- # Mandatory -->
<P8399 > 5</P8399>
<!-- # Lock Volumne. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8392 > 0</P8392>
<!-- # 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 -->
<!-- # Mandatory -->
{if isset($grandstream_default_ringtone)}
<P8398 > {$grandstream_default_ringtone}</P8398>
{/if}
<!-- ############################################################################## -->
<!-- ## Settings/Web Service -->
<!-- ############################################################################## -->
<!-- # Weather Update -->
<!-- # Use Auto Location Service. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8338 > 1</P8338>
<!-- ############################################################################## -->
<!-- ## Settings/XML Applications -->
<!-- ############################################################################## -->
<!-- # Server Path -->
<!-- # String -->
<P337 > </P337>
<!-- # Softkey Label -->
<!-- # String -->
<P352 > XMLApp</P352>
<!-- # Default Background Color -->
<!-- # String -->
<P8367 > </P8367>
<!-- # Block Call Screen. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8368 > 0</P8368>
<!-- ############################################################################## -->
<!-- ## 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 -->
<!-- # Mandatory -->
<P8345 > 0</P8345>
<!-- # Use Long Label. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8346 > 1</P8346>
<!-- # Call Screen Settings -->
<!-- # Key Mode. 1 - Line Mode, 2 - Account Mode. Default is 1 -->
<!-- # Number: 1, 2 -->
<!-- # Mandatory -->
<P8369 > 1</P8369>
<!-- # Transfer Mode via VPK. 0 - Blind Transfer, 1 - Attended Transfer, 2 - New Call. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P8390 > 0</P8390>
<!-- # Enable transfer via non - Transfer MPK. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
2020-08-31 22:59:37 +02:00
<P22162 > {$grandstream_blind_xfer_blf}</P22162>
2020-06-06 17:07:17 +02:00
<!-- # Show VPK Icon. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2936 > 0</P2936>
<!-- # Show Keys Label. 1 - Show, 2 - Hide, 0 - Toggle. Default is 0 -->
<!-- # Number: 0, 1, 2 -->
<!-- # Mandatory -->
<P8386 > 0</P8386>
<!-- # Show VPK shared line display description (This only can be done with provisioning) -->
<!-- # Number: 0, 1. 0 - No, 1 - Yes. Default is 1 -->
<!-- # Mandatory -->
<P8484 > 1</P8484>
<!-- ############################################################################## -->
<!-- ## 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. -->
<!-- ###################################################################################### -->
<!-- ###################################################################################### -->
<!-- ############################ For GRP2614 ########################################### -->
<!-- ###################################################################################### -->
<!-- # VPK 1~~ fixed VPK -->
<!-- ###################################################################################### -->
<!-- # Key Mode for line VPK. Default is 0. -->
<!-- # Number: - 1, 0, 1, 10 ~~ 36 -->
<!-- # - 1 - None, 0 - Default, 1 - shared line, 10 - Speed Dial, 11 - BLF, 12 - Presence Watcher -->
<!-- # 13 - Eventlist BLF, 14 - Speed Dial via active account, 15 - DialDTMF -->
<!-- # 16 - Voicemail, 17 - Call Return, 18 - Transfer, 19 - CallPark, 20 - Intercom -->
<!-- # 21 - LDAP Search, 22 - Conference, 23 - Multicast Paging, 24 - Record, 25 - Call Log -->
<!-- # 26 - Monitored Call Park, 27 - Menu 28 - XML Application,29 - Information, 30 - Message -->
<!-- # 31 - Forward, 32 - DND, 33 - Redial, 34 - Instant Messages, 35 - Multicast Listen Address, 36 - Keypad Lock -->
<!-- # Mandatory -->
<!-- # P1363 = 0 -->
<!-- # Account. 0 - Account 1, 1 - Account 2, 2 - Account 3 -->
<!-- # Number: 0, 1, 2. Default is 0. -->
<!-- # Mandatory -->
<!-- # P1364 = 0 -->
<!-- Set $fixed_keys variable below and the rest should work -->
{$fixed_keys=6}
<!-- Detected {$template} with {$fixed_keys} fixed keys -->
{$start_id=1363}
2020-09-29 04:36:35 +02:00
{assign var=key_types value=["none"=>-1,"phonebook"=>30,"line"=>31,"shared line"=>32,"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]}
2020-06-06 17:07:17 +02:00
{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]}< /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}
<!-- line 7 to 48 are sequential starting at 23800 in groups of 4 -->
{$start_id=23800}
{for $line=7 to 40}
{$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]}< /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}
<!-- ###################################################################################### -->
<!-- ## Programmable Keys/Physical Multi - Purpose Keys - -->
<!-- ###################################################################################### -->
<!-- # MPK 1 - -->
<!-- ###################################################################################### -->
<!-- # Key Mode. -->
<!-- # Number: - 1 ~~ 20 -->
<!-- # - 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 -->
<!-- # Mandatory -->
<!-- # <P323> - 1</P323> -->
<!-- # 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 -->
<!-- # Mandatory -->
<!-- <P301>0</P301> -->
<!-- # Name. Max length allowed is 128 characters. -->
<!-- # String -->
<!-- <P302></P302> -->
<!-- # User ID. Max length allowed is 64 characters. -->
<!-- # String -->
<!-- <P303></P303> -->
{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}
<!-- # Key Mode. -->
<!-- # Number: - 1 to 20 -->
<!-- # - 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 -->
<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}>
<!-- # 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 -->
<P { $ s t a r t _ i d + $ p i d - 2 2 } > {$keys.memory.$mem.device_key_line}< /P{$start_id+$pid-22}>
<!-- # Name. Max length allowed is 128 characters. -->
<!-- # String -->
<P { $ s t a r t _ i d + $ p i d - 2 1 } > {$keys.memory.$mem.device_key_label}< /P{$start_id+$pid-21}>
<!-- # User ID. Max length allowed is 64 characters. -->
<!-- # String -->
<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}
{$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}
<!-- ############################################################################## -->
<!-- ## Settings/Programmable Keys / Softkeys Settings -->
<!-- ############################################################################## -->
<!-- # More Softkey Display Mode -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # 0 - Menu, 1 - Toggle -->
<!-- # Mandatory -->
<P2934 > 0</P2934>
<!-- # Show Target Softkey -->
<!-- # Number: 0, 1. Default is 1 -->
<!-- # 0 - No, 1 - Yes -->
<!-- # Mandatory -->
<P8377 > 1</P8377>
<!-- # Softkey Layout -->
<!-- # Custom Softkey Layout. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P2923 > 0</P2923>
<!-- # Enforce Softkey Layout Position. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<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 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/Idle Screen Settings -->
<!-- ###################################################################################### -->
<!-- # Softkey 1 -->
<!-- ###################################################################################### -->
<!-- # 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 -->
<!-- # Mandatory -->
{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}
<!-- # <P2987>0</P2987> -->
<!-- # 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 -->
<!-- # Mandatory -->
<!-- # <P2988>0</P2988> -->
<!-- # Description. -->
<!-- # String. -->
<!-- # P2989 = -->
<!-- # Value. -->
<!-- # String. -->
<!-- # P2990 = -->
<!-- ###################################################################################### -->
<!-- # Softkey 2 -->
<!-- ###################################################################################### -->
<!-- # 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 -->
<!-- # Mandatory -->
<P2991 > 0</P2991>
<!-- # 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 -->
<!-- # Mandatory -->
<P2992 > 0</P2992>
<!-- # Description. -->
<!-- # String. -->
<!-- # P2993 = -->
<!-- # Value. -->
<!-- # String. -->
<!-- # P2994 = -->
<!-- ###################################################################################### -->
<!-- ## Programmable Keys/Call Screen Settings -->
<!-- ###################################################################################### -->
<!-- ###################################################################################### -->
<!-- # Softkey 1 -->
<!-- ###################################################################################### -->
<!-- # Key Mode. -->
<!-- # 0 - Default, 10 - Speed Dial, 14 - Speed Dial via active account, 15 - Dial DTMF, 16 - Voicemail, -->
<!-- # 17 - CallReturn, 20 - Intercom, 21 - LDAP Search, 25 - Call Log, 29 - Information, 30 - Message -->
<!-- # Number: 0,10,14,15,16,17,20,21,25,29,30 -->
<!-- # Mandatory -->
<P8475 > 0</P8475>
<!-- # Description. -->
<!-- # String. -->
<!-- # P8476 = -->
<!-- # Value. -->
<!-- # String. -->
<!-- # P8477 = -->
<!-- ###################################################################################### -->
<!-- # Softkey 2 -->
<!-- ###################################################################################### -->
<!-- # Key Mode. -->
<!-- # 0 - Default, 10 - Speed Dial, 14 - Speed Dial via active account, 15 - Dial DTMF, 16 - Voicemail, -->
<!-- # 17 - CallReturn, 20 - Intercom, 21 - LDAP Search, 25 - Call Log, 29 - Information, 30 - Message -->
<!-- # Number: 0,10,14,15,16,17,20,21,25,29,30 -->
<!-- # Mandatory -->
<P8478 > 0</P8478>
<!-- # Description. -->
<!-- # String. -->
<!-- # P8479 = -->
<!-- # Value. -->
<!-- # String. -->
<!-- # P8480 = -->
<!-- ######################################################################## -->
2020-11-17 04:20:15 +01:00
<!-- ## Settings/Extension Boards -->
2020-06-06 17:07:17 +02:00
<!-- ######################################################################## -->
<!-- ######################################################################## -->
<!-- ## Settings/Extension Boards/EXT Setting -->
<!-- ######################################################################## -->
<!-- # One Page Display Mode. 0 - No, 1 - Yes. -->
<!-- # Number: 0, 1. Default is 0 -->
<!-- # Mandatory -->
{if isset($grandstream_ext_1page)}
<P8357 > {$grandstream_ext_1page}</P8357>
{else}
<P8357 > 1</P8357>
{/if}
<!-- # Sync Backlight with LCD. 0 - No, 1 - Yes. Default is 0 -->
<!-- # Number: 0, 1 -->
<!-- # Mandatory -->
<P8400 > 0</P8400>
<!-- ###################################################################################### -->
<!-- # EXT 1 -->
<!-- ###################################################################################### -->
<!-- # Key Mode. -->
<!-- # Number: - 1 ~~ 20 -->
<!-- # - 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 -->
<!-- # Mandatory -->
<!-- <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> -->
{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}
</config>
</gs_provision>