2017-04-01 07:44:55 +02:00
<?xml version="1.0" encoding="utf-8"?>
<gs_provision version= "1" >
2017-06-09 00:21:47 +02:00
<mac > {$mac|replace:'-':''}</mac>
<config version= "1" >
<!-- ######################################################################################### -->
<!-- # Configuration Template For GXP2130/2140/2160/2170/2135 Firmware Version 1.0.7.97 ## -->
<!-- ######################################################################################### -->
<!-- ################################################################### -->
<!-- Account Settings ## -->
<!-- ################################################################### -->
<!-- ################################################################### -->
<!-- Account 1 ## -->
<!-- ################################################################### -->
<!-- ############################################################## -->
<!-- Account 1/General Settings -->
<!-- ############################################################## -->
<!-- Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
{if isset($user_password_1)}
<P271 > 1</P271>
{else}
<P271 > 0</P271>
{/if}
<!-- Account Name -->
<!-- String -->
<P270 > {$display_name_1}</P270>
<!-- SIP Server -->
<!-- String -->
<P47 > {$server_address_1}</P47>
<!-- Secondary SIP Server -->
<!-- String -->
<P2312 > {$secondary_server_address_1}</P2312>
<!-- Outbound Proxy -->
<!-- String -->
<P48 > {$outbound_proxy_1}</P48>
<!-- Backup Outbound Proxy -->
<!-- String -->
2017-08-17 07:24:45 +02:00
<P2333 > {$outbound_proxy_secondary_1}</P2333>
2017-06-09 00:21:47 +02:00
<!-- BLF Server -->
<!-- String -->
<P2375 > </P2375>
<!-- SIP User ID -->
<!-- String -->
<P35 > {$user_id_1}</P35>
<!-- Authenticate ID -->
<!-- String -->
<P36 > {$auth_id_1}</P36>
<!-- Authenticate Password -->
<!-- String -->
<P34 > {$user_password_1}</P34>
<!-- Name -->
<!-- String -->
<P3 > {$display_name_1}</P3>
<!-- Voice Mail UserID -->
<!-- String -->
<P33 > *97</P33>
<!-- ############################################################## -->
<!-- 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 -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_dns_mode_1) }
<P103 > {$grandstream_dns_mode_1}</P103>
2017-06-09 00:21:47 +02:00
{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($nat_traversal_1) }
<P52 > {$nat_traversal_1}</P52>
{else}
<P52 > 0</P52>
{/if}
<!-- Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- String -->
<P197 > </P197>
<!-- ############################################################## -->
<!-- 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 > 3</P32>
<!-- Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- Number: 1 - 64800 -->
<!-- Mandatory -->
<P26051 > 60</P26051>
<!-- Register Before Expiration (in seconds). Default is 0 second -->
<!-- Number: 0 - 64800 -->
<!-- Mandatory -->
<P2330 > 0</P2330>
<!-- 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>
<!-- SIP Transport. 0 - UDP, 1 - TCP, 2 - TLS/TCP. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
{$tp=0}
{if $sip_transport_1 == 'udp'}{$tp=0}{/if}
{if $sip_transport_1 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_1 == 'tls'}{$tp=2}{/if}
{if $sip_transport_1 == 'dns srv'}{$tp=1}{/if}
<P130 > {$tp}</P130>
<!-- 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>
<!-- Remove OBP from Route. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- 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>
<!-- Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
2017-06-28 06:58:45 +02:00
<P2324 > 0</P2324>
2017-06-09 00:21:47 +02:00
<!-- 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>
<!-- ############################################################## -->
<!-- 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 -->
<P2318 > </P2318>
<!-- Music On Hold URI -->
<!-- String -->
<P2350 > </P2350>
<!-- Force BLF Call - pickup by prefix. 0 - Disable, 1 - Enable. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6752 > 0</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>
<!-- Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, -->
<!-- 109 - RNK, 110 - Sylantro, 117 - Huawei IMS, 119 - Phonepower -->
<!-- Default is 100 -->
<!-- Number: 100, 101, 102, 108, 109, 110, 117, 119 -->
<!-- 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 -->
<P2325 > 0</P2325>
<!-- 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 > 0</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)125 - OPUS -->
<!-- choice 1. Default is 0 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P57 > 0</P57>
<!-- choice 2. Default is 8 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P58 > 8</P58>
<!-- choice 3. Default is 4 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P59 > 4</P59>
<!-- choice 4. Default is 18 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P60 > 18</P60>
<!-- choice 5. Default is 9 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P61 > 9</P61>
<!-- choice 6. Default is 98 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P62 > 98</P62>
<!-- choice 7. Default is 2 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P46 > 2</P46>
<!-- choice 8. Default is 125 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- 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>
<!-- Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- Default is 0 -->
<!-- Number: 0,1 -->
<!-- Mandatory -->
<P26047 > 0</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 -->
<P183 > 0</P183>
<!-- 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 -->
<P66 > </P66>
<!-- Dial Plan. Default value is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- String -->
<!-- Mandatory -->
2018-02-21 23:02:17 +01:00
<P290 > {$grandstream_dial_plan}</P290>
2017-06-09 00:21:47 +02:00
<!-- Call Log. 0 - Log All Calls, 1 - Log Incoming/Outgoing only (missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P182 > 0</P182>
<!-- Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- Number: 0, 1, 2, 3, 4 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_account_ring_tone_1)||$grandstream_account_ring_tone_1==0}
<P104 > {$grandstream_account_ring_tone_1}</P104>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Incoming Caller ID. Matching Rule 1 -->
<!-- String -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_ring_tone_caller_id_1_1)}
<P1488 > {$grandstream_ring_tone_caller_id_1_1}</P1488>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Rule 1 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0. -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_ring_tone_1_1)||$grandstream_ring_tone_1_1==0}
<P1489 > {$grandstream_ring_tone_1_1}</P1489>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Incoming Caller ID. Matching Rule 2 -->
<!-- String -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_ring_tone_caller_id_2_1)}
<P1490 > {$grandstream_ring_tone_caller_id_2_1}</P1490>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Rule 2 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_ring_tone_2_1)||$grandstream_ring_tone_2_1==0}
<P1491 > {$grandstream_ring_tone_2_1}</P1491>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Incoming Caller ID. Matching Rule 3 -->
<!-- String -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_ring_tone_caller_id_3_1)}
<P1492 > {$grandstream_ring_tone_caller_id_3_1}</P1492>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Rule 3 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_ring_tone_3_1)||$grandstream_ring_tone_2_1==0}
<P1493 > {$grandstream_ring_tone_3_1}</P1493>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Ring Timeout (in seconds). Default is 60 -->
<!-- Number: 30 - 3600 -->
<!-- Mandatory -->
<P1328 > 60</P1328>
<!-- 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>
<!-- Allow Auto Answer by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P298 > 0</P298>
<!-- Allow Barging by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26019 > 0</P26019>
<!-- Custom Call - Info for Auto Answer. -->
<!-- String -->
<P2356 > </P2356>
<!-- 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>
<!-- 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>
<!-- ############################################################## -->
<!-- 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 > *78</P2344>
<!-- Do Not Disturb (DND) - Off -->
<!-- String -->
<P2345 > *79</P2345>
<!-- Call Forward Unconditionally (All) - On -->
<!-- String -->
<P26013 > *72</P26013>
<!-- Call Forward Unconditionally (All) - Off -->
<!-- String -->
<P26014 > *73</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($user_password_2)}
<P401 > 1</P401>
{else}
<P401 > 0</P401>
{/if}
<!-- Account Name -->
<!-- String -->
<P417 > {$display_name_2}</P417>
<!-- SIP Server -->
<!-- String -->
<P402 > {$server_address_2}</P402>
<!-- Secondary SIP Server -->
<!-- String -->
<P2412 > </P2412>
<!-- Outbound Proxy -->
<!-- String -->
<P403 > {$outbound_proxy_2}</P403>
<!-- Backup Outbound Proxy -->
<!-- String -->
2017-08-17 08:24:30 +02:00
<P2433 > {$outbound_proxy_secondary_2}</P2433>
2017-06-09 00:21:47 +02:00
<!-- BLF Server -->
<!-- String -->
<P2475 > </P2475>
<!-- SIP User ID -->
<!-- String -->
<P404 > {$user_id_2}</P404>
<!-- Authenticate ID -->
<!-- String -->
<P405 > {$auth_id_2}</P405>
<!-- Authenticate password -->
<!-- String -->
<P406 > {$user_password_2}</P406>
<!-- Name -->
<!-- String -->
<P407 > {$display_name_2}</P407>
<!-- Voice Mail UserID -->
<!-- String -->
<P426 > *97</P426>
<!-- ############################################################## -->
<!-- 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 -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_dns_modee_2) }
<P408 > {$grandstream_dns_modee_2}</P408>
2017-06-09 00:21:47 +02:00
{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($nat_traversal_2) }
<P414 > {$nat_traversal_2}</P414>
{else}
<P414 > 0</P414>
{/if}
<!-- Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- String -->
<P418 > </P418>
<!-- ############################################################## -->
<!-- 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 > 3</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>
<!-- Local SIP port. Default is 5062 -->
<!-- Number -->
<!-- Mandatory -->
<P413 > 5062</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 > 50</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>
<!-- SIP Transport. 0 - UDP, 1 - TCP, 2 - TCP/TLS. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
{$tp=0}
{if $sip_transport_2 == 'udp'}{$tp=0}{/if}
{if $sip_transport_2 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_2 == 'tls'}{$tp=2}{/if}
{if $sip_transport_2 == 'dns srv'}{$tp=1}{/if}
<P448 > {$tp}</P448>
<!-- 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>
<!-- Remove OBP from Route. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- 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>
<!-- Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
2017-06-28 06:58:45 +02:00
<P2424 > 0</P2424>
2017-06-09 00:21:47 +02:00
<!-- 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>
<!-- ############################################################## -->
<!-- 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 -->
<P2418 > </P2418>
<!-- Music On Hold URI -->
<!-- String -->
<P2450 > </P2450>
<!-- Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6753 > 0</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>
<!-- Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS -->
<!-- Number: 100, 101, 102, 108, 109, 110, 117. Default is 100 -->
<!-- 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 > 0</P2447>
<!-- Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2446 > 0</P2446>
<!-- ############################################################## -->
<!-- Account 2/Audio Settings -->
<!-- ############################################################## -->
<!-- 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>
<!-- 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>
<!-- Preferred Vocoder -->
<!-- 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- choice 1. Default is 0 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P451 > 0</P451>
<!-- choice 2. Default is 8 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P452 > 8</P452>
<!-- choice 3. Default is 4 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P453 > 4</P453>
<!-- choice 4. Default is 18 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P454 > 18</P454>
<!-- choice 5. Default is 9 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P455 > 9</P455>
<!-- choice 6. Default is 98 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P456 > 98</P456>
<!-- choice 7. Default is 2 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P457 > 2</P457>
<!-- choice 8. Default is 125 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P458 > 125</P458>
<!-- Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2448 > 0</P2448>
<!-- 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 -->
<P443 > 0</P443>
<!-- 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>
<!-- 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>
<!-- 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>
<!-- Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- Default is 0 -->
<!-- Number: 0,1 -->
<!-- Mandatory -->
<P26147 > 0</P26147>
<!-- 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 -->
<P459 > { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ | \+x+ | \p\a\r\k\+*x+ }</P459>
<!-- 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, 4 - silent. Default is 0 -->
<!-- Number: 0, 1, 2, 3, 4 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_account_ring_tone_2)||$grandstream_account_ring_tone_2==0}
<P423 > {$grandstream_account_ring_tone_2}</P423>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Incoming Caller ID. Matching Rule 1 -->
<!-- String -->
<P1494 > </P1494>
<!-- Matching Rule 1 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1495 > 0</P1495>
<!-- Matching Incoming Caller ID. Matching Rule 2. -->
<!-- String -->
<P1496 > </P1496>
<!-- Matching Rule 2 Distinctive Ringtone. -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1497 > 0</P1497>
<!-- Matching Incoming Caller ID. Matching Rule 3. -->
<!-- String -->
<P1498 > </P1498>
<!-- Matching Rule 3 Distinctive Ringtone. -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1499 > 0</P1499>
<!-- 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>
<!-- Allow Auto Answer by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P438 > 0</P438>
<!-- Allow Barging by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26119 > 0</P26119>
<!-- Custom Call - Info for Auto Answer. -->
<!-- String -->
<P2456 > </P2456>
<!-- 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>
<!-- No Key Entry Timeout. Default is 4 -->
<!-- Number: 1 - 15 -->
<!-- Mandatory -->
<P491 > 4</P491>
<!-- Key As Send. 0 - Disabled, 1 - Pound(#), 2 - Star(*). Default is 1 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P492 > 1</P492>
<!-- On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26106 > 0</P26106>
<!-- ############################################################## -->
<!-- Account 2/Feature Codes -->
<!-- ############################################################## -->
<!-- Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P420 > 1</P420>
<!-- Do Not Disturb (DND) - On -->
<!-- String -->
<P2444 > *79</P2444>
<!-- Do Not Disturb (DND) - Off -->
<!-- String -->
<P2445 > *79</P2445>
<!-- Call Forward Unconditionally (All) - On -->
<!-- String -->
<P26113 > *72</P26113>
<!-- Call Forward Unconditionally (All) - Off -->
<!-- String -->
<P26114 > *73</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($user_password_3)}
<P501 > 1</P501>
{else}
<P501 > 0</P501>
{/if}
<!-- Account Name -->
<!-- String -->
<P517 > {$display_name_3}</P517>
<!-- SIP Server -->
<!-- String -->
<P502 > {$server_address_3}</P502>
<!-- Secondary SIP Server -->
<!-- String -->
<P2512 > </P2512>
<!-- Outbound Proxy -->
<!-- String -->
<P503 > {$outbound_proxy_3}</P503>
<!-- Backup Outbound Proxy -->
<!-- String -->
2017-08-17 08:24:30 +02:00
<P2533 > {$outbound_proxy_secondary_3}</P2533>
2017-06-09 00:21:47 +02:00
<!-- BLF Server -->
<!-- String -->
<P2575 > </P2575>
<!-- SIP User ID -->
<!-- String -->
<P504 > {$user_id_3}</P504>
<!-- Authenticate ID -->
<!-- String -->
<P505 > {$auth_id_3}</P505>
<!-- Authenticate Password -->
<!-- String -->
<P506 > {$user_password_3}</P506>
<!-- Name -->
<!-- String -->
<P507 > {$display_name_3}</P507>
<!-- Voice Mail UserID -->
<!-- String -->
<P526 > *97</P526>
<!-- ############################################################## -->
<!-- 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 -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_dns_modee_3) }
<P508 > {$grandstream_dns_modee_3}</P508>
2017-06-09 00:21:47 +02:00
{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($nat_traversal_3) }
<P514 > {$nat_traversal_3}</P514>
{else}
<P514 > 0</P514>
{/if}
<!-- Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- String -->
<P518 > </P518>
<!-- ############################################################## -->
<!-- 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 > 3</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>
<!-- 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>
<!-- SIP Transport. 0 - UDP, 1 - TCP. 2 - TCP/TLS. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
{$tp=0}
{if $sip_transport_3 == 'udp'}{$tp=0}{/if}
{if $sip_transport_3 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_3 == 'tls'}{$tp=2}{/if}
{if $sip_transport_3 == 'dns srv'}{$tp=1}{/if}
<P548 > {$tp}</P548>
<!-- 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>
<!-- Remove OBP from Route. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- 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>
<!-- Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
2017-06-28 06:58:45 +02:00
<P2524 > 0</P2524>
2017-06-09 00:21:47 +02:00
<!-- 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>
<!-- ######################################### -->
<!-- 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 -->
<P2518 > </P2518>
<!-- Music On Hold URI -->
<!-- String -->
<P2550 > </P2550>
<!-- Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6754 > 0</P6754>
<!-- BLF Call - pickup Prefix. Default is ** -->
<!-- String -->
<!-- Mandatory -->
<P581 > **</P581>
<!-- Call Pickup Barge - In Code -->
<!-- String -->
<!-- P26246></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>
<!-- Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS. Default is 100 -->
<!-- Number: 100, 101, 102, 108, 109, 110, 117 -->
<!-- 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 > 0</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, 125 - OPUS -->
<!-- choice 1. Default is 0 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P551 > 0</P551>
<!-- choice 2. Default is 8 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P552 > 8</P552>
<!-- choice 3. Default is 4 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P553 > 4</P553>
<!-- choice 4. Default is 18 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P554 > 18</P554>
<!-- choice 5. Default is 9 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P555 > 9</P555>
<!-- choice 6. Default is 98 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P556 > 98</P556>
<!-- choice 7. Default is 2 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P557 > 2</P557>
<!-- choice 8. Default is 125 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P558 > 125</P558>
<!-- Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2548 > 0</P2548>
<!-- 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 -->
<P543 > 0</P543>
<!-- 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 -->
<P559 > { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ | \+x+ | \p\a\r\k\+*x+ }</P559>
<!-- 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, 4 - silent. Default is 0 -->
<!-- Number: 0, 1, 2, 3, 4 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_account_ring_tone_3)||$grandstream_account_ring_tone_3==0}
<P523 > {$grandstream_account_ring_tone_3}</P523>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Incoming Caller ID. Matching Rule 1 -->
<!-- String -->
<P1500 > </P1500>
<!-- Matching Rule 1 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1501 > 0</P1501>
<!-- Matching Incoming Caller ID. Matching Rule 2 -->
<!-- String -->
<P1502 > </P1502>
<!-- Matching Rule 2 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1503 > 0</P1503>
<!-- Matching Incoming Caller ID. Matching Rule 3 -->
<!-- String -->
<P1504 > </P1504>
<!-- Matching Rule 3 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1505 > 0</P1505>
<!-- 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>
<!-- Allow Auto Answer by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P538 > 0</P538>
<!-- Allow Barging by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26219 > 0</P26219>
<!-- Custom Call - Info for Auto Answer. -->
<!-- String -->
<P2556 > </P2556>
<!-- 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>
<!-- No Key Entry Timeout. Default is 4 -->
<!-- Number: 1 - 15 -->
<!-- Mandatory -->
<P591 > 4</P591>
<!-- Key As Send. 0 - Disabled, 1 - Pound(#), 2 - Star(*). Default is 1 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P592 > 1</P592>
<!-- On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26206 > 0</P26206>
<!-- ######################################### -->
<!-- Account 3/Feature Codes -->
<!-- ######################################### -->
<!-- Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P520 > 1</P520>
<!-- Do Not Disturb (DND) - On -->
<!-- String -->
<P2544 > *78</P2544>
<!-- Do Not Disturb (DND) - Off -->
<!-- String -->
<P2545 > *79</P2545>
<!-- Call Forward Unconditionally (All) - On -->
<!-- String -->
<P26213 > *72</P26213>
<!-- Call Forward Unconditionally (All) - Off -->
<!-- String -->
<P26214 > *73</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 - GXP2140/2160/2170/2135 only -->
<!-- ################################################################### -->
<!-- ######################################### -->
<!-- Account 4/General Settings -->
<!-- ######################################### -->
<!-- Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
{if isset($user_password_4)}
<P601 > 1</P601>
{else}
<P601 > 0</P601>
{/if}
<!-- Account Name -->
<!-- String -->
<P617 > {$display_name_4}</P617>
<!-- SIP Server -->
<!-- String -->
<P602 > {$server_address_4}</P602>
<!-- Secondary SIP Server -->
<!-- String -->
<P2612 > </P2612>
<!-- Outbound Proxy -->
<!-- String -->
<P603 > {$outbound_proxy_4}</P603>
<!-- Backup Outbound Proxy -->
<!-- String -->
2017-08-17 08:24:30 +02:00
<P2633 > {$outbound_proxy_secondary_4}</P2633>
2017-06-09 00:21:47 +02:00
<!-- BLF Server -->
<!-- String -->
<P2675 > </P2675>
<!-- SIP User ID -->
<!-- String -->
<P604 > {$user_id_4}</P604>
<!-- Authenticate ID -->
<!-- String -->
<P605 > {$auth_id_4}</P605>
<!-- Authenticate password -->
<!-- String -->
<P606 > {$user_password_4}</P606>
<!-- Name -->
<!-- String -->
<P607 > {$display_name_4}</P607>
<!-- Voice Mail UserID -->
<!-- String -->
<P626 > *97</P626>
<!-- ######################################### -->
<!-- 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 -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_dns_modee_4) }
<P608 > {$grandstream_dns_modee_4}</P608>
2017-06-09 00:21:47 +02:00
{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($nat_traversal_4) }
<P614 > {$nat_traversal_4}</P614>
{else}
<P614 > 0</P614>
{/if}
<!-- Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- String -->
<P618 > </P618>
<!-- ######################################### -->
<!-- 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 > 3</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>
<!-- 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>
<!-- SIP Transport. 0 - UDP, 1 - TCP. 2 - TCP/TLS. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
{$tp=0}
{if $sip_transport_4 == 'udp'}{$tp=0}{/if}
{if $sip_transport_4 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_4 == 'tls'}{$tp=2}{/if}
{if $sip_transport_4 == 'dns srv'}{$tp=1}{/if}
<P648 > {$tp}</P648>
<!-- 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>
<!-- Remove OBP from Route. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- 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>
<!-- Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
2017-06-28 06:58:45 +02:00
<P2624 > 0</P2624>
2017-06-09 00:21:47 +02:00
<!-- 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>
<!-- ######################################### -->
<!-- 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 -->
<P2618 > </P2618>
<!-- Music On Hold URI -->
<!-- String -->
<P2650 > </P2650>
<!-- Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6755 > 0</P6755>
<!-- BLF Call - pickup Prefix. Default is ** -->
<!-- String -->
<!-- Mandatory -->
<P681 > **</P681>
<!-- Call Pickup Barge - In Code -->
<!-- String -->
<!-- P26346></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>
<!-- Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS. Default is 100 -->
<!-- Number: 100, 101, 102, 108, 109, 110, 117 -->
<!-- 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 > 0</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, 125 - OPUS -->
<!-- choice 1. Default is 0 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P651 > 0</P651>
<!-- choice 2. Default is 8 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P652 > 8</P652>
<!-- choice 3. Default is 4 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P653 > 4</P653>
<!-- choice 4. Default is 18 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P654 > 18</P654>
<!-- choice 5. Default is 9 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P655 > 9</P655>
<!-- choice 6. Default is 98 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P656 > 98</P656>
<!-- choice 7. Default is 2 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P657 > 2</P657>
<!-- choice 8. Default is 125 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P658 > 125</P658>
<!-- Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2648 > 0</P2648>
<!-- 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 -->
<P643 > 0</P643>
<!-- 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 -->
<P659 > { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ | \+x+ | \p\a\r\k\+*x+ }</P659>
<!-- 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, 4 - silent. Default is 0 -->
<!-- Number: 0, 1, 2, 3, 4 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_account_ring_tone_4)||$grandstream_account_ring_tone_4==0}
<P623 > {$grandstream_account_ring_tone_4}</P623>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Incoming Caller ID. Matching Rule 1 -->
<!-- String -->
<P1506 > </P1506>
<!-- Matching Rule 1 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1507 > 0</P1507>
<!-- Matching Incoming Caller ID. Matching Rule 2 -->
<!-- String -->
<P1508 > </P1508>
<!-- Matching Rule 2 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1509 > 0</P1509>
<!-- Matching Incoming Caller ID. Matching Rule 3 -->
<!-- String -->
<P1510 > </P1510>
<!-- Matching Rule 3 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1511 > 0</P1511>
<!-- 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>
<!-- Allow Auto Answer by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P638 > 0</P638>
<!-- Allow Barging by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26319 > 0</P26319>
<!-- Custom Call - Info for Auto Answer. -->
<!-- String -->
<P2656 > </P2656>
<!-- 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>
<!-- No Key Entry Timeout. Default is 4 -->
<!-- Number: 1 - 15 -->
<!-- Mandatory -->
<P691 > 4</P691>
<!-- Key As Send. 0 - Disabled, 1 - Pound(#), 2 - Star(*). Default is 1 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P692 > 1</P692>
<!-- On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26306 > 0</P26306>
<!-- ######################################### -->
<!-- Account 4/Feature Codes -->
<!-- ######################################### -->
<!-- Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P620 > 1</P620>
<!-- Do Not Disturb (DND) - On -->
<!-- String -->
<P2644 > *78</P2644>
<!-- Do Not Disturb (DND) - Off -->
<!-- String -->
<P2645 > *79</P2645>
<!-- Call Forward Unconditionally (All) - On -->
<!-- String -->
<P26313 > *72</P26313>
<!-- Call Forward Unconditionally (All) - Off -->
<!-- String -->
<P26314 > *73</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>
<!-- ################################################################### -->
<!-- Account 5 - GXP2160/2170 only -->
<!-- ################################################################### -->
<!-- ######################################### -->
<!-- Account 5/General Settings -->
<!-- ######################################### -->
<!-- Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
{if isset($user_password_5)}
<P1701 > 1</P1701>
{else}
<P1701 > 0</P1701>
{/if}
<!-- Account Name -->
<!-- String -->
<P1717 > {$display_name_5}</P1717>
<!-- SIP Server -->
<!-- String -->
<P1702 > {$server_address_5}</P1702>
<!-- Secondary SIP Server -->
<!-- String -->
<P2712 > </P2712>
<!-- Outbound Proxy -->
<!-- String -->
<P1703 > {$outbound_proxy_5}</P1703>
<!-- Backup Outbound Proxy -->
<!-- String -->
2017-08-17 08:24:30 +02:00
<P2733 > {$outbound_proxy_secondary_5}</P2733>
2017-06-09 00:21:47 +02:00
<!-- BLF Server -->
<!-- String -->
<P2775 > </P2775>
<!-- SIP User ID -->
<!-- String -->
<P1704 > {$user_id_5}</P1704>
<!-- Authenticate ID -->
<!-- String -->
<P1705 > {$auth_id_5}</P1705>
<!-- Authenticate Password -->
<!-- String -->
<P1706 > {$user_password_5}</P1706>
<!-- Name -->
<!-- String -->
<P1707 > {$display_name_5}</P1707>
<!-- Voice Mail UserID -->
<!-- String -->
<P1726 > *97</P1726>
<!-- ######################################### -->
<!-- Account 5/Network Settings -->
<!-- ######################################### -->
<!-- DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_dns_modee_5) }
<P1708 > {$grandstream_dns_modee_5}</P1708>
2017-06-09 00:21:47 +02:00
{else}
<P1708 > 0</P1708>
{/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 -->
<P26440 > 0</P26440>
<!-- Primary IP. Maximum 15 characters -->
<!-- String -->
<P2708 > </P2708>
<!-- Backup IP 1 -->
<!-- String -->
<P2709 > </P2709>
<!-- Backup IP 2 -->
<!-- String -->
<P2710 > </P2710>
<!-- 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($nat_traversal_5) }
<P1714 > {$nat_traversal_5}</P1714>
{else}
<P1714 > 0</P1714>
{/if}
<!-- Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- String -->
<P1718 > </P1718>
<!-- ######################################### -->
<!-- Account 5/SIP Settings/Basic Settings -->
<!-- ######################################### -->
<!-- TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1709 > 0</P1709>
<!-- SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1710 > 1</P1710>
<!-- Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1711 > 0</P1711>
<!-- Register Expiration (in minutes. default 1 hour, max 45 days) -->
<!-- Number: 1 - 64800 -->
<!-- Mandatory -->
<P1712 > 3</P1712>
<!-- Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- Number: 1 - 64800 -->
<!-- Mandatory -->
<P26451 > 60</P26451>
<!-- Reregister before Expiration (in seconds) Default is 0 -->
<!-- Number: 0 - 64800 -->
<!-- Mandatory -->
<P2730 > 0</P2730>
<!-- Local SIP Port. Default is 5068 -->
<!-- Number -->
<!-- Mandatory -->
<P1713 > 5068</P1713>
<!-- SIP Registration Failure Retry Wait Time (in seconds). Default is 20 -->
<!-- Number: 1 - 3600 -->
<!-- Mandatory -->
<P1771 > 20</P1771>
<!-- 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 -->
<P1740 > 50</P1740>
<!-- 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 -->
<P1741 > 400</P1741>
<!-- SIP Transport. 0 - UDP, 1 - TCP. 2 - TCP/TLS. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
{$tp=0}
{if $sip_transport_5 == 'udp'}{$tp=0}{/if}
{if $sip_transport_5 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_5 == 'tls'}{$tp=2}{/if}
{if $sip_transport_5 == 'dns srv'}{$tp=1}{/if}
<P1748 > {$tp}</P1748>
<!-- SIP Listening Mode. -->
<!-- 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- Number: 0,1,2,3 -->
<!-- Mandatory -->
<P26424 > 0</P26424>
<!-- SIP URI Scheme when using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2729 > 1</P2729>
<!-- Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2731 > 0</P2731>
<!-- Remove OBP from Route. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2705 > 0</P2705>
<!-- Support SIP Instace ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1789 > 1</P1789>
<!-- 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)}
<P1715 > 1</P1715>
{else}
<P1715 > 0</P1715>
{/if}
<!-- SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2719 > 0</P2719>
<!-- Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1735 > 0</P1735>
<!-- Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
2017-06-28 06:58:45 +02:00
<P2724 > 0</P2724>
2017-06-09 00:21:47 +02:00
<!-- Add Auth Header On Initial REGISTER -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2759 > 0</P2759>
<!-- Allow SIP Reset -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26415 > 0</P26415>
<!-- Ignore Alert - Info header -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26418 > 0</P26418>
<!-- ############################################################## -->
<!-- Account 5/SIP Settings/Custom SIP Headers -->
<!-- ############################################################## -->
<!-- Use Privacy Header -->
<!-- 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P2738 > 0</P2738>
<!-- Use P - Preferred - Identity Header -->
<!-- 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P2739 > 0</P2739>
<!-- Use X - Grandstream - PBX Header -->
<!-- 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26454 > 1</P26454>
<!-- Use P - Access - Network - Info Header -->
<!-- 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26458 > 1</P26458>
<!-- Use P - Emergency - Info Header -->
<!-- 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26459 > 1</P26459>
<!-- ######################################### -->
<!-- Account 5/SIP Settings/Advanced Features -->
<!-- ######################################### -->
<!-- Line - Seize Timeout (in seconds). Default is 15 -->
<!-- Number: 15 - 60 -->
<!-- Mandatory -->
<P2713 > 15</P2713>
<!-- Eventlist BLF URI -->
<!-- String -->
<P1744 > </P1744>
<!-- Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- Number:0,1 -->
<!-- Mandatory -->
<P2789 > 0</P2789>
<!-- Conference URI -->
<!-- String -->
<P2718 > </P2718>
<!-- Music On Hold URI -->
<!-- String -->
<P2750 > </P2750>
<!-- Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6756 > 0</P6756>
<!-- BLF Call - pickup Prefix. Default is ** -->
<!-- String -->
<!-- Mandatory -->
<P1781 > **</P1781>
<!-- Call Pickup Barge - In Code -->
<!-- String -->
<!-- P26446></P26446> -->
<!-- PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1788 > 0</P1788>
<!-- Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2755 > 0</P2755>
<!-- Special Feature. 100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS. Default is 100 -->
<!-- Number: 100, 101, 102, 108, 109, 110, 117 -->
<!-- Mandatory -->
<P1724 > 100</P1724>
<!-- Broadsoft -->
<!-- Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2741 > 0</P2741>
<!-- Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2742 > 0</P2742>
<!-- Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2743 > 0</P2743>
<!-- Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2764 > 0</P2764>
<!-- Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2725 > 0</P2725>
<!-- Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2788 > 0</P2788>
<!-- ######################################### -->
<!-- Account 5/SIP Settings/Session Timer -->
<!-- ######################################### -->
<!-- Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2795 > 1</P2795>
<!-- Session Expiration (in seconds). Default is 180 -->
<!-- Number: 90 - 64800 -->
<!-- Mandatory -->
<P1734 > 180</P1734>
<!-- Minimum SE (in seconds). Default is 90. The value must be lower than or equal to P1734 -->
<!-- Number: 90 - 64800 -->
<!-- Mandatory -->
<P1727 > 90</P1727>
<!-- Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1728 > 0</P1728>
<!-- 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 -->
<P1729 > 0</P1729>
<!-- Force Timer (Still use timer when remote party does not support timer). 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1730 > 0</P1730>
<!-- UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1732 > 0</P1732>
<!-- UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- Number: 1, 2 -->
<!-- Mandatory -->
<P1733 > 1</P1733>
<!-- 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 -->
<P1731 > 0</P1731>
<!-- ######################################### -->
<!-- Account 5/SIP Settings/Security Settings -->
<!-- ######################################### -->
<!-- Check Domain Certificates. When set to Yes/Enabled, domain certificate will be checked as defined in RFC5922 -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2711 > 0</P2711>
<!-- Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2767 > 0</P2767>
<!-- Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2706 > 0</P2706>
<!-- Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1749 > 0</P1749>
<!-- Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2747 > 0</P2747>
<!-- Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2746 > 0</P2746>
<!-- ######################################### -->
<!-- Account 5/Audio Settings -->
<!-- ######################################### -->
<!-- Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2701 > 0</P2701>
<!-- Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2702 > 1</P2702>
<!-- Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2703 > 0</P2703>
<!-- OPUS Payload Type. Default is 123 -->
<!-- Number: 96 - 127 -->
<!-- Mandatory -->
<P2785 > 123</P2785>
<!-- DTMF Payload Type. Default is 101 -->
<!-- Number: 96 - 127 -->
<!-- Mandatory -->
<P1796 > 101</P1796>
<!-- Preferred Vocoder -->
<!-- 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- choice 1. Default is 0 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1751 > 0</P1751>
<!-- choice 2. Default is 8 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1752 > 8</P1752>
<!-- choice 3. Default is 4 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1753 > 4</P1753>
<!-- choice 4. Default is 18 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1754 > 18</P1754>
<!-- choice 5. Default is 9 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1755 > 9</P1755>
<!-- choice 6. Default is 98 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1756 > 98</P1756>
<!-- choice 7. Default is 2 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1757 > 2</P1757>
<!-- choice 8. Default is 125 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1758 > 125</P1758>
<!-- Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2748 > 0</P2748>
<!-- Disable Multiple m line in SDP -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1787 > 0</P1787>
<!-- SRTP Mode -->
<!-- 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1743 > 0</P1743>
<!-- Crypto Life Time -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2763 > 0</P2763>
<!-- Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1760 > 0</P1760>
<!-- Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1785 > 0</P1785>
<!-- 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 -->
<P1786 > 2</P1786>
<!-- G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1793 > 1</P1793>
<!-- G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2723 > 0</P2723>
<!-- iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1795 > 1</P1795>
<!-- iLBC Payload Type. Default is 97 -->
<!-- Number: 96 - 127 -->
<!-- Mandatory -->
<P1794 > 97</P1794>
<!-- Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1798 > 1</P1798>
<!-- Jitter Buffer Length. 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms. Default is 2 -->
<!-- Number: 0 - 7 -->
<!-- Mandatory -->
<P1797 > 2</P1797>
<!-- Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- Default is 0 -->
<!-- Number: 0,1 -->
<!-- Mandatory -->
<P26447 > 0</P26447>
<!-- DTMF Delay. Default is 250 -->
<!-- Number: 100 - 250 -->
<!-- Mandatory -->
<P26460 > 250</P26460>
<!-- ######################################### -->
<!-- Account 5/Call Settings -->
<!-- ######################################### -->
<!-- Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1722 > 0</P1722>
<!-- Dial Plan Prefix -->
<!-- String -->
<P1719 > </P1719>
<!-- Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- String -->
<!-- Mandatory -->
<P1759 > { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ | \+x+ | \p\a\r\k\+*x+ }</P1759>
<!-- Call Log. 0 - Log All, 1 - Log Incoming/Outgoing only (Missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1742 > 0</P1742>
<!-- Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- Number: 0, 1, 2, 3, 4 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_account_ring_tone_5)||$grandstream_account_ring_tone_5==0}
<P1723 > {$grandstream_account_ring_tone_5}</P1723>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Incoming Caller ID. Matching Rule 1. -->
<!-- String -->
<P1512 > </P1512>
<!-- Matching Rule 1 Distinctive Ringtone. -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1513 > 0</P1513>
<!-- Matching Incoming Caller ID. Matching Rule 2 -->
<!-- String -->
<P1514 > </P1514>
<!-- Matching Rule 2 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1515 > 0</P1515>
<!-- Matching Incoming Caller ID. Matching Rule 3 -->
<!-- String -->
<P1516 > </P1516>
<!-- Matching Rule 3 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1517 > 0</P1517>
<!-- Ring Timeout (in seconds). Default is 60 -->
<!-- Number: 30 - 3600 -->
<!-- Mandatory -->
<P1776 > 60</P1776>
<!-- Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1721 > 0</P1721>
<!-- Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1746 > 0</P1746>
<!-- Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1725 > 0</P1725>
<!-- Allow Auto Answer by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1738 > 0</P1738>
<!-- Allow Barging by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26419 > 0</P26419>
<!-- Custom Call - Info for Auto Answer -->
<!-- String -->
<P2756 > </P2756>
<!-- Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1769 > 0</P1769>
<!-- Transfer on conference Hang - Up. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2704 > 0</P2704>
<!-- Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2784 > 0</P2784>
<!-- No Key Entry Timeout. Default is 4 -->
<!-- Number: 1 - 15 -->
<!-- Mandatory -->
<P1791 > 4</P1791>
<!-- Key As Send. 0 - Disabled, 1 - Pound(#), 2 - Star(*). Default is 1 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1792 > 1</P1792>
<!-- On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26406 > 0</P26406>
<!-- ######################################### -->
<!-- Account 5/Feature Codes -->
<!-- ######################################### -->
<!-- Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1720 > 1</P1720>
<!-- Do Not Disturb (DND) - On -->
<!-- String -->
<P2744 > *78</P2744>
<!-- Do Not Disturb (DND) - Off -->
<!-- String -->
<P2745 > *79</P2745>
<!-- Call Forward Unconditionally (All) - On -->
<!-- String -->
<P26413 > *72</P26413>
<!-- Call Forward Unconditionally (All) - Off -->
<!-- String -->
<P26414 > *73</P26414>
<!-- Call Forward Busy - On -->
<!-- String -->
<P26409 > </P26409>
<!-- Call Forward Busy - Off -->
<!-- String -->
<P26410 > </P26410>
<!-- Call Forward Delayed (No Answer) - On -->
<!-- String -->
<P26411 > </P26411>
<!-- Call Forward Delayed (No Answer) - Off -->
<!-- String -->
<P26412 > </P26412>
<!-- Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- Number: 1 - 120 -->
<!-- Mandatory -->
<P1770 > </P1770>
<!-- ################################################################### -->
<!-- Account 6 - GXP2160/2170 only -->
<!-- ################################################################### -->
<!-- ######################################### -->
<!-- Account 6/General Settings -->
<!-- ######################################### -->
<!-- Account Active. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
{if isset($user_password_6)}
<P1801 > 1</P1801>
{else}
<P1801 > 0</P1801>
{/if}
<!-- Account Name -->
<!-- String -->
<P1817 > {$display_name_6}</P1817>
<!-- SIP Server -->
<!-- String -->
<P1802 > {$server_address_6}</P1802>
<!-- Secondary SIP Server -->
<!-- String -->
<P2812 > </P2812>
<!-- Outbound Proxy -->
<!-- String -->
<P1803 > {$outbound_proxy_6}</P1803>
<!-- Backup Outbound Proxy -->
<!-- String -->
2017-08-17 08:24:30 +02:00
<P2833 > {$outbound_proxy_secondary_6}</P2833>
2017-06-09 00:21:47 +02:00
<!-- BLF Server -->
<!-- String -->
<P2875 > </P2875>
<!-- SIP User ID -->
<!-- String -->
<P1804 > {$user_id_6}</P1804>
<!-- Authenticate ID -->
<!-- String -->
<P1805 > {$auth_id_6}</P1805>
<!-- Authenticate password -->
<!-- String -->
<P1806 > {$user_password_6}</P1806>
<!-- Display Name -->
<!-- String -->
<P1807 > {$display_name_6}</P1807>
<!-- Voice Mail UserID -->
<!-- String -->
<P1826 > *97</P1826>
<!-- ######################################### -->
<!-- Account 6/Network Settings -->
<!-- ######################################### -->
<!-- DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_dns_modee_6) }
<P1808 > {$grandstream_dns_modee_6}</P1808>
2017-06-09 00:21:47 +02:00
{else}
<P1808 > 0</P1808>
{/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 -->
<P26540 > 0</P26540>
<!-- Primary IP. Maximum 15 characters -->
<!-- String -->
<P2808 > </P2808>
<!-- Backup IP 1 -->
<!-- String -->
<P2809 > </P2809>
<!-- Backup IP 2 -->
<!-- String -->
<P2810 > </P2810>
<!-- 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($nat_traversal_6) }
<P1814 > {$nat_traversal_6}</P1814>
{else}
<P1814 > 0</P1814>
{/if}
<!-- Proxy - Require (A SIP extension to enable firewall penetration). Max length is 64 characters -->
<!-- String -->
<!-- Mandatory -->
<P1818 > </P1818>
<!-- ######################################### -->
<!-- Account 6/SIP Settings/Basic Settings -->
<!-- ######################################### -->
<!-- TEL URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1809 > 0</P1809>
<!-- SIP Registration. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1810 > 1</P1810>
<!-- Unregister On Reboot. 0 - No, 1 - Yes, 2 - Instance. Default is 0. -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1811 > 0</P1811>
<!-- Register Expiration (in minutes). Default is 60. Max is 45 days -->
<!-- Number: 1 - 64800 -->
<!-- Mandatory -->
<P1812 > 3</P1812>
<!-- Subscribe Expiration. Default is 60. Max about 45 days -->
<!-- Number: 1 - 64800 -->
<!-- Mandatory -->
<P26551 > 60</P26551>
<!-- Reregister before Expiration (in seconds). Default is 0 -->
<!-- Number: 1 - 64800 -->
<!-- Mandatory -->
<P2830 > 0</P2830>
<!-- Local SIP Port. Default is 5070 -->
<!-- Number -->
<!-- Mandatory -->
<P1813 > 5070</P1813>
<!-- SIP Registration Failure Retry Wait Time (in seconds) Default is 20 -->
<!-- Number: 1 - 3600 -->
<!-- Mandatory -->
<P1871 > 20</P1871>
<!-- 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 -->
<P1840 > 50</P1840>
<!-- 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 -->
<P1841 > 400</P1841>
<!-- SIP Transport. 0 - UDP, 1 - TCP, 2 - TCP/TLS. Default is 2 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
{$tp=0}
{if $sip_transport_6 == 'udp'}{$tp=0}{/if}
{if $sip_transport_6 == 'tcp'}{$tp=1}{/if}
{if $sip_transport_6 == 'tls'}{$tp=2}{/if}
{if $sip_transport_6 == 'dns srv'}{$tp=1}{/if}
<P1848 > {$tp}</P1848>
<!-- SIP Listening Mode. -->
<!-- 0 - Transport Only, 1 - Dual, 2 - Dual (BLF Enforced), 3 - Dual (Secured). Default is 0 -->
<!-- Number: 0,1,2,3 -->
<!-- Mandatory -->
<P26524 > 0</P26524>
<!-- SIP URI Scheme when using TLS. 0 - sip, 1 - sips. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2829 > 1</P2829>
<!-- Use Actual Ephemeral Port in Contact with TCP/TLS. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2831 > 0</P2831>
<!-- Remove OBP from Route. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2805 > 0</P2805>
<!-- Support SIP Instace ID. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1889 > 1</P1889>
<!-- 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)}
<P1815 > 1</P1815>
{else}
<P1815 > 0</P1815>
{/if}
<!-- SUBSCRIBE for Registration. 0 - No, 1 - Yes. Default is 0. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2819 > 0</P2819>
<!-- Enable 100rel. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1835 > 0</P1835>
<!-- Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
2017-06-28 06:58:45 +02:00
<P2824 > 0</P2824>
2017-06-09 00:21:47 +02:00
<!-- Add Auth Header On Initial REGISTER -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2859 > 0</P2859>
<!-- Allow SIP Reset -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26515 > 0</P26515>
<!-- Ignore Alert - Info header -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26518 > 0</P26518>
<!-- ############################################################## -->
<!-- Account 6/SIP Settings/Custom SIP Headers -->
<!-- ############################################################## -->
<!-- Use Privacy Header -->
<!-- 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P2838 > 0</P2838>
<!-- Use P - Preferred - Identity Header -->
<!-- 0 - Default, 1 - No, 2 - Yes. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P2839 > 0</P2839>
<!-- Use X - Grandstream - PBX Header -->
<!-- 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26554 > 1</P26554>
<!-- Use P - Access - Network - Info Header -->
<!-- 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26558 > 1</P26558>
<!-- Use P - Emergency - Info Header -->
<!-- 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26559 > 1</P26559>
<!-- ######################################### -->
<!-- Account 6/SIP Settings/Advanced Features -->
<!-- ######################################### -->
<!-- Line - Seize Timeout (in seconds). Default is 15 -->
<!-- Number: 15 - 60 -->
<!-- Mandatory -->
<P2813 > 15</P2813>
<!-- Eventlist BLF URI -->
<!-- String -->
<P1844 > </P1844>
<!-- Auto Provision Eventlist BLFs. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- Number:0,1 -->
<!-- Mandatory -->
<P2889 > 0</P2889>
<!-- Conference URI -->
<!-- String -->
<P2818 > </P2818>
<!-- Music On Hold URI -->
<!-- String -->
<P2850 > </P2850>
<!-- Force BLF Call - pickup by prefix. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6757 > 0</P6757>
<!-- BLF Call - pickup Prefix. Default is ** -->
<!-- String -->
<!-- Mandatory -->
<P1881 > **</P1881>
<!-- Call Pickup Barge - In Code -->
<!-- String -->
<P26546 > </P26546>
<!-- PUBLISH for Presence. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1888 > 0</P1888>
<!-- Omit charset=UTF - 8 in MESSAGE. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2855 > 0</P2855>
<!-- Special Feature.100 - Standard, 101 - Nortel MCS, 102 - Broadsoft, 108 - CBCOM, 109 - RNK, 110 - Sylantro, 117 - Huawei IMS. Default is 100 -->
<!-- Number: 100, 101, 102, 108, 109, 110, 117 -->
<!-- Mandatory -->
<P1824 > 100</P1824>
<!-- Broadsoft -->
<!-- Broadsoft Call Center. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2841 > 0</P2841>
<!-- Hoteling Event. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2842 > 0</P2842>
<!-- Call Center Status. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2843 > 0</P2843>
<!-- Broadsoft Executive Assistant. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2864 > 0</P2864>
<!-- Feature Key Synchronization. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2825 > 0</P2825>
<!-- Broadsoft Call Park. 0 - Disabled, 1 - Enabled. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2888 > 0</P2888>
<!-- ######################################### -->
<!-- Account 6/SIP Settings/Session Timer -->
<!-- ######################################### -->
<!-- Enable Session Timer. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2895 > 1</P2895>
<!-- Session Expiration (in seconds). Default is 180 -->
<!-- Number: 0 - 64800 -->
<!-- Mandatory -->
<P1834 > 180</P1834>
<!-- Minimum SE (in seconds). Default is 90. This value must be lower than or equal to P1834 -->
<!-- Number: 0 - 64800 -->
<!-- Mandatory -->
<P1827 > 90</P1827>
<!-- Caller Request Timer (Request for timer when calling). 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1828 > 0</P1828>
<!-- 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 -->
<P1829 > 0</P1829>
<!-- Force Timer (Still use timer when remote party does not support timer) -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1830 > 0</P1830>
<!-- UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1832 > 0</P1832>
<!-- UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1 -->
<!-- Number: 1, 2 -->
<!-- Mandatory -->
<P1833 > 1</P1833>
<!-- 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 -->
<P1831 > 0</P1831>
<!-- ######################################### -->
<!-- Account 6/SIP Settings/Security Settings -->
<!-- ######################################### -->
<!-- Check Domain Certificates. When set to Yes/Enabled, the domain certificate will be checked as defined in RFC5922 -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2811 > 0</P2811>
<!-- Validate Certification Chain. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2867 > 0</P2867>
<!-- Validate Incoming Messages. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2806 > 0</P2806>
<!-- Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1849 > 0</P1849>
<!-- Accept Incoming SIP from Proxy Only. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2847 > 0</P2847>
<!-- Authenticate Incoming INVITE. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2846 > 0</P2846>
<!-- ######################################### -->
<!-- Account 6/Audio Settings -->
<!-- ######################################### -->
<!-- Send DTMF: In - audio. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2801 > 0</P2801>
<!-- Send DTMF: Via RTP (RFC2833). 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2802 > 1</P2802>
<!-- Send DTMF: Via SIP INFO. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2803 > 0</P2803>
<!-- OPUS Payload Type. Default is 123 -->
<!-- Number: 96 - 127 -->
<!-- Mandatory -->
<P2885 > 123</P2885>
<!-- DTMF Payload Type. Default is 101 -->
<!-- Number: 96 - 127 -->
<!-- Mandatory -->
<P1896 > 101</P1896>
<!-- Preferred Vocoder -->
<!-- 0 - PCMU, 2 - G.726 - 32, 8 - PCMA, 9 - G.722, 18 - G.729A/B, 4 - G.723.1, 98 - iLBC, 125 - OPUS -->
<!-- choice 1. Default is 0 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1851 > 0</P1851>
<!-- choice 2. Default is 8 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1852 > 8</P1852>
<!-- choice 3. Default is 4 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1853 > 4</P1853>
<!-- choice 4. Default is 18 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1854 > 18</P1854>
<!-- choice 5. Default is 9 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1855 > 9</P1855>
<!-- choice 6. Default is 98 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1856 > 98</P1856>
<!-- choice 7. Default is 2 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1857 > 2</P1857>
<!-- choice 8. Default is 125 -->
<!-- Number: 0, 2, 4, 8, 9, 18, 98, 125 -->
<!-- Mandatory -->
<P1858 > 125</P1858>
<!-- Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2848 > 0</P2848>
<!-- Disable Multiple m line in SDP -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1887 > 0</P1887>
<!-- SRTP Mode -->
<!-- 0 - Disabled, 1 - Enabled but not forced, 2 - Enabled and forced, 3 - Optional. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1843 > 0</P1843>
<!-- Crypto Life Time -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2863 > 0</P2863>
<!-- Symmetric RTP. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1860 > 0</P1860>
<!-- Silence Suppression 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1885 > 0</P1885>
<!-- 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 -->
<P1886 > 2</P1886>
<!-- G723 Rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1893 > 1</P1893>
<!-- G.726 - 32 Packing Mode. 0 - ITU, 1 - IETF. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2823 > 0</P2823>
<!-- iLBC Frame Size. 0 - 20ms, 1 - 30ms. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1895 > 1</P1895>
<!-- iLBC Payload Type. Default is 97 -->
<!-- Number: 96 - 127 -->
<!-- Mandatory -->
<P1894 > 97</P1894>
<!-- Jitter Buffer Type. 0 - Fixed, 1 - Adaptive. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1898 > 1</P1898>
<!-- Jitter Buffer Length. 0 - 100ms, 1 - 200ms, 2 - 300ms, 3 - 400ms, 4 - 500ms, 5 - 600ms, 6 - 700ms, 7 - 800ms. Default is 2 -->
<!-- Number: 0 - 7 -->
<!-- Mandatory -->
<P1897 > 2</P1897>
<!-- Hide Vocoder. 0 - No, 1 - Yes. Default is 0 -->
<!-- Default is 0 -->
<!-- Number: 0,1 -->
<!-- Mandatory -->
<P26547 > 0</P26547>
<!-- DTMF Delay. Default is 250 -->
<!-- Number: 100 - 250 -->
<!-- Mandatory -->
<P26560 > 250</P26560>
<!-- ######################################### -->
<!-- Account 6/Call Settings -->
<!-- ######################################### -->
<!-- Early Dial (use "Yes" only if proxy supports 484 response). 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1822 > 0</P1822>
<!-- Dial Plan Prefix -->
<!-- String -->
<P1819 > </P1819>
<!-- Dial Plan. Default is { x+ | \+x+ | *x+ | *xx*x+ } -->
<!-- String -->
<!-- Mandatory -->
<P1859 > { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ | \+x+ | \p\a\r\k\+*x+ }</P1859>
<!-- Call Log. 0 - Log All, 1 - Log Incoming/Outgoing only (Missed calls NOT recorded), 2 - Disable Call Log. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1842 > 0</P1842>
<!-- Account Ring Tone. 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone, 4 - silent. Default is 0 -->
<!-- Number: 0, 1, 2, 3, 4 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_account_ring_tone_6)||$grandstream_account_ring_tone_6==0}
<P1823 > {$grandstream_account_ring_tone_6}</P1823>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Matching Incoming Caller ID. Matching Rule 1 -->
<!-- String -->
<P1518 > </P1518>
<!-- Matching Rule 1 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1519 > 0</P1519>
<!-- Matching Incoming Caller ID. Matching Rule 2 -->
<!-- String -->
<P1520 > </P1520>
<!-- Matching Rule 2 Distinctive Ringtone. -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1521 > 0</P1521>
<!-- Matching Incoming Caller ID. Matching Rule 3 -->
<!-- String -->
<P1522 > </P1522>
<!-- Matching Rule 3 Distinctive Ringtone -->
<!-- 0 - system ring tone, 1 - custom ring tone 1, 2 - custom ring tone 2, 3 - custom ring tone 3. Default is 0 -->
<!-- Number: 0, 1, 2, 3 -->
<!-- Mandatory -->
<P1523 > 0</P1523>
<!-- Ring Timeout (in seconds). Default is 60 -->
<!-- Number: 30 - 3600 -->
<!-- Mandatory -->
<P1876 > 60</P1876>
<!-- Send Anonymous (caller ID will be blocked if set to Yes). 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1821 > 0</P1821>
<!-- Anonymous Call Rejection. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1846 > 0</P1846>
<!-- Auto Answer. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1825 > 0</P1825>
<!-- Allow Auto Answer by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1838 > 0</P1838>
<!-- Allow Barging by Call - Info. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26519 > 0</P26519>
<!-- Custom Call - Info for Auto Answer. -->
<!-- String -->
<P2856 > </P2856>
<!-- Refer - To Use Target Contact. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1869 > 0</P1869>
<!-- Transfer on conference Hang - Up. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2804 > 0</P2804>
<!-- Disable Recovery on Blind Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2884 > 0</P2884>
<!-- No Key Entry Timeout. -->
<!-- Number: 0, 1 -->
<P1891 > 4</P1891>
<!-- Key As Send. 0 - Disabled, 1 - Pound(#), 2 - Star(*). Default is 1 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1892 > 1</P1892>
<!-- On Hold Reminder Tone. 0 - Disabled, 1 - Enable. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P26506 > 0</P26506>
<!-- ######################################### -->
<!-- Account 6/Feature Codes -->
<!-- ######################################### -->
<!-- Enable Call Features. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1820 > 1</P1820>
<!-- Do Not Disturb (DND) - On -->
<!-- String -->
<P2844 > *78</P2844>
<!-- Do Not Disturb (DND) - Off -->
<!-- String -->
<P2845 > *79</P2845>
<!-- Call Forward Unconditionally (All) - On -->
<!-- String -->
<P26513 > *72</P26513>
<!-- Call Forward Unconditionally (All) - Off -->
<!-- String -->
<P26514 > *73</P26514>
<!-- Call Forward Busy - On -->
<!-- String -->
<P26509 > </P26509>
<!-- Call Forward Busy - Off -->
<!-- String -->
<P26510 > </P26510>
<!-- Call Forward Delayed (No Answer) - On -->
<!-- String -->
<P26511 > </P26511>
<!-- Call Forward Delayed (No Answer) - Off -->
<!-- String -->
<P26512 > </P26512>
<!-- Delayed Call Forward Wait Time (in seconds). Default is 20 -->
<!-- Number: 1 - 120 -->
<!-- Mandatory -->
<P1870 > </P1870>
<!-- ################################################################## -->
<!-- # Network/Basic Settings ## -->
<!-- ################################################################## -->
<!-- Internet Protocol. 0 - Prefer IPv4, 1 - Prefer IPv6. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1415 > 0</P1415>
<!-- IP Address Mode. 0 - DHCP, 1 - Static IP, 2 - PPPoE. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<!-- P8>0</P8> -->
<!-- ######################################### -->
<!-- DHCP -->
<!-- ######################################### -->
<!-- Host name, DHCP option 12. Max length allowed is 64 characters -->
<!-- String -->
<P146 > </P146>
<!-- Vendor Class ID, DHCP option 60. Max length allowed is 64 characters -->
<!-- String -->
<!-- For GXP2130, Default value is Grandstream GXP2130. -->
<!-- P148>Grandstream GXP2130</P148> -->
<!-- For GXP2140, Default value is Grandstream GXP2140. -->
<!-- P148>Grandstream GXP2140</P148> -->
<!-- For GXP2160, Default value is Grandstream GXP2160. -->
<!-- P148>Grandstream GXP2160</P148> -->
<!-- For GXP2170, Default value is Grandstream GXP2170. -->
<!-- P148>Grandstream GXP2170</P148> -->
<!-- For GXP2135, Default value is Grandstream GXP2135. -->
<!-- P148>Grandstream GXP2135</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>0</P11> -->
<!-- Number: 0 - 255 -->
<!-- <P12>160</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>0</P17> -->
<!-- Number: 0 - 255 -->
<!-- <P18>0</P18> -->
<!-- Number: 0 - 255 -->
<!-- <P19>0</P19> -->
<!-- Number: 0 - 255 -->
<!-- <P20>0</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>
<!-- HTTP Proxy -->
<!-- String -->
<P1552 > </P1552>
<!-- HTTPS Proxy -->
<!-- String -->
<P1553 > </P1553>
<!-- 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 > 0</P8300>
<!-- Layer 2 QoS. 802.1Q/VLAN Tag (VLAN classification for RTP). Default is 0 -->
<!-- Number: 0 - 4094 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_lan_port_vlan) }
<P51 > {$grandstream_lan_port_vlan}</P51>
2017-06-09 00:21:47 +02:00
{else}
<P51 > 0</P51>
{/if}
<!-- 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 -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_pc_port_vlan) }
<P229 > {$grandstream_pc_port_vlan}</P229>
2017-06-09 00:21:47 +02:00
{else}
<P229 > 1</P229>
{/if}
<!-- PC Port Priority Value. Default is 0 -->
<!-- Number: 0 - 7 -->
<!-- Mandatory -->
<P230 > 0</P230>
<!-- 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>
<!-- Show Internet Down Nessage. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P8370 > 0</P8370>
<!-- ############################################################################# -->
<!-- # Network/OpenVPN Settings ## -->
<!-- ############################################################################# -->
<!-- OpenVPN Enable. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P7050 > 0</P7050>
<!-- OpenVPN Server Address -->
<!-- String -->
<P7051 > </P7051>
<!-- OpenVPN Port. Default is 1194 -->
<!-- Number -->
<!-- Mandatory -->
<P7052 > 1194</P7052>
<!-- OpenVPN Transport. 0 - UDP, 1 - TCP. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2912 > 0</P2912>
<!-- ############################################################################# -->
<!-- # 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 -->
<P2 > {$admin_password}</P2>
<!-- ############################################################################# -->
<!-- # 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>
<!-- XML Config File Password -->
<!-- String -->
<P1359 > </P1359>
<!-- HTTP/HTTPS User Name -->
<!-- String -->
<P1360 > {$http_auth_username}</P1360>
<!-- HTTP/HTTPS Password -->
<!-- String -->
<P1361 > {$http_auth_password}</P1361>
<!-- Always Authenticate Before Challenge. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P20713 > 0</P20713>
<!-- Upgrade Via. 0 - TFTP, 1 - HTTP, 2 - HTTPS. Default is 2 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P212 > 2</P212>
<!-- Firmware Server Path Default fm.grandstream.com/gs -->
<!-- String -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_firmware_path)}
<P192 > {$grandstream_firmware_path}</P192>
2017-06-09 00:21:47 +02:00
{else}
<P192 > {$domain_name}{$project_path}/app/provision</P192>
{/if}
<!-- Config Server Path Default fm.grandstream.com/gs -->
<!-- String -->
2017-07-29 06:51:24 +02:00
{if $grandstream_config_server_path=="none"}
2017-06-09 00:21:47 +02:00
<P237 > </P237>
2017-07-29 06:51:24 +02:00
{elseif isset($grandstream_config_server_path)}
<P237 > {$grandstream_config_server_path}</P237>
2017-06-09 00:21:47 +02:00
{else}
<P237 > {$domain_name}{$project_path}/app/provision</P237>
{/if}
<!-- Firmware File Prefix -->
<!-- String -->
<P232 > </P232>
<!-- Firmware File Postfix -->
<!-- String -->
<P233 > </P233>
<!-- Config File Prefix -->
<!-- String -->
<P234 > </P234>
<!-- Config File Postfix -->
<!-- String -->
<P235 > </P235>
<!-- Allow DHCP Option 43 and Option 66 to override server. 0 - No, 1 - Yes. Default is 1 -->
<!-- When set to Yes(1), it will override the configured provision path and method -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P145 > 1</P145>
<!-- Additional Override DHCP Option. 0 - None, 1 - Option 150, 2 - Option 160. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P8337 > 0</P8337>
<!-- Allow DHCP Option 120 to Override SIP Server -->
<!-- 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1411 > 0</P1411>
<!-- 3CX Auto Provision. 0 - No, 1 - Yes. Default is Yes -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1414 > 1</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>
<!-- Hour of the Day (0 - 23). Default is 1 -->
<!-- Number: 0 - 23 -->
<P285 > 1</P285>
<!-- Day of the Week (0 - 6). Default is 1 -->
<!-- Number: 0 - 6 -->
<P286 > 1</P286>
<!-- Disable SIP NOTIFY Authentication. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0,1 -->
<!-- Mandatory -->
<P4428 > 0</P4428>
<!-- Authenticate Conf File. 0 - No, 1 - Yes. Default is No -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P240 > 0</P240>
<!-- ############################################################################# -->
<!-- # Maintenance/Syslog -->
<!-- ############################################################################# -->
<!-- Syslog Server (name of the server, max length is 64 characters) -->
<!-- String -->
2017-07-29 06:51:24 +02:00
<P207 > {$grandstream_syslog_server}</P207>
2017-06-09 00:21:47 +02:00
<!-- Syslog Level. 0 - NONE, 1 - DEBUG, 2 - INFO, 3 - WARNING, 4 - ERROR. Default is 0 -->
<!-- Number: 0, 1 , 2, 3, 4 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_syslog_level)}
<P208 > {$grandstream_syslog_level}</P208>
2017-06-09 00:21:47 +02:00
{else}
<P208 > 0</P208>
{/if}
<!-- 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 -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_send_sip_log)}
<P1387 > {$grandstream_send_sip_log}</P1387>
2017-06-09 00:21:47 +02:00
{else}
<P1387 > 0</P1387>
{/if}
<!-- 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. 0 - Yes, 1 - No. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2961 > 0</P2961>
<!-- ############################################################################# -->
<!-- # Maintenance/TR - 069 -->
<!-- ############################################################################# -->
<!-- ACS URL -->
<!-- String -->
<!-- P4503></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 > </P4511>
<!-- Connection Request Password -->
<!-- String: a - z, A - Z, 0 - 9 -->
<P4512 > </P4512>
<!-- Connection Request Port. Default is 0. -->
<!-- Number -->
<P4518 > 0</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>
<!-- ############################################################################# -->
<!-- # Maintenance/Security Settings/Security ## -->
<!-- ############################################################################# -->
<!-- Configuration Via Keypad Menu. 0 - Unrestricted, 1 - Basic settings only, 2 - Constraint mode. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1357 > 0</P1357>
<!-- Enable STAR key Keypad locking. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1382 > 0</P1382>
<!-- Password to lock/unlock (0 - 9 only) -->
<!-- Number -->
<P1383 > </P1383>
<!-- SIP TLS Certificate -->
<!-- String: a - z, A - Z, 0 - 9 -->
<!-- P280></P280> -->
<!-- SIP TLS Private Key -->
<!-- String: a - z, A - Z, 0 - 9 -->
<!-- P279></P279> -->
<!-- SIP TLS Private Key Password -->
<!-- String: a - z, A - Z, 0 - 9 -->
<P281 > </P281>
<!-- Web Access Mode. 0 - HTTPS, 1 - HTTP. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1650 > 1</P1650>
<!-- Disable SSH. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<P276 > 0</P276>
<!-- HTTP Web Port. Default is 80 -->
<!-- Number -->
<!-- Mandatory -->
<P22120 > 80</P22120>
<!-- HTTPS Web Port. Default is 443 -->
<!-- Number -->
<!-- Mandatory -->
<P22121 > 443</P22121>
<!-- Web/Keypad/Restrict mode Lockout Duration (0 - 60 minutes). Default is 5 -->
<!-- Number: 0 - 60 -->
<P1683 > 5</P1683>
<!-- ############################################################################# -->
<!-- # Maintenance/Security Settings/Trusted CA Certificates ## -->
<!-- ############################################################################# -->
<!-- ############################################################################# -->
<!-- # Maintenance/Packet Capture ## -->
<!-- ############################################################################# -->
<!-- With RTP Packets. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6007 > 0</P6007>
<!-- ############################################################################# -->
<!-- # Capture Location - GXP2140/2160/GXP2170 only -->
<!-- ############################################################################# -->
<!-- Capture Location. 0 - Internal Storage, 1 - USB. Default is 0 -->
<!-- Number: 0, 1. -->
<!-- Mandatory -->
<P2999 > 0</P2999>
<!-- ############################################################################# -->
<!-- # USB Filename - GXP2140/2160/GXP2170 only -->
<!-- ############################################################################# -->
<!-- USB Filename -->
<!-- String -->
<P6008 > </P6008>
<!-- ############################################################################# -->
<!-- # 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 -->
{if isset($contact_grandstream)}
<P330 > 1</P330>
{else}
<P330 > 0</P330>
{/if}
<!-- HTTP/HTTPS User Name -->
<!-- String -->
<P6713 > </P6713>
<!-- HTTP/HTTPS Password. -->
<!-- String -->
<P6714 > </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($contact_grandstream)}
2017-07-29 06:51:24 +02:00
<P331 > {$grandstream_phonebook_xml_server_path}{$mac}/</P331>
{elseif isset($grandstream_phonebook_xml_server_path)}
<P331 > {$grandstream_phonebook_xml_server_path}</P331>
2017-06-09 00:21:47 +02:00
{else}
<P331 > </P331>
{/if}
<!-- Phonebook Download Interval (in minutes) -->
<!-- Valid value range is 5 - 720. Default is 0 for disabled -->
<!-- NOTE: bug in Grandstream firmware - requries script to login and delete groups/contacts then reboot phone at night -->
<!-- Number: 0, 5 - 720; -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_phonebook_download_interval)}
<P332 > {$grandstream_phonebook_download_interval}</P332>
2017-06-09 00:21:47 +02:00
{else}
<P332 > 0</P332>
{/if}
<!-- Remove Manually - edited entries on Download. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P333 > 1</P333>
<!-- Sort Phonebook by. 0 - Last Name, 1 - First Name. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P2914 > 1</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_grandstream)}
<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 -->
2017-07-29 06:51:24 +02:00
<P8020 > {$grandstream_ldap_server}</P8020>
2017-06-09 00:21:47 +02:00
<!-- 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 -->
2017-07-29 06:51:24 +02:00
<P8022 > {$grandstream_ldap_base_dn}</P8022>
2017-06-09 00:21:47 +02:00
<!-- 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 > {$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 > {$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 -->
2017-07-29 06:51:24 +02:00
<P8025 > {$grandstream_ldap_number_filter}</P8025>
2017-06-09 00:21:47 +02:00
<!-- LDAP Name Filter -->
<!-- LDAP name filter is the filter used for name look ups. Please refer to user manual for examples -->
<!-- String -->
2017-07-29 06:51:24 +02:00
<P8026 > {$grandstream_ldap_name_filter}</P8026>
2017-06-09 00:21:47 +02:00
<!-- 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 -->
2017-07-29 06:51:24 +02:00
<P8028 > {$grandstream_ldap_name_attr}</P8028>
2017-06-09 00:21:47 +02:00
<!-- LDAP Number Attributes. This setting specifies the "number" attributes of each record which are returned in the LDAP search result -->
<!-- The setting allows the users to configure multiple space separated number attributes -->
<!-- String -->
2017-07-29 06:51:24 +02:00
<P8029 > {$grandstream_ldap_number_attr}</P8029>
2017-06-09 00:21:47 +02:00
<!-- LDAP Display Name. The entry information to be shown on phone LCD. Grandstream phones will display up to 3 fields -->
<!-- String -->
<P8030 > givenName sn title</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 > 1</P8035>
<!-- Outgoing calls. 0 - No, 1 - Yes. Default is 0 -->
<P8034 > 1</P8034>
<!-- Lookup Display Name -->
<!-- String -->
<P8036 > givenName sn title</P8036>
<!-- ############################################################################# -->
<!-- # 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>
<!-- Max Local RTP Port. Default is 5204. -->
<!-- Number: 1024 - 65400. -->
<!-- Mandatory -->
<P29608 > 5204</P29608>
<!-- Use Random Port. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P78 > 0</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}
<!-- Delay Registration. Default is 0. -->
<!-- Number: 0 - 90 -->
<!-- Mandatory -->
<P8359 > 0</P8359>
<!-- ############################################################################# -->
<!-- # Settings/Call Features -->
<!-- ############################################################################# -->
<!-- Off - hook Auto Dial -->
<!-- String -->
<P71 > </P71>
<!-- Off - hook Timeout (in seconds). Default is 30 -->
<!-- Number: 10 - 60 -->
<!-- Mandatory -->
<P1485 > 30</P1485>
<!-- 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 -->
<P91 > 0</P91>
<!-- Disable Call Waiting Tone. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P186 > 0</P186>
<!-- Ring for Call Waiting. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P22102 > 0</P22102>
<!-- 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>
<!-- 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>
<!-- Mute Key Functions While Idle. 0 - DND, 1 - Idle Mute, 2 - Disabled. Default is 0 -->
<!-- Number: 0,1,2 -->
<!-- Mandatory -->
<P1565 > 0</P1565>
<!-- Disable Transfer. 0 - No, 1 - Yes. Defauls is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1341 > 0</P1341>
<!-- In - call Dial Number on pressing transfer key -->
<!-- String -->
<P1525 > </P1525>
<!-- Auto - Attended Transfer. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_auto_attended_transfer) }
<P1376 > {$grandstream_auto_attended_transfer}</P1376>
2017-06-09 00:21:47 +02:00
{else}
<P1376 > 1</P1376>
{/if}
<!-- 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 > 0</P6760>
<!-- Saved Local Call Recording Location. 0 - Internal Storage 1 - USB. Default is 0. - for GXP2140/2160/2170 only -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6761 > 0</P6761>
<!-- User - Agent Prefix -->
<!-- String -->
<P8358 > </P8358>
<!-- Auto Provision List Starting Point. 0 - Extension Boards, 1 - VPKs, 2 - MPK . Default is 0. - VPK/MPK is for GXP2130 only. Extension Boards/VPK is for GXP2140/2160/2170. -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P8349 > 0</P8349>
<!-- 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>
<!-- ############################################################################# -->
<!-- # Settings/Multicast Paging -->
<!-- ############################################################################# -->
<!-- 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 -->
<!-- Number: 18, 0, 8, 2, 9, 98. Default is 0. -->
<!-- Mandatory -->
<P1568 > 0</P1568>
<!-- ## Multicast Listening ### -->
<!-- Priority 1 -->
<!-- Listening Address -->
<!-- String -->
<P1569 > </P1569>
<!-- Label -->
<!-- String -->
<P1570 > </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/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=440,f2=480,c=200/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. Our default is to let end - users set it -->
<!-- Mandatory -->
<!-- <P8352>3</P8352> -->
<!-- ############################################################################# -->
<!-- # Settings/Audio Control -->
<!-- ############################################################################# -->
<!-- HEADSET Key Mode. 0 - Default Mode, 1 - Toggle Headset/Speaker. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1312 > 0</P1312>
<!-- Headset Type. 0 - Normal, 1 - Plantronics EHS. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P6779 > 0</P6779>
<!-- EHS Headset Ring Tone. 0 - Normal, 1 - Plantronics EHS. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1487 > 0</P1487>
<!-- Always Ring Speaker. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1439 > 1</P1439>
<!-- Headset TX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1301 > 0</P1301>
<!-- Headset RX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
<P1302 > 0</P1302>
<!-- Handset TX gain(db). 1 - - 6, 0 - 0, 2 - +6. Default is 0 -->
<!-- Number: 0, 1, 2 -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_handset_tx_gain) }
<P1464 > {$grandstream_handset_tx_gain}</P1464>
2017-06-09 00:21:47 +02:00
{else}
<P1464 > 0</P1464>
{/if}
<!-- ############################################################################# -->
<!-- # Settings/LCD Display -->
<!-- ############################################################################# -->
<!-- Backlight Brightness. -->
<!-- Active. Default is 100. -->
<!-- Number: 10 - 100 -->
<!-- Mandatory -->
<P334 > 100</P334>
<!-- Idle. Default is 60. -->
<!-- Number: 0 - 100 -->
<!-- Mandatory -->
<P335 > 60</P335>
<!-- Active Backlight Timeout. Default is 1 -->
<!-- Number: 1 - 90 -->
<!-- Mandatory -->
<P8356 > 5</P8356>
<!-- Disable Missed Call Backlight. 0 - No, 1 - Yes. Default is 0 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P351 > 0</P351>
<!-- Softkeys -->
<!-- Hide System Softkey on Main Page. Next, History, ForwardAll, Redial -->
<!-- String -->
<P8348 > </P8348>
<!-- Virtual Multi - Purpose Keys -->
<!-- VPK Mode. 0 - Advanced, 1 - Traditional. Default is 0 -->
<!-- N5mber: 0, 1 -->
<!-- Mandatory -->
<P8369 > 0</P8369>
<!-- 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>
<!-- Wallpaper Settings -->
<!-- Wallpaper Source. 0 - Default, 1 - Download, 2 - USB(for GXP2140/2160/2170 only), 3 - Uploaded, 4 - Color Background -->
<!-- Mandatory -->
<!-- <P2916>0</P2916> -->
<!-- Wallpaper Server Path -->
<!-- String -->
<!-- <P2917></P2917> -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_wallpaper_url)}
2017-06-09 00:21:47 +02:00
<P2916 > 1</P2916>
2017-07-29 06:51:24 +02:00
<P2917 > {$grandstream_wallpaper_url}</P2917>
2017-06-09 00:21:47 +02:00
{else}
<P2916 > 0</P2916>
<P2917 > </P2917>
{/if}
<!-- Color Background. Default is #000000. -->
<!-- String -->
<P2921 > #000000</P2921>
<!-- Screensaver Settings -->
<!-- Screensaver. 0 - Off, 1 - On, 2 - On if no VPK is active. Default is 1 -->
<!-- Mandatory -->
<P2918 > 0</P2918>
<!-- Screensaver Source. 0 - Default, 1 - USB. Default is 0. - for GXP2140/2160/2170 only -->
<!-- Mandatory -->
<P6759 > 0</P6759>
<!-- Screensaver Timeout. Minutes. -->
<!-- Number: 3 - 60 -->
<!-- Mandatory -->
<P2919 > 3</P2919>
<!-- Screensaver Server Path. -->
<!-- String -->
<P934 > </P934>
<!-- Screensaver XML Download Interval -->
<!-- Number: 5 - 720. Default is 0 (disable auto downloading) -->
<!-- Mandatory -->
<P935 > 0</P935>
<!-- ############################################################################# -->
<!-- # Settings/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/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 -->
<P8333 > </P8333>
<!-- 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 -->
<!-- P value Web GUI Option -->
<!-- auto Automatic -->
<!-- TZA+12 GMT - 12:00 (International Date Line West) -->
<!-- TZB+11 GMT - 11:00 (Midway Island, Samoa) -->
<!-- HAW10 GMT - 10:00 (US Hawaiian Time) -->
<!-- AKST9AKDT GMT - 9:00 (US Alaska Time) -->
<!-- PST8PDT GMT - 8:00 (US Pacific Time, Los Angeles) -->
<!-- PST8PDT,M4.1.0,M10.5.0 GMT - 08:00 (Baja California) -->
<!-- MST7MDT GMT - 07:00 (US Mountain Time, Denver) -->
<!-- MST7 GMT - 07:00 (Mountain Time (Arizona, no DST)) -->
<!-- MST7MDT,M4.1.0,M10.5.0 GMT - 07:00 (Chihuahua, La Paz, Mazatlan) -->
<!-- CST6CDT GMT - 06:00 (Central Time) -->
<!-- CST+6 GMT - 06:00 (Central America) -->
<!-- CST6CDT,M4.1.0,M10.5.0 GMT - 06:00 (Guadalajara, Mexico City, Monterrey) -->
<!-- EST5EDT GMT - 05:00 (Eastern Time) -->
<!-- EST5 GMT - 05:00 (Eastern Time without daylight saving) -->
<!-- TZf+4:30 GMT - 04:30 (Caracas) -->
<!-- AST4ADT GMT - 04:00 (Atlantic Time) -->
<!-- AST4ADT,M4.1.0/00:01:00,M10.5.0/00:01:00 GMT - 04:00 (Atlantic Time (New Brunswick)) -->
<!-- NST+3:30NDT+2:30,M3.2.0/00:01:00,M11.1.0/00:01:00 GMT - 03:30 (Newfoundland Time) -->
<!-- TZK+3 GMT - 03:00 (Greenland) -->
<!-- BRST+3BRDT+2,M10.3.0,M2.3.0 GMT - 03:00 (Brazil, Sao Paulo) -->
<!-- UTC+3 GMT - 02:00 (Argentina) -->
<!-- TZL+2 GMT - 02:00 (Mid - Atlantic) -->
<!-- TZM+1 GMT - 01:00 (Azores, Cape Verdi Is.) -->
<!-- TZN+0 GMT (Edinburgh, Casablanca, Monrovia) -->
<!-- GMT+0BST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 GMT (London, Great Britain) -->
<!-- WET - 0WEST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 GMT (Lisbon, Portugal) -->
<!-- GMT+0IST - 1,M3.5.0/01:00:00,M10.5.0/02:00:00 GMT (Dublin, Ireland) -->
<!-- CET - 1CEST - 2,M3.5.0/02:00:00,M10.5.0/03:00:00 GMT+01:00 (Paris, Vienna, Warsaw, Roma, Madrid, Prague, Berlin, Budapest, Amsterdam, Belgium) -->
<!-- TZP - 2 GMT+02:00 (Israel, Cairo, Athens, Istanbul, Buchrest) -->
<!-- EET - 2EEST - 3,M3.5.0/03:00:00,M10.5.0/04:00:00 GMT+02:00 (Helsinki, Athens, Tallinn) -->
<!-- EET - 2EEST,M3.5.0/3,M10.5.0/4 GMT+02:00 (Kyiv, Ukraine) -->
<!-- TZQ - 3 GMT+03:00 (Kuwait, Baghdad, Tehran, Nairobi) -->
<!-- MSK - 3 GMT+03:00 (Moscow, Russia) -->
<!-- TZR - 4 GMT+04:00 (Abu Dhabi, Baku) -->
<!-- TZS - 5 GMT+05:00 (Islamabad, Ekaterinburg, Karachi, Tashkent) -->
<!-- TZT - 5:30 GMT+05:30 (Chennai, New Delhi, Mumbai) -->
<!-- TZU - 5:45 GMT+05:45 (Kathmandu) -->
<!-- TZV - 6 GMT+06:00 (Almaty, Astana, Dhaka, Novosibirsk) -->
<!-- TZW - 6:30 GMT+06:30 (Rangoon) -->
<!-- TZX - 7 GMT+07:00 (Bankok, Hanoi, Krasnoyarsk) -->
<!-- WIB - 7 GMT+07:00 (Jakarta) -->
<!-- TZY - 8 GMT+08:00 (Beijing, Taipei, Kuala Lumpur, Irkutsk) -->
<!-- SGT - 8 GMT+08:00 (Singapore) -->
<!-- ULAT - 8 GMT+08:00 (Ulaanbaatar, Mongolia) -->
<!-- WST - 8 GMT+08:00 (Perth) -->
<!-- TZZ - 9 GMT+09:00 (Japan, Korea, Yakutsk) -->
<!-- CST - 9:30CDT - 10:30,M10.5.0/02:00:00,M3.5.0/03:00:00 GMT+09:30 (Adelaide) -->
<!-- CST - 9:30 GMT+09:30 (Darwin) -->
<!-- TZb - 10 GMT+10:00 (Guam) -->
<!-- EST - 10EDT - 11,M10.1.0/02:00:00,M3.5.0/03:00:00 GMT+10:00 (Hobart) -->
<!-- EST - 10EDT - 11,M10.5.0/02:00:00,M3.5.0/03:00:00 GMT+10:00 (Sydney, Melbourne, Canberra) -->
<!-- EST - 10 GMT+10:00 (Brisbane) -->
<!-- TZc - 11 GMT+11:00 (Magadan, Solomon Is., New Caledonia) -->
<!-- NZST - 12NZDT - 13,M9.5.0/02:00:00,M4.1.0/03:00:00 GMT+12:00 (Auckland, Wellington) -->
<!-- TZd - 12 GMT+12:00 (Fiji) -->
<!-- TZe - 13 GMT+13:00 (Nuku'alofa) -->
<!-- customize Self - Defined Time Zone -->
<!-- String -->
<!-- Mandatory -->
2017-04-01 07:44:55 +02:00
{if isset($grandstream_timezone) }
2017-06-09 00:21:47 +02:00
<P64 > {$grandstream_timezone}</P64>
2017-07-29 06:51:24 +02:00
{elseif isset($grandstream_gxp_time_zone) }
<P64 > {$grandstream_gxp_time_zone}</P64>
2017-06-09 00:21:47 +02:00
{else}
<P64 > auto</P64>
{/if}
<!-- 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 > 0</P143>
<!-- Self Defined Time zone. Max length allowed is 64 characters -->
<!-- String -->
<!-- Mandatory -->
<!-- <P246>MTZ+6MDT+5,M4.1.0,M11.1.0</P246> -->
<P246 > PST+8PDT,M3.2.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 > 3</P102>
<!-- Time Display Format. 0 - 12 Hour, 1 - 24 Hour -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P122 > 0</P122>
<!-- ############################################################################# -->
<!-- # Settings/Web Service -->
<!-- ############################################################################# -->
<!-- Weather Update -->
<!-- Use Auto Location Service. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P8338 > 1</P8338>
<!-- Enable weather update. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1402 > 1</P1402>
<!-- City Code -->
<!-- 0 - Self - Defined City Code, 1 - Automatic. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1405 > 1</P1405>
<!-- Self - Defined City Code -->
<!-- String -->
<P1377 > </P1377>
<!-- Update Interval (in minutes). Default is 15 -->
<!-- Number: 5 - 360 -->
<!-- Mandatory -->
<P1378 > 15</P1378>
<!-- Degree Unit. auto - Automatic, f - Fahrenheit, c - Celsius. Default is auto -->
<!-- String: auto, f, c -->
<!-- Mandatory -->
<P1379 > c</P1379>
<!-- Currency Update -->
<!-- Enable Currency update. 0 - No, 1 - Yes. Default is 1 -->
<!-- Number: 0, 1 -->
<!-- Mandatory -->
<P1404 > 1</P1404>
<!-- Currency Code -->
<!-- String -->
<!-- Mandatory -->
<P1381 > CAD/USD;CAD/EUR;CAD/GBP;CAD/AUD;CAD/CNY;CAD/JPY</P1381>
<!-- ############################################################################# -->
<!-- # 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/Broadsoft -->
<!-- ############################################################################# -->
<!-- ################################################################## -->
<!-- Broadsoft XSI -->
<!-- ################################################################## -->
<!-- Server address -->
<!-- String -->
<P1591 > </P1591>
<!-- Port -->
<!-- Number -->
<P1592 > </P1592>
<!-- Broadsoft Contact Download Interval. Default is 0. If set to 0, automatic download will be disabled. Valid range is 5 to 720. -->
<!-- Number: 5 - 720 -->
<!-- Mandatory -->
<P8362 > 0</P8362>
<!-- XSI Authentication Type. 0 - Login Credentials, 1 - SIP Credentials, 2 - Account 1, 3 - Account 2, 4 - Account 3, 5 - Account 4, 6 - Account 5, 7 - Account 6. Default is 0. -->
<!-- Number: 0,1,2,3,4,5,6,7. -->
<!-- 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>
<!-- ##################################################################################### -->
<!-- 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. -->
<!-- String -->
<P6005 > </P6005>
<!-- Username. -->
<!-- String -->
<P2966 > </P2966>
<!-- Password. -->
<!-- String -->
<P2967 > </P2967>
<!-- ##################################################################################### -->
<!-- IM&P Settings -->
<!-- ##################################################################################### -->
<!-- Broadsoft IM&P. Default is 0. -->
<!-- Number: 0,1. 1 - Enabled, 0 - Disabled -->
<!-- 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/Outbound Notification -->
<!-- ############################################################################# -->
<!-- ##################################################################################### -->
<!-- Action URL -->
<!-- ##################################################################################### -->
<!-- Setup Completed. -->
<!-- String -->
<P8304 > </P8304>
<!-- Registered. -->
<!-- String -->
<P8305 > </P8305>
<!-- Unregistered. -->
<!-- String -->
<P8306 > </P8306>
<!-- 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>
<!-- Established Call -->
<!-- String -->
<P8313 > </P8313>
<!-- Terminated Call -->
<!-- String -->
<P8314 > </P8314>
<!-- Open DND -->
<!-- String -->
<P8316 > </P8316>
<!-- Close DND -->
<!-- String -->
<P8317 > </P8317>
<!-- Open Forward -->
<!-- String -->
<P8318 > </P8318>
<!-- Close Forward -->
<!-- String -->
<P8319 > </P8319>
<!-- Blind Transfer -->
<!-- String -->
<P8319 > </P8319>
<!-- Attended Transfer -->
<!-- String -->
<P8321 > </P8321>
<!-- Hold Call -->
<!-- String -->
<P8324 > </P8324>
<!-- UnHold Call -->
<!-- String -->
<P8325 > </P8325>
<!-- ##################################################################################### -->
<!-- Destination -->
<!-- ##################################################################################### -->
<!-- ##################################################################################### -->
<!-- Notification -->
<!-- ##################################################################################### -->
<!-- ############################################################################# -->
<!-- # Settings/Bluetooth -->
<!-- ############################################################################# -->
<!-- Bluetooth Power. Default is 0. -->
<!-- 0 - Off, 1 - On, 2 - Off & Hide Menu From LCD -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_bluetooth_power)}
<P2910 > {$grandstream_bluetooth_power}</P2910>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Handsfree Mode. Default is 0. -->
<!-- 0 - Off, 1 - On -->
<!-- Mandatory -->
2017-07-29 06:51:24 +02:00
{if isset($grandstream_bluetooth_handsfree)}
<P2911 > {$grandstream_bluetooth_handsfree}</P2911>
2017-06-09 00:21:47 +02:00
{/if}
<!-- Bluetooth Name. -->
<!-- String -->
<!-- <P8364>gxp21xx_[mac] - 0</P8364> -->
<!-- ############################################################################# -->
<!-- # Settings/Programmable 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. -->
<!-- ##################################################################################### -->
<!-- Grandstream name Fixed VPK Virtual VPK Softkey Multipurpose Extension Boards -->
<!-- (FusionPBX name) (Line) (Line) (Programmable) (Memory) (Extension) -->
<!-- None - 1 - 1 - 1 - 1 -->
<!-- Line 0 Default 0 -->
<!-- shared line 1 -->
<!-- Speed Dial 10 0 10 0 0 -->
<!-- BLF 11 1 1 1 -->
<!-- Presence Watcher 12 2 2 2 -->
<!-- Eventlist BLF 13 3 3 3 -->
<!-- Speed Dial via active account 14 4 14 4 4 -->
<!-- DialDTMF 15 5 5 5 -->
<!-- Voicemail 16 6 16 6 6 -->
<!-- CallReturn 17 7 17 7 7 -->
<!-- Transfer 18 8 8 8 -->
<!-- CallPark 19 9 9 9 -->
<!-- Intercom 20 10 20 10 10 -->
<!-- LDAP Search 21 11 21 11 11 -->
<!-- Conference 12 -->
<!-- Multicast Paging 23 13 13 13 -->
<!-- Record 24 14 14 14 -->
<!-- Call Log 25 15 15 15 -->
<!-- Monitored Call Park 26 16 16 16 -->
<!-- Menu 27 17 27 17 17 -->
<!-- ##################################################################################### -->
<!-- ########################### For GXP2140 ########################################### -->
<!-- ##################################################################################### -->
<!-- VPK 1 - 4 - fixed VPK -->
<!-- ##################################################################################### -->
<!-- Key Mode for line VPK. Default is 0. -->
<!-- Number: - 1, 0,1,10 - 21,23 - 27 -->
<!-- - 1 - None, 0 - Line, 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 - CallReturn, 18 - Transfer, 19 - CallPark, 20 - Intercom -->
<!-- 21 - LDAP Search, 23 - Multicast Paging, 24 - Record, 25 - Call Log -->
<!-- 26 - Monitored Call Park, 27 - Menu -->
<!-- Mandatory -->
<!-- Account. 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4 -->
<!-- Number: 0, 1, 2, 3. Default is 0. -->
<!-- Mandatory -->
<!-- Description. Max length allowed is 32 characters. -->
<!-- String -->
<!-- Value. Max length allowed is 64 characters. -->
<!-- String -->
<!-- Each phone has a varying number of fixed vs virtual keys -->
<!-- Fixed keys default to type: 0 - Line -->
<!-- Fixed and Virtual VPK are offset by 10 here is a chart -->
<!-- Grandstream name Fixed VPK Virtual VPK Softkey Multipurpose Extension Boards -->
<!-- Fusion PBX name (Line) (Line) (Programmable) (Memory) (Extension) -->
<!-- None - 1 - 1 - 1 - 1 -->
<!-- Line 0 Default 0 -->
<!-- shared line 1 -->
<!-- Speed Dial 10 0 10 0 0 -->
<!-- BLF 11 1 1 1 -->
<!-- Presence Watcher 12 2 2 2 -->
<!-- Eventlist BLF 13 3 3 3 -->
<!-- Speed Dial active accnt 14 4 14 4 4 -->
<!-- DialDTMF 15 5 5 5 -->
<!-- Voicemail 16 6 16 6 6 -->
<!-- CallReturn 17 7 17 7 7 -->
<!-- Transfer 18 8 8 8 -->
<!-- CallPark 19 9 9 9 -->
<!-- Intercom 20 10 20 10 10 -->
<!-- LDAP Search 21 11 21 11 11 -->
<!-- Conference 12 -->
<!-- Multicast Paging 23 13 13 13 -->
<!-- Record 24 14 14 14 -->
<!-- Call Log 25 15 15 15 -->
<!-- Monitored Call Park 26 16 16 16 -->
<!-- Menu 27 17 27 17 17 -->
<!-- Keys 1 to 6 are have a different 'P' ID than 7 to 24 so there are two loops below -->
<!-- Set $fixed_keys variable below and the rest should work -->
<!-- detect with $template == grandstream/gxp21xx 2130=3fixed 2140=4fixed 2160=6fixed 2170=12fixed 2135=8fixed -->
{$fixed_keys=4}
{if $template == "grandstream/gxp2130"}{$fixed_keys=3}{/if}
{if $template == "grandstream/gxp2140"}{$fixed_keys=4}{/if}
{if $template == "grandstream/gxp2160"}{$fixed_keys=6}{/if}
{if $template == "grandstream/gxp2170"}{$fixed_keys=12}{/if}
{if $template == "grandstream/gxp2135"}{$fixed_keys=8}{/if}
<!-- Detected {$template} with {$fixed_keys} fixed keys -->
{$start_id=1363}
{assign var=key_types value=["none"=>-1,"line"=>0,"shared line"=>1,"speed dial"=>10, "blf"=>11, "presence watcher"=>12, "eventlist blf"=>13,"speed dial active"=>14,"dial dtmf"=>15,"voicemail"=>16,"call return"=>17,"transfer"=>18,"call park"=>19,"intercom"=>20,"ldap search"=>21,"multicast paging"=>23,"record"=>24,"call log"=>25,"monitored call park"=>26,"menu"=>27]}
{for $line=1 to 6}
{$pid=$line*2-2}
{if isset($keys.line.$line.device_key_category) & & isset($keys.line.$line.device_key_type) & & isset($key_types[$keys.line.$line.device_key_type])}
{if $line < = $fixed_keys}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.line.$line.device_key_type]}< /P{$start_id+$pid}>
{else}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.line.$line.device_key_type]-10}< /P{$start_id+$pid}>
{/if}
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.line.$line.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 1 0 2 } > {$keys.line.$line.device_key_label}< /P{$start_id+$pid+102}>
<P { $ s t a r t _ i d + $ p i d + 1 0 3 } > {$keys.line.$line.device_key_value}< /P{$start_id+$pid+103}>
{else}
{if $line < = $fixed_keys}
<P { $ s t a r t _ i d + $ p i d } > 0< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > {$line-1}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 1 0 2 } > < /P{$start_id+$pid+102}>
<P { $ s t a r t _ i d + $ p i d + 1 0 3 } > < /P{$start_id+$pid+103}>
{else}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
{/if}
{/if}
{/for}
<!-- ##################################################################################### -->
<!-- VPK Dynamic VPK -->
<!-- ##################################################################################### -->
<!-- Key Mode for Dynamic VPK. -->
<!-- - 1 - None, 0 - Speed Dial, 1 - BLF, 2 - Presence Watcher, 3 - eventlist BLF -->
<!-- 4 - Speed Dial via active account, 5 - Dial DTMF, 6 - Voicemail, 7 - CallReturn -->
<!-- 8 - Transfer, 9 - CallPark, 10 - Intercom, 11 - LDAP Search, 13 - Multicast Paging -->
<!-- 14 - Record, 15 - Call Log, 16 - Monitored Call Park, 17 - Menu -->
<!-- Number: - 1, 0 - 11, 13 - 17 -->
<!-- Mandatory -->
<!-- line 6 to 32 are sequential starting at 23800 in groups of 4 -->
{$start_id=23800}
{for $line=7 to 32}
{$pid=($line-6)*4-4}
{if isset($keys.line.$line.device_key_category) & & isset($keys.line.$line.device_key_type) & & isset($key_types[$keys.line.$line.device_key_type])}
{if $line < = $fixed_keys}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.line.$line.device_key_type]}< /P{$start_id+$pid}>
{else}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.line.$line.device_key_type]-10}< /P{$start_id+$pid}>
{/if}
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.line.$line.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > {$keys.line.$line.device_key_label}< /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > {$keys.line.$line.device_key_value}< /P{$start_id+$pid+3}>
{else}
{if $line < = $fixed_keys}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > 0< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > < /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > < /P{$start_id+$pid+3}>
{else}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
{/if}
{/if}
{/for}
<!-- ##################################################################################### -->
<!-- # Programmable Keys/SoftKeys 1 - 3 -->
<!-- ##################################################################################### -->
<!-- Softkey 1 -->
<!-- ##################################################################################### -->
<!-- Key Mode. -->
<!-- 0 - Default, 10 - Speed Dial, 14 - Speed Dial via active account, 16 - Voicemail, -->
<!-- 17 - CallReturn, 20 - Intercom, 21 - LDAP Search, 27 - Menu -->
<!-- Number: 0,10,14,16,17,20,21,27 -->
<!-- Mandatory -->
<!-- Account. 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4 (GXP 2140/2160 only), 4 - Account 5 (GXP2160 only), 5 - Account 6 (GXP2160 only) -->
<!-- Number: 0, 1, 2, 3, 4, 5 -->
<!-- Mandatory -->
<!-- Description. -->
<!-- String. -->
<!-- Value. -->
<!-- String. -->
{assign var=key_types value=["speed dial"=>10, "speed dial active"=>14,"voicemail"=>16,"call return"=>17,"intercom"=>20,"ldap search"=>21,"menu"=>17]}
{$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}
<!-- ##################################################################################### -->
<!-- Multi - Purpose Keys - GXP2130/2160 only -->
<!-- ##################################################################################### -->
<!-- MPK 1 - GXP2130/2160 only -->
<!-- ##################################################################################### -->
<!-- Key Mode. -->
<!-- - 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 -->
<!-- Number: - 1, 0 - 11, 13 - 17 -->
<!-- Mandatory -->
<!-- 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 -->
<!-- Name. Max length allowed is 128 characters. -->
<!-- String -->
<!-- User ID. Max length allowed is 64 characters. -->
<!-- String -->
{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}
<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}>
<P { $ s t a r t _ i d + $ p i d - 2 2 } > {$keys.memory.$mem.device_key_line}< /P{$start_id+$pid-22}>
<P { $ s t a r t _ i d + $ p i d - 2 1 } > {$keys.memory.$mem.device_key_label}< /P{$start_id+$pid-21}>
<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}
{if $template == "grandstream/gxp2140"||$template == "grandstream/gxp2170"}
<!-- ####################################################################### -->
<!-- # Settings/Extension Boards - GXP2140/GXP2170 only -->
<!-- ####################################################################### -->
<!-- ####################################################################### -->
<!-- # Advanced Settings - MPK EXT 1 Settings ## -->
<!-- ####################################################################### -->
<!-- ################################################################################################# -->
<!-- The MPKs in this section are for the GXP2200EXT 1 # -->
<!-- ################################################################################################# -->
<!-- ##################################################################################### -->
<!-- EXT MPK 1 -->
<!-- ##################################################################################### -->
<!-- Key Mode. -->
<!-- - 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 - Call Intercom, 11 - LDAP Search, 13 - Multicast Paging -->
<!-- 14 - Record, 15 - Call Log, 16 - Monitored Call Park, 17 - Menu -->
<!-- Number: - 1, 0 - 11, 13 - 17 -->
<!-- Account. 0 - Account 1, 1 - Account 2, 2 - Account 3, 3 - Account 4 -->
<!-- Number: 0 - 3 -->
<!-- Description -->
<!-- String -->
<!-- Value -->
<!-- String -->
{assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]}
{$start_id=23000}
{for $exp=1 to 160}
{$pid=$exp*5-5}
{if isset($keys.expansion.$exp.device_key_category) & & isset($keys.expansion.$exp.device_key_type) & & $keys.expansion.$exp.device_key_type|in_array:$key_types}
<P { $ s t a r t _ i d + $ p i d } > {$key_types[$keys.expansion.$exp.device_key_type]}< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > {$keys.expansion.$exp.device_key_line}< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > {$keys.expansion.$exp.device_key_label}< /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > {$keys.expansion.$exp.device_key_value}< /P{$start_id+$pid+3}>
{else}
<P { $ s t a r t _ i d + $ p i d } > -1< /P{$start_id+$pid}>
<P { $ s t a r t _ i d + $ p i d + 1 } > 0< /P{$start_id+$pid+1}>
<P { $ s t a r t _ i d + $ p i d + 2 } > < /P{$start_id+$pid+2}>
<P { $ s t a r t _ i d + $ p i d + 3 } > < /P{$start_id+$pid+3}>
{/if}
{/for}
{/if}
</config>
2017-04-01 07:44:55 +02:00
</gs_provision>