1#!version:1.0.0.1
2#{$microtime}
3
4##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##
5
6#######################################################################################
7##                           Account 1 Basic Settings                                ##
8#######################################################################################
9## ranges from 1 to 6;
10##account.X.enable =
11{if isset($user_password_1) }
12account.1.enable = 1
13{else}
14account.1.enable = 0
15{/if}
16account.1.label = {$display_name_1}
17account.1.display_name = {$display_name_1}
18account.1.auth_name = {$auth_id_1}
19account.1.password = {$user_password_1}
20account.1.user_name = {$user_id_1}
21account.1.sip_server_host = {$server_address_1}
22account.1.sip_server_port = {$sip_port_1}
23account.1.outbound_host = {$outbound_proxy_1}
24account.1.outbound_port = {$sip_port_1}
25{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if}
26
27#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
28{if $sip_transport_1 == 'udp'}account.1.transport = 0{/if}
29{if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if}
30{if $sip_transport_1 == 'tls'}account.1.transport = 2{/if}
31{if $sip_transport_1 == 'dns srv'}account.1.transport = 3{/if}
32
33account.1.outbound_proxy.1.address = {$outbound_proxy_primary_1}
34account.1.outbound_proxy.2.address = {$outbound_proxy_secondary_1}
35account.1.outbound_proxy_enable = {if isset($outbound_proxy_primary_1)}1{else}0{/if}
36
37{if isset($outbound_proxy_1_port)}
38account.1.outbound_proxy.1.port = {$outbound_proxy_1_port}
39{else}
40account.1.outbound_proxy.1.port = 5060
41{/if}
42{if isset($outbound_proxy_1_port)}
43account.1.outbound_proxy.2.port = {$outbound_proxy_2_port}
44{else}
45account.1.outbound_proxy.2.port = 5060
46{/if}
47
48#######################################################################################
49##                          Failback                                                 ##
50#######################################################################################
51## ranges from 1 to 6;
52##account.X.reregister_enable = 0
53
54account.1.reregister_enable = 0
55account.1.retry_counts =
56account.1.failback_mode = 0
57account.1.failback_timeout = 3600
58account.1.naptr_build = 0
59account.1.fallback.redundancy_type = 0
60account.1.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
61account.1.sip_server.1.address =
62{if $sip_transport_1 == 'dns srv'}
63account.1.sip_server.1.port = 0
64{else}
65account.1.sip_server.1.port = {$sip_port_1}
66{/if}
67#Configure the register expiry time (in seconds), the default value is 3600.
68account.1.sip_server.1.expires = {$register_expires_1}
69account.1.sip_server.1.retry_counts = 3
70account.1.sip_server.1.failback_mode = 0
71account.1.sip_server.1.failback_timeout = 3600
72account.1.sip_server.1.register_on_enable = 0
73account.1.sip_server.2.address =
74account.1.sip_server.2.port = 5060
75account.1.sip_server.2.expires = 3600
76account.1.sip_server.2.retry_counts = 3
77account.1.sip_server.2.failback_mode = 0
78account.1.sip_server.2.failback_timeout = 3600
79account.1.sip_server.2.register_on_enable = 0
80account.1.dns_cache_type = 1
81
82account.1.dns_cache_a.1.name =
83account.1.dns_cache_a.1.ip =
84account.1.dns_cache_a.1.ttl = 300
85
86account.1.dns_cache_srv.1.name =
87account.1.dns_cache_srv.1.port = 0
88account.1.dns_cache_srv.1.priority = 0
89account.1.dns_cache_srv.1.target =
90account.1.dns_cache_srv.1.weight = 0
91account.1.dns_cache_srv.1.ttl = 300
92account.1.dns_cache_naptr.1.name =
93account.1.dns_cache_naptr.1.flags =
94account.1.dns_cache_naptr.1.order = 0
95account.1.dns_cache_naptr.1.preference = 0
96account.1.dns_cache_naptr.1.replace =
97account.1.dns_cache_naptr.1.service =
98account.1.dns_cache_naptr.1.ttl = 300
99
100account.1.static_cache_pri = 0
101
102#######################################################################################
103##                           Register Advanced                                       ##
104#######################################################################################
105## ranges from 1 to 6;
106##account.X.sip_server_type =
107
108#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
109account.1.sip_server_type =
110#Enable or disable the phone to send the account log-off message first and then send account register message when rebooting the phone; 0-Disabled (default), 1-Enabled;
111account.1.unregister_on_reboot =
112
113#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled;
114account.1.sip_trust_ctrl = 1
115
116#Configure the timeout (in seconds) for DNS query, the value ranges from 1 to 9, the default value is 8.
117account.1.dns_query_timeout=
118
119#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
120account.1.srv_ttl_timer_enable =
121account.1.proxy_require =
122
123
124#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;
125account.1.register_mac =
126account.1.register_line =
127
128#Configure the interval (in seconds) the phone retries to register when account1 fails to register. It ranges from 0 to 1800, the default value is 30.
129account.1.reg_fail_retry_interval =
130
131#########################################################################
132##                     NAT Settings                                    ##
133#########################################################################
134
135#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
136account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}
137
138#Configure the STUN server address.
139account.1.nat.stun_server = {$stun_server}
140
141#Configure the STUN server port, the default value is 3478.
142account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}
143
144#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
145account.1.nat.udp_update_enable = 3
146
147#Specify the keep-alive interval (in seconds), the default value is 30.
148account.1.nat.udp_update_time = 30
149
150#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
151account.1.nat.rport = {$yealink_rport}
152
153
154#######################################################################################
155##                            AccountX Advance Settings                              ##
156#######################################################################################
157## ranges from 1 to 6;
158##account.X.advanced.timer_t1 = 0.5
159##voice_mail.number.X =
160
161#Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5.
162account.1.advanced.timer_t1 =
163account.1.advanced.timer_t2 =
164account.1.advanced.timer_t4 =
165
166voice_mail.number.1 = {$voicemail_number}
167
168
169#######################################################################################
170##                            Subscribe                                              ##
171#######################################################################################
172## ranges from 1 to 6;
173##account.X.subscribe_mwi =
174
175account.1.subscribe_mwi = 1
176account.1.subscribe_mwi_expires = 3600
177
178#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
179account.1.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm}
180
181account.1.subscribe_acd_expires= 3600
182
183
184#######################################################################################
185##                            BLF List                                               ##
186#######################################################################################
187## ranges from 1 to 6;
188##account.X.blf.blf_list_uri =
189
190#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
191account.1.blf.blf_list_uri =
192
193account.1.blf_list_code =
194account.1.blf_list_barge_in_code =
195account.1.blf.subscribe_period = 1800
196
197account.1.blf.subscribe_event =
198account.1.out_dialog_blf_enable = 0
199
200
201#######################################################################################
202##                            BLA/SCA                                                ##
203#######################################################################################
204## ranges from 1 to 6;
205##account.X.shared_line =
206
207#Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA;
208{if isset($shared_line_1) }
209account.1.shared_line = {$shared_line_1}
210{else}
211account.1.shared_line = 0
212{/if}
213
214#Configure BLA number for account1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
215account.1.bla_number =
216account.1.bla_subscribe_period = 300
217
218#######################################################################################
219##                            Audio Codec                                            ##
220#######################################################################################
221#Audio codecs for account1 (Y ranges from 1 to 11).
222#Enable or disable the specified codec; 0-Disabled, 1-Enabled;
223#account.1.codec.Y.enable =
224#The type of the specified codec.
225#account.1.codec.Y.payload_type =
226#The priority of the specified codec. It's available when the codec is enabled.
227#account.1.codec.Y.priority =
228#The payload of the specified codec.
229#account.1.codec.Y.rtpmap =
230
231account.1.codec.1.enable = 1
232account.1.codec.1.payload_type = PCMU
233account.1.codec.1.priority = 2
234account.1.codec.1.rtpmap = 0
235
236account.1.codec.2.enable = 1
237account.1.codec.2.payload_type = PCMA
238account.1.codec.2.priority = 3
239account.1.codec.2.rtpmap = 8
240
241account.1.codec.3.enable = 0
242account.1.codec.3.payload_type = G723_53
243account.1.codec.3.priority =0
244account.1.codec.3.rtpmap = 4
245
246account.1.codec.4.enable = 0
247account.1.codec.4.payload_type = G723_63
248account.1.codec.4.priority = 0
249account.1.codec.4.rtpmap = 4
250
251account.1.codec.5.enable = 1
252account.1.codec.5.payload_type = G729
253account.1.codec.5.priority = 3
254account.1.codec.5.rtpmap = 18
255
256account.1.codec.6.enable = 1
257account.1.codec.6.payload_type = G722
258account.1.codec.6.priority = 1
259account.1.codec.6.rtpmap = 9
260
261account.1.codec.7.enable = 0
262account.1.codec.7.payload_type = iLBC
263account.1.codec.7.priority =  0
264account.1.codec.7.rtpmap = 106
265
266account.1.codec.8.enable = 0
267account.1.codec.8.payload_type = G726-16
268account.1.codec.8.priority = 0
269account.1.codec.8.rtpmap = 103
270
271account.1.codec.9.enable = 0
272account.1.codec.9.payload_type = G726-24
273account.1.codec.9.priority = 0
274account.1.codec.9.rtpmap = 104
275
276account.1.codec.10.enable = 0
277account.1.codec.10.payload_type = G726-32
278account.1.codec.10.priority = 0
279account.1.codec.10.rtpmap = 102
280
281account.1.codec.11.enable = 0
282account.1.codec.11.payload_type = G726-40
283account.1.codec.11.priority = 0
284account.1.codec.11.rtpmap = 105
285
286account.1.codec.12.enable = 0
287account.1.codec.12.payload_type = GSM
288account.1.codec.12.priority = 0
289account.1.codec.12.rtpmap = 3
290
291
292#######################################################################################
293##                            Audio Advanced                                         ##
294#######################################################################################
295#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
296account.1.srtp_encryption = {$yealink_srtp_encryption}
297
298#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
299account.1.ptime =
300
301
302#######################################################################################
303##                            Anonymous Call                                         ##
304#######################################################################################
305account.1.anonymous_call = 0
306account.1.anonymous_call_oncode =
307account.1.anonymous_call_offcode =
308
309account.1.reject_anonymous_call =
310account.1.anonymous_reject_oncode =
311account.1.anonymous_reject_offcode =
312
313#######################################################################################
314##                            Pickup Code                                            ##
315#######################################################################################
316account.1.dialoginfo_callpickup = 0
317
318#Configure the directed and group pickup codes for account 1, the settings on a per-account basis take precedence over the settings on the phone.
319account.1.group_pickup_code =
320account.1.direct_pickup_code =
321
322#######################################################################################
323##                            DTMF                                                   ##
324#######################################################################################
325#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
326account.1.dtmf.type =
327
328#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
329account.1.dtmf.info_type =
330
331#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101.
332account.1.dtmf.dtmf_payload =
333
334#######################################################################################
335##                            Alert info                                             ##
336#######################################################################################
337#Enable or disable to use the Distinctive Ring Tones; 0-Disabled , 1-Enabled(default);
338account.1.alert_info_url_enable =
339
340#Assign a ringtone for account1. The system ring tones are: common (default), Ring1.wav - Ring8.wav.
341#If you set the custom ring tone (Busy.wav) for the phone, the value is: account.1.ringtone.ring_type = Config:Busy.wav
342#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.1.ringtone.ring_type = Resource:Ring2.wav
343account.1.ringtone.ring_type =
344
345account.1.picture_info_enable = 1
346
347#######################################################################################
348##                            Conference                                             ##
349#######################################################################################
350#Configure the conference type; 0-Local (default), 2-Network Conference;
351account.1.conf_type =
352
353#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
354account.1.conf_uri =
355
356#######################################################################################
357##                            cid_source                                             ##
358#######################################################################################
359#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
360account.1.cid_source = {$yealink_cid_source}
361
362account.1.cid_source_privacy = 1
363account.1.cid_source_ppi = 1
364
365#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
366account.1.cp_source = 2
367
368#######################################################################################
369##                            Session Timer                                          ##
370#######################################################################################
371#Enable or disable the session timer, 0-Disabled (default), 1-Enabled;
372account.1.session_timer.enable = {$yealink_session_timer}
373
374#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
375account.1.session_timer.expires =
376
377#Configure the session timer refresher; 0-Uac (default), 1-Uas;
378account.1.session_timer.refresher =
379
380#######################################################################################
381##                            Music on Hold                                          ##
382#######################################################################################
383#Configure the type of Music on Hold; 0-Send the INVITE request to Music on Hold Server then hold the call; 1-Hold the call then send the INVITE request to Music on Hold Server;
384#Require reboot;
385account.1.music_on_hold_type =
386
387account.1.music_server_uri =
388
389#######################################################################################
390##                            Advanced                                               ##
391#######################################################################################
392#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
393account.1.auto_answer =
394
395#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
396account.1.missed_calllog =
397
398#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
399account.1.100rel_enable = {$yealink_retransmission}
400
401#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
402account.1.enable_user_equal_phone =
403
404#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default);
405account.1.compact_header_enable =
406
407#######################################################################################
408##                                   DND                                             ##
409#######################################################################################
410account.1.dnd.enable =
411account.1.dnd.on_code =
412account.1.dnd.off_code =
413
414#######################################################################################
415##                                 Call Forward                                      ##
416#######################################################################################
417
418account.1.always_fwd.enable =
419account.1.always_fwd.target =
420account.1.always_fwd.off_code =
421account.1.always_fwd.on_code =
422
423account.1.busy_fwd.enable =
424account.1.busy_fwd.target =
425account.1.busy_fwd.off_code =
426account.1.busy_fwd.on_code =
427
428#Enable or disable the no answer forward feature for account1; 0-Disabled (default), 1-Enabled;
429#Configure the waiting ring times before forwarding. It ranges from 0 to 20, the default value is 2.
430account.1.timeout_fwd.enable =
431account.1.timeout_fwd.target =
432account.1.timeout_fwd.timeout =
433account.1.timeout_fwd.off_code =
434account.1.timeout_fwd.on_code =
435
436#######################################################################################
437##                                 Broadsoft Hoteling                                ##
438#######################################################################################
439account.1.hoteling.enable = 0
440account.1.hoteling.user_id = 0
441account.1.hoteling.password = 0
442account.1.hoteling.auto_login_enable = 0
443
444#######################################################################################
445##                                 Broadsoft ACD                                     ##
446#######################################################################################
447account.1.acd.enable = 0
448account.1.acd.unavailable_reason_enable = 0
449account.1.acd.available = 0
450account.1.acd.initial_state = 1
451
452#######################################################################################
453##                                 Broadsoft ACD Call Center                         ##
454#######################################################################################
455#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.)
456#account.1.bw_acd_reason_code.Y = 500(lunch time)
457account.1.bw_acd_reason_code.1 =
458
459account.1.reason_code.1 =
460account.1.reason_code_name.1 = 0
461account.1.bw_disp_code.1 =
462account.1.bw_disp_code_name.1 =
463account.1.supervisor_info_code.1 =
464account.1.supervisor_info_code_name.1 =
465
466#######################################################################################
467##                                 Broadsoft Call Center                             ##
468#######################################################################################
469account.1.call_center.call_info_enable = 0
470account.1.call_center.show_call_info_time = 30
471account.1.call_center.disp_code_enable = 0
472account.1.call_center.trace_enable = 0
473account.1.call_center.emergency_enable = 0
474account.1.call_center.queue_status_enable = 0
475account.1.call_center.queue_status_light_enable = 0
476
477#######################################################################################
478##                                 Broadsoft XSI                                     ##
479#######################################################################################
480account.1.xsi.user =
481account.1.xsi.password =
482account.1.xsi.host =
483account.1.xsi.server_type =
484account.1.xsi.port =
485
486
487#######################################################################################
488##                           Account 2 Basic Settings                                ##
489#######################################################################################
490## ranges from 1 to 6;
491##account.X.enable =
492{if isset($user_password_2) }
493account.2.enable = 1
494{else}
495account.2.enable = 0
496{/if}
497account.2.label = {$display_name_2}
498account.2.display_name = {$display_name_2}
499account.2.auth_name = {$auth_id_2}
500account.2.password = {$user_password_2}
501account.2.user_name = {$user_id_2}
502account.2.sip_server_host = {$server_address_2}
503account.2.sip_server_port = {$sip_port_2}
504account.2.outbound_host = {$outbound_proxy_2}
505
506account.2.outbound_port = {$sip_port_2}
507{if isset($yealink_sip_listen_port)}account.2.sip_listen_port = {$yealink_sip_listen_port}{else}account.2.sip_listen_port = 5060{/if}
508
509account.2.sip_listen_port = 5060
510#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
511{if $sip_transport_2 == 'udp'}account.2.transport = 0{/if}
512{if $sip_transport_2 == 'tcp'}account.2.transport = 1{/if}
513{if $sip_transport_2 == 'tls'}account.2.transport = 2{/if}
514{if $sip_transport_2 == 'dns srv'}account.2.transport = 3{/if}
515
516account.2.outbound_proxy.1.address = {$outbound_proxy_primary_2}
517account.2.outbound_proxy.2.address = {$outbound_proxy_secondary_2}
518account.2.outbound_proxy_enable = {if isset($outbound_proxy_primary_2)}1{else}0{/if}
519
520#######################################################################################
521##                          Failback                                                 ##
522#######################################################################################
523## ranges from 1 to 6;
524##account.X.reregister_enable = 0
525
526account.2.reregister_enable = 0
527account.2.retry_counts =
528account.2.failback_mode = 0
529account.2.failback_timeout = 3600
530account.2.naptr_build = 0
531account.2.fallback.redundancy_type = 0
532account.2.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
533account.2.sip_server.1.address =
534account.2.sip_server.1.port = 5060
535#Configure the register expiry time (in seconds), the default value is 3600.
536account.2.sip_server.1.expires = {$register_expires_2}
537account.2.sip_server.1.retry_counts = 3
538account.2.sip_server.1.failback_mode = 0
539account.2.sip_server.1.failback_timeout = 3600
540account.2.sip_server.1.register_on_enable = 0
541account.2.sip_server.2.address =
542account.2.sip_server.2.port = 5060
543account.2.sip_server.2.expires = 3600
544account.2.sip_server.2.retry_counts = 3
545account.2.sip_server.2.failback_mode = 0
546account.2.sip_server.2.failback_timeout = 3600
547account.2.sip_server.2.register_on_enable = 0
548account.2.dns_cache_type = 1
549
550account.2.dns_cache_a.1.name =
551account.2.dns_cache_a.1.ip =
552account.2.dns_cache_a.1.ttl = 300
553
554account.2.dns_cache_srv.0.name =
555account.2.dns_cache_srv.0.port = 0
556account.2.dns_cache_srv.0.priority = 0
557account.2.dns_cache_srv.0.target =
558account.2.dns_cache_srv.0.weight = 0
559account.2.dns_cache_srv.0.ttl = 300
560account.2.dns_cache_naptr.0.name =
561account.2.dns_cache_naptr.0.flags =
562account.2.dns_cache_naptr.0.order = 0
563account.2.dns_cache_naptr.0.preference = 0
564account.2.dns_cache_naptr.0.replace =
565account.2.dns_cache_naptr.0.service =
566account.2.dns_cache_naptr.0.ttl = 300
567
568account.2.static_cache_pri = 0
569
570#######################################################################################
571##                           Register Advanced                                       ##
572#######################################################################################
573## ranges from 1 to 6;
574##account.X.sip_server_type =
575
576#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
577account.2.sip_server_type =
578#Enable or disable the phone to send the account log-off message first and then send account register message when rebooting the phone; 0-Disabled (default), 1-Enabled;
579account.2.unregister_on_reboot =
580
581#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled;
582account.2.sip_trust_ctrl = 1
583
584#Configure the timeout (in seconds) for DNS query, the value ranges from 1 to 9, the default value is 8.
585account.2.dns_query_timeout=
586
587#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
588account.2.srv_ttl_timer_enable =
589account.2.proxy_require =
590
591
592#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;
593account.2.register_mac =
594account.2.register_line =
595
596#Configure the interval (in seconds) the phone retries to register when account1 fails to register. It ranges from 0 to 1800, the default value is 30.
597account.2.reg_fail_retry_interval =
598
599#########################################################################
600##                     NAT Settings                                    ##
601#########################################################################
602
603#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
604account.2.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}
605
606#Configure the STUN server address.
607account.2.nat.stun_server = {$stun_server}
608
609#Configure the STUN server port, the default value is 3478.
610account.2.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}
611
612#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
613account.2.nat.udp_update_enable = 1
614
615#Specify the keep-alive interval (in seconds), the default value is 30.
616account.2.nat.udp_update_time = 30
617
618#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
619account.2.nat.rport = {$yealink_rport}
620
621
622#######################################################################################
623##                            Account2 Advance Settings                              ##
624#######################################################################################
625## ranges from 1 to 6;
626##account.X.advanced.timer_t1 = 0.5
627##voice_mail.number.X =
628
629#Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5.
630account.2.advanced.timer_t1 = 0.5
631account.2.advanced.timer_t2 = 4
632account.2.advanced.timer_t4 = 5
633
634voice_mail.number.2 = *97
635
636
637#######################################################################################
638##                            Subscribe                                              ##
639#######################################################################################
640## ranges from 1 to 6;
641##account.X.subscribe_mwi =
642
643account.2.subscribe_mwi = 1
644account.2.subscribe_mwi_expires = 3600
645
646#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
647account.2.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm}
648
649account.2.subscribe_acd_expires= 3600
650
651
652#######################################################################################
653##                            BLF List                                               ##
654#######################################################################################
655## ranges from 1 to 6;
656##account.X.blf.blf_list_uri =
657
658#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
659account.2.blf.blf_list_uri =
660
661account.2.blf_list_code =
662account.2.blf_list_barge_in_code =
663account.2.blf.subscribe_period = 1800
664
665account.2.blf.subscribe_event =
666account.2.out_dialog_blf_enable = 0
667
668
669#######################################################################################
670##                            BLA/SCA                                                ##
671#######################################################################################
672## ranges from 1 to 6;
673##account.X.shared_line =
674
675#Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA;
676{if isset($shared_line_2) }
677account.2.shared_line = {$shared_line_2}
678{else}
679account.2.shared_line = 0
680{/if}
681
682#Configure BLA number for account1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
683account.2.bla_number =
684account.2.bla_subscribe_period = 300
685
686#######################################################################################
687##                            Audio Codec                                            ##
688#######################################################################################
689#Audio codecs for account1 (Y ranges from 1 to 11).
690#Enable or disable the specified codec; 0-Disabled, 1-Enabled;
691#account.2.codec.Y.enable =
692#The type of the specified codec.
693#account.2.codec.Y.payload_type =
694#The priority of the specified codec. It's available when the codec is enabled.
695#account.2.codec.Y.priority =
696#The payload of the specified codec.
697#account.2.codec.Y.rtpmap =
698
699account.2.codec.1.enable = 1
700account.2.codec.1.payload_type = PCMU
701account.2.codec.1.priority = 2
702account.2.codec.1.rtpmap = 0
703
704account.2.codec.2.enable = 1
705account.2.codec.2.payload_type = PCMA
706account.2.codec.2.priority = 3
707account.2.codec.2.rtpmap = 8
708
709account.2.codec.3.enable = 0
710account.2.codec.3.payload_type = G723_53
711account.2.codec.3.priority =0
712account.2.codec.3.rtpmap = 4
713
714account.2.codec.4.enable = 0
715account.2.codec.4.payload_type = G723_63
716account.2.codec.4.priority = 0
717account.2.codec.4.rtpmap = 4
718
719account.2.codec.5.enable = 1
720account.2.codec.5.payload_type = G729
721account.2.codec.5.priority = 3
722account.2.codec.5.rtpmap = 18
723
724account.2.codec.6.enable = 1
725account.2.codec.6.payload_type = G722
726account.2.codec.6.priority = 1
727account.2.codec.6.rtpmap = 9
728
729account.2.codec.7.enable = 0
730account.2.codec.7.payload_type = iLBC
731account.2.codec.7.priority =  0
732account.2.codec.7.rtpmap = 106
733
734account.2.codec.8.enable = 0
735account.2.codec.8.payload_type = G726-16
736account.2.codec.8.priority = 0
737account.2.codec.8.rtpmap = 103
738
739account.2.codec.9.enable = 0
740account.2.codec.9.payload_type = G726-24
741account.2.codec.9.priority = 0
742account.2.codec.9.rtpmap = 104
743
744account.2.codec.10.enable = 0
745account.2.codec.10.payload_type = G726-32
746account.2.codec.10.priority = 0
747account.2.codec.10.rtpmap = 102
748
749account.2.codec.11.enable = 0
750account.2.codec.11.payload_type = G726-40
751account.2.codec.11.priority = 0
752account.2.codec.11.rtpmap = 105
753
754account.2.codec.12.enable = 0
755account.2.codec.12.payload_type = GSM
756account.2.codec.12.priority = 0
757account.2.codec.12.rtpmap = 3
758
759
760#######################################################################################
761##                            Audio Advanced                                         ##
762#######################################################################################
763#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
764account.2.srtp_encryption =
765
766#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
767account.2.ptime =
768
769
770#######################################################################################
771##                            Anonymous Call                                         ##
772#######################################################################################
773account.2.anonymous_call = 0
774account.2.anonymous_call_oncode =
775account.2.anonymous_call_offcode =
776
777account.2.reject_anonymous_call =
778account.2.anonymous_reject_oncode =
779account.2.anonymous_reject_offcode =
780
781#######################################################################################
782##                            Pickup Code                                            ##
783#######################################################################################
784account.2.dialoginfo_callpickup = 0
785
786#Configure the directed and group pickup codes for account 1, the settings on a per-account basis take precedence over the settings on the phone.
787account.2.group_pickup_code =
788account.2.direct_pickup_code =
789
790#######################################################################################
791##                            DTMF                                                   ##
792#######################################################################################
793#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
794account.2.dtmf.type =
795
796#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
797account.2.dtmf.info_type =
798
799#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101.
800account.2.dtmf.dtmf_payload =
801
802#######################################################################################
803##                            Alert info                                             ##
804#######################################################################################
805#Enable or disable to use the Distinctive Ring Tones;  0-Disabled , 1-Enabled(default);
806account.2.alert_info_url_enable =
807
808#Assign a ringtone for account2. The system ring tones are: common (default), Ring1.wav - Ring8.wav.
809#If you set the custom ring tone (Busy.wav) for the phone, the value is: account.2.ringtone.ring_type = Config:Busy.wav
810#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav
811account.2.ringtone.ring_type =
812
813account.2.picture_info_enable = 1
814
815#######################################################################################
816##                            Conference                                             ##
817#######################################################################################
818#Configure the conference type; 0-Local (default), 2-Network Conference;
819account.2.conf_type =
820
821#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
822account.2.conf_uri =
823
824#######################################################################################
825##                            cid source                                             ##
826#######################################################################################
827#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
828account.2.cid_source = {$yealink_cid_source}
829
830account.2.cid_source_privacy = 1
831account.2.cid_source_ppi = 1
832
833#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
834account.2.cp_source = 2
835
836#######################################################################################
837##                            Session Timer                                          ##
838#######################################################################################
839#Enable or disable the session timer, 0-Disabled (default), 1-Enabled;
840account.2.session_timer.enable = {$yealink_session_timer}
841
842#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
843account.2.session_timer.expires =
844
845#Configure the session timer refresher; 0-Uac (default), 1-Uas;
846account.2.session_timer.refresher =
847
848#######################################################################################
849##                            Music on Hold                                          ##
850#######################################################################################
851#Configure the type of Music on Hold; 0-Send the INVITE request to Music on Hold Server then hold the call; 1-Hold the call then send the INVITE request to Music on Hold Server;
852#Require reboot;
853account.2.music_on_hold_type =
854
855account.2.music_server_uri =
856
857#######################################################################################
858##                            Advanced                                               ##
859#######################################################################################
860#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
861account.2.auto_answer =
862
863#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
864account.2.missed_calllog =
865
866#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
867account.2.100rel_enable = {$yealink_retransmission}
868
869#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
870account.2.enable_user_equal_phone =
871
872#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default);
873account.2.compact_header_enable =
874
875#######################################################################################
876##                                   DND                                             ##
877#######################################################################################
878account.2.dnd.enable =
879account.2.dnd.on_code =
880account.2.dnd.off_code =
881
882#######################################################################################
883##                                 Call Forward                                      ##
884#######################################################################################
885#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled;
886account.2.always_fwd.enable =
887account.2.always_fwd.target =
888account.2.always_fwd.off_code =
889account.2.always_fwd.on_code =
890
891account.2.busy_fwd.enable =
892account.2.busy_fwd.target =
893account.2.busy_fwd.off_code =
894account.2.busy_fwd.on_code =
895
896#Enable or disable the no answer forward feature for account1; 0-Disabled (default), 1-Enabled;
897#Configure the waiting ring times before forwarding. It ranges from 0 to 20, the default value is 2.
898account.2.timeout_fwd.enable =
899account.2.timeout_fwd.target =
900account.2.timeout_fwd.timeout =
901account.2.timeout_fwd.off_code =
902account.2.timeout_fwd.on_code =
903
904#######################################################################################
905##                                 Broadsoft Hoteling                                ##
906#######################################################################################
907account.2.hoteling.enable = 0
908account.2.hoteling.user_id = 0
909account.2.hoteling.password = 0
910account.2.hoteling.auto_login_enable = 0
911
912#######################################################################################
913##                                 Broadsoft ACD                                     ##
914#######################################################################################
915account.2.acd.enable = 0
916account.2.acd.unavailable_reason_enable = 0
917account.2.acd.available = 0
918account.2.acd.initial_state = 1
919
920#######################################################################################
921##                                 Broadsoft ACD Call Center                         ##
922#######################################################################################
923#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.)
924#account.2.bw_acd_reason_code.Y = 500(lunch time)
925account.2.bw_acd_reason_code.1 =
926
927account.2.reason_code.1 =
928account.2.reason_code_name.1 = 0
929account.2.bw_disp_code.1 =
930account.2.bw_disp_code_name.1 =
931account.2.supervisor_info_code.1 =
932account.2.supervisor_info_code_name.1 =
933
934#######################################################################################
935##                                 Broadsoft Call Center                             ##
936#######################################################################################
937account.2.call_center.call_info_enable = 0
938account.2.call_center.show_call_info_time = 30
939account.2.call_center.disp_code_enable = 0
940account.2.call_center.trace_enable = 0
941account.2.call_center.emergency_enable = 0
942account.2.call_center.queue_status_enable = 0
943account.2.call_center.queue_status_light_enable = 0
944
945#######################################################################################
946##                                 Broadsoft XSI                                     ##
947#######################################################################################
948account.2.xsi.user =
949account.2.xsi.password =
950account.2.xsi.host =
951account.2.xsi.server_type =
952account.2.xsi.port =
953
954
955#######################################################################################
956##                                 Time                                              ##
957#######################################################################################
958#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8.
959#local_time.time_zone = +8
960#local_time.time_zone_name = China(Beijing)
961local_time.time_zone = {$yealink_time_zone}
962local_time.time_zone_name = {$yealink_time_zone_name}
963
964
965#######################################################################################
966##                                   NETWORK                                         ##
967#######################################################################################
968
969#######################################################################################
970##                           Account 3 Basic Settings                                ##
971#######################################################################################
972## ranges from 1 to 6;
973##account.X.enable =
974{if isset($user_password_3) }
975account.3.enable = 1
976{else}
977account.3.enable = 0
978{/if}
979account.3.label = {$display_name_3}
980account.3.display_name = {$display_name_3}
981account.3.auth_name = {$auth_id_3}
982account.3.password = {$user_password_3}
983account.3.user_name = {$user_id_3}
984account.3.sip_server_host = {$server_address_3}
985account.3.sip_server_port = {$sip_port_3}
986account.3.outbound_host = {$outbound_proxy_3}
987
988account.3.outbound_port = {$sip_port_3}
989{if isset($yealink_sip_listen_port)}account.3.sip_listen_port = {$yealink_sip_listen_port}{else}account.3.sip_listen_port = 5060{/if}
990
991account.3.sip_listen_port = 5060
992#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
993{if $sip_transport_3 == 'udp'}account.3.transport = 0{/if}
994{if $sip_transport_3 == 'tcp'}account.3.transport = 1{/if}
995{if $sip_transport_3 == 'tls'}account.3.transport = 2{/if}
996{if $sip_transport_3 == 'dns srv'}account.3.transport = 3{/if}
997
998account.3.outbound_proxy.1.address = {$outbound_proxy_primary_3}
999account.3.outbound_proxy.2.address = {$outbound_proxy_secondary_3}
1000account.3.outbound_proxy_enable = {if isset($outbound_proxy_primary_3)}1{else}0{/if}
1001
1002#######################################################################################
1003##                          Failback                                                 ##
1004#######################################################################################
1005## ranges from 1 to 6;
1006##account.X.reregister_enable = 0
1007
1008account.3.reregister_enable = 0
1009account.3.retry_counts =
1010account.3.failback_mode = 0
1011account.3.failback_timeout = 3600
1012account.3.naptr_build = 0
1013account.3.fallback.redundancy_type = 0
1014account.3.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
1015account.3.sip_server.1.address =
1016account.3.sip_server.1.port = 5060
1017#Configure the register expiry time (in seconds), the default value is 3600.
1018account.3.sip_server.1.expires = {$register_expires_3}
1019account.3.sip_server.1.retry_counts = 3
1020account.3.sip_server.1.failback_mode = 0
1021account.3.sip_server.1.failback_timeout = 3600
1022account.3.sip_server.1.register_on_enable = 0
1023account.3.sip_server.2.address =
1024account.3.sip_server.2.port = 5060
1025account.3.sip_server.2.expires = 3600
1026account.3.sip_server.2.retry_counts = 3
1027account.3.sip_server.2.failback_mode = 0
1028account.3.sip_server.2.failback_timeout = 3600
1029account.3.sip_server.2.register_on_enable = 0
1030account.3.dns_cache_type = 1
1031
1032account.3.dns_cache_a.1.name =
1033account.3.dns_cache_a.1.ip =
1034account.3.dns_cache_a.1.ttl = 300
1035
1036account.3.dns_cache_srv.0.name =
1037account.3.dns_cache_srv.0.port = 0
1038account.3.dns_cache_srv.0.priority = 0
1039account.3.dns_cache_srv.0.target =
1040account.3.dns_cache_srv.0.weight = 0
1041account.3.dns_cache_srv.0.ttl = 300
1042account.3.dns_cache_naptr.0.name =
1043account.3.dns_cache_naptr.0.flags =
1044account.3.dns_cache_naptr.0.order = 0
1045account.3.dns_cache_naptr.0.preference = 0
1046account.3.dns_cache_naptr.0.replace =
1047account.3.dns_cache_naptr.0.service =
1048account.3.dns_cache_naptr.0.ttl = 300
1049
1050account.3.static_cache_pri = 0
1051
1052#######################################################################################
1053##                           Register Advanced                                       ##
1054#######################################################################################
1055## ranges from 1 to 6;
1056##account.X.sip_server_type =
1057
1058#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
1059account.3.sip_server_type =
1060#Enable or disable the phone to send the account log-off message first and then send account register message when rebooting the phone; 0-Disabled (default), 1-Enabled;
1061account.3.unregister_on_reboot =
1062
1063#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled;
1064account.3.sip_trust_ctrl = 1
1065
1066#Configure the timeout (in seconds) for DNS query, the value ranges from 1 to 9, the default value is 8.
1067account.3.dns_query_timeout=
1068
1069#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
1070account.3.srv_ttl_timer_enable =
1071account.3.proxy_require =
1072
1073
1074#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;
1075account.3.register_mac =
1076account.3.register_line =
1077
1078#Configure the interval (in seconds) the phone retries to register when account1 fails to register. It ranges from 0 to 1800, the default value is 30.
1079account.3.reg_fail_retry_interval =
1080
1081#########################################################################
1082##                     NAT Settings                                    ##
1083#########################################################################
1084
1085#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
1086account.3.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}
1087
1088#Configure the STUN server address.
1089account.3.nat.stun_server = {$stun_server}
1090
1091#Configure the STUN server port, the default value is 3478.
1092account.3.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}
1093
1094#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
1095account.3.nat.udp_update_enable = 1
1096
1097#Specify the keep-alive interval (in seconds), the default value is 30.
1098account.3.nat.udp_update_time = 30
1099
1100#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
1101account.3.nat.rport = {$yealink_rport}
1102
1103
1104#######################################################################################
1105##                            Account3 Advance Settings                              ##
1106#######################################################################################
1107## ranges from 1 to 6;
1108##account.X.advanced.timer_t1 = 0.5
1109##voice_mail.number.X =
1110
1111#Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5.
1112account.3.advanced.timer_t1 = 0.5
1113account.3.advanced.timer_t2 = 4
1114account.3.advanced.timer_t4 = 5
1115
1116voice_mail.number.3 = *97
1117
1118
1119#######################################################################################
1120##                            Subscribe                                              ##
1121#######################################################################################
1122## ranges from 1 to 6;
1123##account.X.subscribe_mwi =
1124
1125account.3.subscribe_mwi = 1
1126account.3.subscribe_mwi_expires = 3600
1127
1128#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
1129account.3.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm}
1130
1131account.3.subscribe_acd_expires= 3600
1132
1133
1134#######################################################################################
1135##                            BLF List                                               ##
1136#######################################################################################
1137## ranges from 1 to 6;
1138##account.X.blf.blf_list_uri =
1139
1140#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
1141account.3.blf.blf_list_uri =
1142
1143account.3.blf_list_code =
1144account.3.blf_list_barge_in_code =
1145account.3.blf.subscribe_period = 1800
1146
1147account.3.blf.subscribe_event =
1148account.3.out_dialog_blf_enable = 0
1149
1150
1151#######################################################################################
1152##                            BLA/SCA                                                ##
1153#######################################################################################
1154## ranges from 1 to 6;
1155##account.X.shared_line =
1156
1157#Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA;
1158{if isset($shared_line_3) }
1159account.3.shared_line = {$shared_line_3}
1160{else}
1161account.3.shared_line = 0
1162{/if}
1163
1164#Configure BLA number for account1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
1165account.3.bla_number =
1166account.3.bla_subscribe_period = 300
1167
1168#######################################################################################
1169##                            Audio Codec                                            ##
1170#######################################################################################
1171#Audio codecs for account1 (Y ranges from 1 to 11).
1172#Enable or disable the specified codec; 0-Disabled, 1-Enabled;
1173#account.3.codec.Y.enable =
1174#The type of the specified codec.
1175#account.3.codec.Y.payload_type =
1176#The priority of the specified codec. It's available when the codec is enabled.
1177#account.3.codec.Y.priority =
1178#The payload of the specified codec.
1179#account.3.codec.Y.rtpmap =
1180
1181account.3.codec.1.enable = 1
1182account.3.codec.1.payload_type = PCMU
1183account.3.codec.1.priority = 2
1184account.3.codec.1.rtpmap = 0
1185
1186account.3.codec.2.enable = 1
1187account.3.codec.2.payload_type = PCMA
1188account.3.codec.2.priority = 3
1189account.3.codec.2.rtpmap = 8
1190
1191account.3.codec.3.enable = 0
1192account.3.codec.3.payload_type = G723_53
1193account.3.codec.3.priority =0
1194account.3.codec.3.rtpmap = 4
1195
1196account.3.codec.4.enable = 0
1197account.3.codec.4.payload_type = G723_63
1198account.3.codec.4.priority = 0
1199account.3.codec.4.rtpmap = 4
1200
1201account.3.codec.5.enable = 1
1202account.3.codec.5.payload_type = G729
1203account.3.codec.5.priority = 3
1204account.3.codec.5.rtpmap = 18
1205
1206account.3.codec.6.enable = 1
1207account.3.codec.6.payload_type = G722
1208account.3.codec.6.priority = 1
1209account.3.codec.6.rtpmap = 9
1210
1211account.3.codec.7.enable = 0
1212account.3.codec.7.payload_type = iLBC
1213account.3.codec.7.priority =  0
1214account.3.codec.7.rtpmap = 106
1215
1216account.3.codec.8.enable = 0
1217account.3.codec.8.payload_type = G726-16
1218account.3.codec.8.priority = 0
1219account.3.codec.8.rtpmap = 103
1220
1221account.3.codec.9.enable = 0
1222account.3.codec.9.payload_type = G726-24
1223account.3.codec.9.priority = 0
1224account.3.codec.9.rtpmap = 104
1225
1226account.3.codec.10.enable = 0
1227account.3.codec.10.payload_type = G726-32
1228account.3.codec.10.priority = 0
1229account.3.codec.10.rtpmap = 102
1230
1231account.3.codec.11.enable = 0
1232account.3.codec.11.payload_type = G726-40
1233account.3.codec.11.priority = 0
1234account.3.codec.11.rtpmap = 105
1235
1236account.3.codec.12.enable = 0
1237account.3.codec.12.payload_type = GSM
1238account.3.codec.12.priority = 0
1239account.3.codec.12.rtpmap = 3
1240
1241
1242#######################################################################################
1243##                            Audio Advanced                                         ##
1244#######################################################################################
1245#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
1246account.3.srtp_encryption =
1247
1248#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
1249account.3.ptime =
1250
1251
1252#######################################################################################
1253##                            Anonymous Call                                         ##
1254#######################################################################################
1255account.3.anonymous_call = 0
1256account.3.anonymous_call_oncode =
1257account.3.anonymous_call_offcode =
1258
1259account.3.reject_anonymous_call =
1260account.3.anonymous_reject_oncode =
1261account.3.anonymous_reject_offcode =
1262
1263#######################################################################################
1264##                            Pickup Code                                            ##
1265#######################################################################################
1266account.3.dialoginfo_callpickup = 0
1267
1268#Configure the directed and group pickup codes for account 1, the settings on a per-account basis take precedence over the settings on the phone.
1269account.3.group_pickup_code =
1270account.3.direct_pickup_code =
1271
1272#######################################################################################
1273##                            DTMF                                                   ##
1274#######################################################################################
1275#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
1276account.3.dtmf.type =
1277
1278#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
1279account.3.dtmf.info_type =
1280
1281#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101.
1282account.3.dtmf.dtmf_payload =
1283
1284#######################################################################################
1285##                            Alert info                                             ##
1286#######################################################################################
1287#Enable or disable to use the Distinctive Ring Tones;  0-Disabled , 1-Enabled(default);
1288account.3.alert_info_url_enable =
1289
1290#Assign a ringtone for account2. The system ring tones are: common (default), Ring1.wav - Ring8.wav.
1291#If you set the custom ring tone (Busy.wav) for the phone, the value is: account.2.ringtone.ring_type = Config:Busy.wav
1292#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav
1293account.3.ringtone.ring_type =
1294
1295account.3.picture_info_enable = 1
1296
1297#######################################################################################
1298##                            Conference                                             ##
1299#######################################################################################
1300#Configure the conference type; 0-Local (default), 2-Network Conference;
1301account.3.conf_type =
1302
1303#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
1304account.3.conf_uri =
1305
1306#######################################################################################
1307##                            cid source                                             ##
1308#######################################################################################
1309#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
1310account.3.cid_source = {$yealink_cid_source}
1311
1312account.3.cid_source_privacy = 1
1313account.3.cid_source_ppi = 1
1314
1315#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
1316account.3.cp_source = 2
1317
1318#######################################################################################
1319##                            Session Timer                                          ##
1320#######################################################################################
1321#Enable or disable the session timer, 0-Disabled (default), 1-Enabled;
1322account.3.session_timer.enable = {$yealink_session_timer}
1323
1324#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
1325account.3.session_timer.expires =
1326
1327#Configure the session timer refresher; 0-Uac (default), 1-Uas;
1328account.3.session_timer.refresher =
1329
1330#######################################################################################
1331##                            Music on Hold                                          ##
1332#######################################################################################
1333#Configure the type of Music on Hold; 0-Send the INVITE request to Music on Hold Server then hold the call; 1-Hold the call then send the INVITE request to Music on Hold Server;
1334#Require reboot;
1335account.3.music_on_hold_type =
1336
1337account.3.music_server_uri =
1338
1339#######################################################################################
1340##                            Advanced                                               ##
1341#######################################################################################
1342#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
1343account.3.auto_answer =
1344
1345#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
1346account.3.missed_calllog =
1347
1348#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
1349account.3.100rel_enable = {$yealink_retransmission}
1350
1351#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
1352account.3.enable_user_equal_phone =
1353
1354#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default);
1355account.3.compact_header_enable =
1356
1357#######################################################################################
1358##                                   DND                                             ##
1359#######################################################################################
1360account.3.dnd.enable =
1361account.3.dnd.on_code =
1362account.3.dnd.off_code =
1363
1364#######################################################################################
1365##                                 Call Forward                                      ##
1366#######################################################################################
1367#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled;
1368account.3.always_fwd.enable =
1369account.3.always_fwd.target =
1370account.3.always_fwd.off_code =
1371account.3.always_fwd.on_code =
1372
1373account.3.busy_fwd.enable =
1374account.3.busy_fwd.target =
1375account.3.busy_fwd.off_code =
1376account.3.busy_fwd.on_code =
1377
1378#Enable or disable the no answer forward feature for account1; 0-Disabled (default), 1-Enabled;
1379#Configure the waiting ring times before forwarding. It ranges from 0 to 20, the default value is 2.
1380account.3.timeout_fwd.enable =
1381account.3.timeout_fwd.target =
1382account.3.timeout_fwd.timeout =
1383account.3.timeout_fwd.off_code =
1384account.3.timeout_fwd.on_code =
1385
1386#######################################################################################
1387##                                 Broadsoft Hoteling                                ##
1388#######################################################################################
1389account.3.hoteling.enable = 0
1390account.3.hoteling.user_id = 0
1391account.3.hoteling.password = 0
1392account.3.hoteling.auto_login_enable = 0
1393
1394#######################################################################################
1395##                                 Broadsoft ACD                                     ##
1396#######################################################################################
1397account.3.acd.enable = 0
1398account.3.acd.unavailable_reason_enable = 0
1399account.3.acd.available = 0
1400account.3.acd.initial_state = 1
1401
1402#######################################################################################
1403##                                 Broadsoft ACD Call Center                         ##
1404#######################################################################################
1405#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.)
1406#account.3.bw_acd_reason_code.Y = 500(lunch time)
1407account.3.bw_acd_reason_code.1 =
1408
1409account.3.reason_code.1 =
1410account.3.reason_code_name.1 = 0
1411account.3.bw_disp_code.1 =
1412account.3.bw_disp_code_name.1 =
1413account.3.supervisor_info_code.1 =
1414account.3.supervisor_info_code_name.1 =
1415
1416#######################################################################################
1417##                                 Broadsoft Call Center                             ##
1418#######################################################################################
1419account.3.call_center.call_info_enable = 0
1420account.3.call_center.show_call_info_time = 30
1421account.3.call_center.disp_code_enable = 0
1422account.3.call_center.trace_enable = 0
1423account.3.call_center.emergency_enable = 0
1424account.3.call_center.queue_status_enable = 0
1425account.3.call_center.queue_status_light_enable = 0
1426
1427#######################################################################################
1428##                                 Broadsoft XSI                                     ##
1429#######################################################################################
1430account.3.xsi.user =
1431account.3.xsi.password =
1432account.3.xsi.host =
1433account.3.xsi.server_type =
1434account.3.xsi.port =
1435
1436
1437#######################################################################################
1438##                                   NETWORK                                         ##
1439#######################################################################################
1440
1441#######################################################################################
1442##                           Account 4 Basic Settings                                ##
1443#######################################################################################
1444## ranges from 1 to 6;
1445##account.X.enable =
1446{if isset($user_password_4) }
1447account.4.enable = 1
1448{else}
1449account.4.enable = 0
1450{/if}
1451account.4.label = {$display_name_4}
1452account.4.display_name = {$display_name_4}
1453account.4.auth_name = {$auth_id_4}
1454account.4.password = {$user_password_4}
1455account.4.user_name = {$user_id_4}
1456account.4.sip_server_host = {$server_address_4}
1457account.4.sip_server_port = {$sip_port_4}
1458account.4.outbound_host = {$outbound_proxy_4}
1459
1460account.4.outbound_port = {$sip_port_4}
1461{if isset($yealink_sip_listen_port)}account.4.sip_listen_port = {$yealink_sip_listen_port}{else}account.4.sip_listen_port = 5060{/if}
1462
1463account.4.sip_listen_port = 5060
1464#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
1465{if $sip_transport_4 == 'udp'}account.4.transport = 0{/if}
1466{if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if}
1467{if $sip_transport_4 == 'tls'}account.4.transport = 2{/if}
1468{if $sip_transport_4 == 'dns srv'}account.4.transport = 3{/if}
1469
1470account.4.outbound_proxy.1.address = {$outbound_proxy_primary_4}
1471account.4.outbound_proxy.2.address = {$outbound_proxy_secondary_4}
1472account.4.outbound_proxy_enable = {if isset($outbound_proxy_primary_4)}1{else}0{/if}
1473
1474#######################################################################################
1475##                          Failback                                                 ##
1476#######################################################################################
1477## ranges from 1 to 6;
1478##account.X.reregister_enable = 0
1479
1480account.4.reregister_enable = 0
1481account.4.retry_counts =
1482account.4.failback_mode = 0
1483account.4.failback_timeout = 3600
1484account.4.naptr_build = 0
1485account.4.fallback.redundancy_type = 0
1486account.4.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
1487account.4.sip_server.1.address =
1488account.4.sip_server.1.port = 5060
1489#Configure the register expiry time (in seconds), the default value is 3600.
1490account.4.sip_server.1.expires = {$register_expires_4}
1491account.4.sip_server.1.retry_counts = 3
1492account.4.sip_server.1.failback_mode = 0
1493account.4.sip_server.1.failback_timeout = 3600
1494account.4.sip_server.1.register_on_enable = 0
1495account.4.sip_server.2.address =
1496account.4.sip_server.2.port = 5060
1497account.4.sip_server.2.expires = 3600
1498account.4.sip_server.2.retry_counts = 3
1499account.4.sip_server.2.failback_mode = 0
1500account.4.sip_server.2.failback_timeout = 3600
1501account.4.sip_server.2.register_on_enable = 0
1502account.4.dns_cache_type = 1
1503
1504account.4.dns_cache_a.1.name =
1505account.4.dns_cache_a.1.ip =
1506account.4.dns_cache_a.1.ttl = 300
1507
1508account.4.dns_cache_srv.1.name =
1509account.4.dns_cache_srv.1.port = 0
1510account.4.dns_cache_srv.1.priority = 0
1511account.4.dns_cache_srv.1.target =
1512account.4.dns_cache_srv.1.weight = 0
1513account.4.dns_cache_srv.1.ttl = 300
1514account.4.dns_cache_naptr.1.name =
1515account.4.dns_cache_naptr.1.flags =
1516account.4.dns_cache_naptr.1.order = 0
1517account.4.dns_cache_naptr.1.preference = 0
1518account.4.dns_cache_naptr.1.replace =
1519account.4.dns_cache_naptr.1.service =
1520account.4.dns_cache_naptr.1.ttl = 300
1521
1522account.4.static_cache_pri = 0
1523
1524#######################################################################################
1525##                           Register Advanced                                       ##
1526#######################################################################################
1527## ranges from 1 to 6;
1528##account.X.sip_server_type =
1529
1530#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
1531account.4.sip_server_type =
1532#Enable or disable the phone to send the account log-off message first and then send account register message when rebooting the phone; 0-Disabled (default), 1-Enabled;
1533account.4.unregister_on_reboot =
1534
1535#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled;
1536account.4.sip_trust_ctrl = 1
1537
1538#Configure the timeout (in seconds) for DNS query, the value ranges from 1 to 9, the default value is 8.
1539account.4.dns_query_timeout=
1540
1541#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
1542account.4.srv_ttl_timer_enable =
1543account.4.proxy_require =
1544
1545
1546#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;
1547account.4.register_mac =
1548account.4.register_line =
1549
1550#Configure the interval (in seconds) the phone retries to register when account1 fails to register. It ranges from 0 to 1800, the default value is 30.
1551account.4.reg_fail_retry_interval =
1552
1553#########################################################################
1554##                     NAT Settings                                    ##
1555#########################################################################
1556
1557#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
1558account.4.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}
1559
1560#Configure the STUN server address.
1561account.4.nat.stun_server = {$stun_server}
1562
1563#Configure the STUN server port, the default value is 3478.
1564account.4.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}
1565
1566#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
1567account.4.nat.udp_update_enable = 1
1568
1569#Specify the keep-alive interval (in seconds), the default value is 30.
1570account.4.nat.udp_update_time = 30
1571
1572#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
1573account.4.nat.rport = {$yealink_rport}
1574
1575
1576#######################################################################################
1577##                            Account4 Advance Settings                              ##
1578#######################################################################################
1579## ranges from 1 to 6;
1580##account.X.advanced.timer_t1 = 0.5
1581##voice_mail.number.X =
1582
1583#Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5.
1584account.4.advanced.timer_t1 = 0.5
1585account.4.advanced.timer_t2 = 4
1586account.4.advanced.timer_t4 = 5
1587
1588voice_mail.number.4 = *97
1589
1590
1591#######################################################################################
1592##                            Subscribe                                              ##
1593#######################################################################################
1594## ranges from 1 to 6;
1595##account.X.subscribe_mwi =
1596
1597account.4.subscribe_mwi = 1
1598account.4.subscribe_mwi_expires = 3600
1599
1600#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
1601account.4.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm}
1602
1603account.4.subscribe_acd_expires= 3600
1604
1605
1606#######################################################################################
1607##                            BLF List                                               ##
1608#######################################################################################
1609## ranges from 1 to 6;
1610##account.X.blf.blf_list_uri =
1611
1612#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
1613account.4.blf.blf_list_uri =
1614
1615account.4.blf_list_code =
1616account.4.blf_list_barge_in_code =
1617account.4.blf.subscribe_period = 1800
1618
1619account.4.blf.subscribe_event =
1620account.4.out_dialog_blf_enable = 0
1621
1622
1623#######################################################################################
1624##                            BLA/SCA                                                ##
1625#######################################################################################
1626## ranges from 1 to 6;
1627##account.X.shared_line =
1628
1629#Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA;
1630{if isset($shared_line_4) }
1631account.4.shared_line = {$shared_line_4}
1632{else}
1633account.4.shared_line = 0
1634{/if}
1635
1636#Configure BLA number for account1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
1637account.4.bla_number =
1638account.4.bla_subscribe_period = 300
1639
1640#######################################################################################
1641##                            Audio Codec                                            ##
1642#######################################################################################
1643#Audio codecs for account1 (Y ranges from 1 to 11).
1644#Enable or disable the specified codec; 0-Disabled, 1-Enabled;
1645#account.4.codec.Y.enable =
1646#The type of the specified codec.
1647#account.4.codec.Y.payload_type =
1648#The priority of the specified codec. It's available when the codec is enabled.
1649#account.4.codec.Y.priority =
1650#The payload of the specified codec.
1651#account.4.codec.Y.rtpmap =
1652
1653account.4.codec.1.enable = 1
1654account.4.codec.1.payload_type = PCMU
1655account.4.codec.1.priority = 1
1656account.4.codec.1.rtpmap = 0
1657
1658account.4.codec.2.enable = 1
1659account.4.codec.2.payload_type = PCMA
1660account.4.codec.2.priority = 2
1661account.4.codec.2.rtpmap = 8
1662
1663account.4.codec.3.enable = 0
1664account.4.codec.3.payload_type = G723_53
1665account.4.codec.3.priority =0
1666account.4.codec.3.rtpmap = 4
1667
1668account.4.codec.4.enable = 0
1669account.4.codec.4.payload_type = G723_63
1670account.4.codec.4.priority = 0
1671account.4.codec.4.rtpmap = 4
1672
1673account.4.codec.5.enable = 1
1674account.4.codec.5.payload_type = G729
1675account.4.codec.5.priority = 3
1676account.4.codec.5.rtpmap = 18
1677
1678account.4.codec.6.enable = 1
1679account.4.codec.6.payload_type = G722
1680account.4.codec.6.priority = 4
1681account.4.codec.6.rtpmap = 9
1682
1683account.4.codec.7.enable = 0
1684account.4.codec.7.payload_type = iLBC
1685account.4.codec.7.priority =  0
1686account.4.codec.7.rtpmap = 106
1687
1688account.4.codec.8.enable = 0
1689account.4.codec.8.payload_type = G726-16
1690account.4.codec.8.priority = 0
1691account.4.codec.8.rtpmap = 103
1692
1693account.4.codec.9.enable = 0
1694account.4.codec.9.payload_type = G726-24
1695account.4.codec.9.priority = 0
1696account.4.codec.9.rtpmap = 104
1697
1698account.4.codec.10.enable = 0
1699account.4.codec.10.payload_type = G726-32
1700account.4.codec.10.priority = 0
1701account.4.codec.10.rtpmap = 102
1702
1703account.4.codec.11.enable = 0
1704account.4.codec.11.payload_type = G726-40
1705account.4.codec.11.priority = 0
1706account.4.codec.11.rtpmap = 105
1707
1708account.4.codec.12.enable = 0
1709account.4.codec.12.payload_type = GSM
1710account.4.codec.12.priority = 0
1711account.4.codec.12.rtpmap = 3
1712
1713
1714#######################################################################################
1715##                            Audio Advanced                                         ##
1716#######################################################################################
1717#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
1718account.4.srtp_encryption =
1719
1720#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
1721account.4.ptime =
1722
1723
1724#######################################################################################
1725##                            Anonymous Call                                         ##
1726#######################################################################################
1727account.4.anonymous_call = 0
1728account.4.anonymous_call_oncode =
1729account.4.anonymous_call_offcode =
1730
1731account.4.reject_anonymous_call =
1732account.4.anonymous_reject_oncode =
1733account.4.anonymous_reject_offcode =
1734
1735#######################################################################################
1736##                            Pickup Code                                            ##
1737#######################################################################################
1738account.4.dialoginfo_callpickup = 0
1739
1740#Configure the directed and group pickup codes for account 1, the settings on a per-account basis take precedence over the settings on the phone.
1741account.4.group_pickup_code =
1742account.4.direct_pickup_code =
1743
1744#######################################################################################
1745##                            DTMF                                                   ##
1746#######################################################################################
1747#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
1748account.4.dtmf.type =
1749
1750#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
1751account.4.dtmf.info_type =
1752
1753#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101.
1754account.4.dtmf.dtmf_payload =
1755
1756#######################################################################################
1757##                            Alert info                                             ##
1758#######################################################################################
1759#Enable or disable to use the Distinctive Ring Tones;  0-Disabled , 1-Enabled(default);
1760account.4.alert_info_url_enable =
1761
1762#Assign a ringtone for account2. The system ring tones are: common (default), Ring1.wav - Ring8.wav.
1763#If you set the custom ring tone (Busy.wav) for the phone, the value is: account.2.ringtone.ring_type = Config:Busy.wav
1764#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav
1765account.4.ringtone.ring_type =
1766
1767account.4.picture_info_enable = 1
1768
1769#######################################################################################
1770##                            Conference                                             ##
1771#######################################################################################
1772#Configure the conference type; 0-Local (default), 2-Network Conference;
1773account.4.conf_type =
1774
1775#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
1776account.4.conf_uri =
1777
1778#######################################################################################
1779##                            cid source                                             ##
1780#######################################################################################
1781#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
1782account.4.cid_source = {$yealink_cid_source}
1783
1784account.4.cid_source_privacy = 1
1785account.4.cid_source_ppi = 1
1786
1787#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
1788account.4.cp_source = 2
1789
1790#######################################################################################
1791##                            Session Timer                                          ##
1792#######################################################################################
1793#Enable or disable the session timer, 0-Disabled (default), 1-Enabled;
1794account.4.session_timer.enable = {$yealink_session_timer}
1795
1796#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
1797account.4.session_timer.expires =
1798
1799#Configure the session timer refresher; 0-Uac (default), 1-Uas;
1800account.4.session_timer.refresher =
1801
1802#######################################################################################
1803##                            Music on Hold                                          ##
1804#######################################################################################
1805#Configure the type of Music on Hold; 0-Send the INVITE request to Music on Hold Server then hold the call; 1-Hold the call then send the INVITE request to Music on Hold Server;
1806#Require reboot;
1807account.4.music_on_hold_type =
1808
1809account.4.music_server_uri =
1810
1811#######################################################################################
1812##                            Advanced                                               ##
1813#######################################################################################
1814#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
1815account.4.auto_answer =
1816
1817#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
1818account.4.missed_calllog =
1819
1820#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
1821account.4.100rel_enable = {$yealink_retransmission}
1822
1823#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
1824account.4.enable_user_equal_phone =
1825
1826#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default);
1827account.4.compact_header_enable =
1828
1829#######################################################################################
1830##                                   DND                                             ##
1831#######################################################################################
1832account.4.dnd.enable =
1833account.4.dnd.on_code =
1834account.4.dnd.off_code =
1835
1836#######################################################################################
1837##                                 Call Forward                                      ##
1838#######################################################################################
1839#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled;
1840account.4.always_fwd.enable =
1841account.4.always_fwd.target =
1842account.4.always_fwd.off_code =
1843account.4.always_fwd.on_code =
1844
1845account.4.busy_fwd.enable =
1846account.4.busy_fwd.target =
1847account.4.busy_fwd.off_code =
1848account.4.busy_fwd.on_code =
1849
1850#Enable or disable the no answer forward feature for account1; 0-Disabled (default), 1-Enabled;
1851#Configure the waiting ring times before forwarding. It ranges from 0 to 20, the default value is 2.
1852account.4.timeout_fwd.enable =
1853account.4.timeout_fwd.target =
1854account.4.timeout_fwd.timeout =
1855account.4.timeout_fwd.off_code =
1856account.4.timeout_fwd.on_code =
1857
1858#######################################################################################
1859##                                 Broadsoft Hoteling                                ##
1860#######################################################################################
1861account.4.hoteling.enable = 0
1862account.4.hoteling.user_id = 0
1863account.4.hoteling.password = 0
1864account.4.hoteling.auto_login_enable = 0
1865
1866#######################################################################################
1867##                                 Broadsoft ACD                                     ##
1868#######################################################################################
1869account.4.acd.enable = 0
1870account.4.acd.unavailable_reason_enable = 0
1871account.4.acd.available = 0
1872account.4.acd.initial_state = 1
1873
1874#######################################################################################
1875##                                 Broadsoft ACD Call Center                         ##
1876#######################################################################################
1877#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.)
1878#account.4.bw_acd_reason_code.Y = 500(lunch time)
1879account.4.bw_acd_reason_code.1 =
1880
1881account.4.reason_code.1 =
1882account.4.reason_code_name.1 = 0
1883account.4.bw_disp_code.1 =
1884account.4.bw_disp_code_name.1 =
1885account.4.supervisor_info_code.1 =
1886account.4.supervisor_info_code_name.1 =
1887
1888#######################################################################################
1889##                                 Broadsoft Call Center                             ##
1890#######################################################################################
1891account.4.call_center.call_info_enable = 0
1892account.4.call_center.show_call_info_time = 30
1893account.4.call_center.disp_code_enable = 0
1894account.4.call_center.trace_enable = 0
1895account.4.call_center.emergency_enable = 0
1896account.4.call_center.queue_status_enable = 0
1897account.4.call_center.queue_status_light_enable = 0
1898
1899#######################################################################################
1900##                                 Broadsoft XSI                                     ##
1901#######################################################################################
1902account.4.xsi.user =
1903account.4.xsi.password =
1904account.4.xsi.host =
1905account.4.xsi.server_type =
1906account.4.xsi.port =
1907
1908
1909#######################################################################################
1910##                                   NETWORK                                         ##
1911#######################################################################################
1912
1913#######################################################################################
1914##                           Account 5 Basic Settings                                ##
1915#######################################################################################
1916## ranges from 1 to 6;
1917##account.X.enable =
1918{if isset($user_password_5) }
1919account.5.enable = 1
1920{else}
1921account.5.enable = 0
1922{/if}
1923account.5.label = {$display_name_5}
1924account.5.display_name = {$display_name_5}
1925account.5.auth_name = {$auth_id_5}
1926account.5.password = {$user_password_5}
1927account.5.user_name = {$user_id_5}
1928account.5.sip_server_host = {$server_address_5}
1929account.5.sip_server_port = {$sip_port_5}
1930account.5.outbound_host = {$outbound_proxy_5}
1931
1932account.5.outbound_port = {$sip_port_5}
1933{if isset($yealink_sip_listen_port)}account.5.sip_listen_port = {$yealink_sip_listen_port}{else}account.5.sip_listen_port = 5060{/if}
1934
1935account.5.sip_listen_port = 5060
1936#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
1937{if $sip_transport_5 == 'udp'}account.5.transport = 0{/if}
1938{if $sip_transport_5 == 'tcp'}account.5.transport = 1{/if}
1939{if $sip_transport_5 == 'tls'}account.5.transport = 2{/if}
1940{if $sip_transport_5 == 'dns srv'}account.5.transport = 3{/if}
1941
1942account.5.outbound_proxy.1.address = {$outbound_proxy_primary_5}
1943account.5.outbound_proxy.2.address = {$outbound_proxy_secondary_5}
1944account.5.outbound_proxy_enable = {if isset($outbound_proxy_primary_5)}1{else}0{/if}
1945
1946#######################################################################################
1947##                          Failback                                                 ##
1948#######################################################################################
1949## ranges from 1 to 6;
1950##account.X.reregister_enable = 0
1951
1952account.5.reregister_enable = 0
1953account.5.retry_counts =
1954account.5.failback_mode = 0
1955account.5.failback_timeout = 3600
1956account.5.naptr_build = 0
1957account.5.fallback.redundancy_type = 0
1958account.5.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
1959account.5.sip_server.1.address =
1960account.5.sip_server.1.port = 5060
1961#Configure the register expiry time (in seconds), the default value is 3600.
1962account.5.sip_server.1.expires = {$register_expires_5}
1963account.5.sip_server.1.retry_counts = 3
1964account.5.sip_server.1.failback_mode = 0
1965account.5.sip_server.1.failback_timeout = 3600
1966account.5.sip_server.1.register_on_enable = 0
1967account.5.sip_server.2.address =
1968account.5.sip_server.2.port = 5060
1969account.5.sip_server.2.expires = 3600
1970account.5.sip_server.2.retry_counts = 3
1971account.5.sip_server.2.failback_mode = 0
1972account.5.sip_server.2.failback_timeout = 3600
1973account.5.sip_server.2.register_on_enable = 0
1974account.5.dns_cache_type = 1
1975
1976account.5.dns_cache_a.1.name =
1977account.5.dns_cache_a.1.ip =
1978account.5.dns_cache_a.1.ttl = 300
1979
1980account.5.dns_cache_srv.1.name =
1981account.5.dns_cache_srv.1.port = 0
1982account.5.dns_cache_srv.1.priority = 0
1983account.5.dns_cache_srv.1.target =
1984account.5.dns_cache_srv.1.weight = 0
1985account.5.dns_cache_srv.1.ttl = 300
1986account.5.dns_cache_naptr.1.name =
1987account.5.dns_cache_naptr.1.flags =
1988account.5.dns_cache_naptr.1.order = 0
1989account.5.dns_cache_naptr.1.preference = 0
1990account.5.dns_cache_naptr.1.replace =
1991account.5.dns_cache_naptr.1.service =
1992account.5.dns_cache_naptr.1.ttl = 300
1993
1994account.5.static_cache_pri = 0
1995
1996#######################################################################################
1997##                           Register Advanced                                       ##
1998#######################################################################################
1999## ranges from 1 to 6;
2000##account.X.sip_server_type =
2001
2002#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
2003account.5.sip_server_type =
2004#Enable or disable the phone to send the account log-off message first and then send account register message when rebooting the phone; 0-Disabled (default), 1-Enabled;
2005account.5.unregister_on_reboot =
2006
2007#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled;
2008account.5.sip_trust_ctrl = 1
2009
2010#Configure the timeout (in seconds) for DNS query, the value ranges from 1 to 9, the default value is 8.
2011account.5.dns_query_timeout=
2012
2013#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
2014account.5.srv_ttl_timer_enable =
2015account.5.proxy_require =
2016
2017
2018#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;
2019account.5.register_mac =
2020account.5.register_line =
2021
2022#Configure the interval (in seconds) the phone retries to register when account1 fails to register. It ranges from 0 to 1800, the default value is 30.
2023account.5.reg_fail_retry_interval =
2024
2025#########################################################################
2026##                     NAT Settings                                    ##
2027#########################################################################
2028
2029#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
2030account.5.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}
2031
2032#Configure the STUN server address.
2033account.5.nat.stun_server = {$stun_server}
2034
2035#Configure the STUN server port, the default value is 3478.
2036account.5.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}
2037
2038#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
2039account.5.nat.udp_update_enable = 1
2040
2041#Specify the keep-alive interval (in seconds), the default value is 30.
2042account.5.nat.udp_update_time = 30
2043
2044#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
2045account.5.nat.rport = {$yealink_rport}
2046
2047
2048#######################################################################################
2049##                            Account5 Advance Settings                              ##
2050#######################################################################################
2051## ranges from 1 to 6;
2052##account.X.advanced.timer_t1 = 0.5
2053##voice_mail.number.X =
2054
2055#Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5.
2056account.5.advanced.timer_t1 = 0.5
2057account.5.advanced.timer_t2 = 4
2058account.5.advanced.timer_t4 = 5
2059
2060voice_mail.number.5 = *97
2061
2062
2063#######################################################################################
2064##                            Subscribe                                              ##
2065#######################################################################################
2066## ranges from 1 to 6;
2067##account.X.subscribe_mwi =
2068
2069account.5.subscribe_mwi = 1
2070account.5.subscribe_mwi_expires = 3600
2071
2072#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
2073account.5.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm}
2074
2075account.5.subscribe_acd_expires= 3600
2076
2077
2078#######################################################################################
2079##                            BLF List                                               ##
2080#######################################################################################
2081## ranges from 1 to 6;
2082##account.X.blf.blf_list_uri =
2083
2084#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
2085account.5.blf.blf_list_uri =
2086
2087account.5.blf_list_code =
2088account.5.blf_list_barge_in_code =
2089account.5.blf.subscribe_period = 1800
2090
2091account.5.blf.subscribe_event =
2092account.5.out_dialog_blf_enable = 0
2093
2094
2095#######################################################################################
2096##                            BLA/SCA                                                ##
2097#######################################################################################
2098## ranges from 1 to 6;
2099##account.X.shared_line =
2100
2101#Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA;
2102{if isset($shared_line_5) }
2103account.5.shared_line = {$shared_line_5}
2104{else}
2105account.5.shared_line = 0
2106{/if}
2107
2108#Configure BLA number for account1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
2109account.5.bla_number =
2110account.5.bla_subscribe_period = 300
2111
2112#######################################################################################
2113##                            Audio Codec                                            ##
2114#######################################################################################
2115#Audio codecs for account1 (Y ranges from 1 to 11).
2116#Enable or disable the specified codec; 0-Disabled, 1-Enabled;
2117#account.5.codec.Y.enable =
2118#The type of the specified codec.
2119#account.5.codec.Y.payload_type =
2120#The priority of the specified codec. It's available when the codec is enabled.
2121#account.5.codec.Y.priority =
2122#The payload of the specified codec.
2123#account.5.codec.Y.rtpmap =
2124
2125account.5.codec.1.enable = 1
2126account.5.codec.1.payload_type = PCMU
2127account.5.codec.1.priority = 1
2128account.5.codec.1.rtpmap = 0
2129
2130account.5.codec.2.enable = 1
2131account.5.codec.2.payload_type = PCMA
2132account.5.codec.2.priority = 2
2133account.5.codec.2.rtpmap = 8
2134
2135account.5.codec.3.enable = 0
2136account.5.codec.3.payload_type = G723_53
2137account.5.codec.3.priority =0
2138account.5.codec.3.rtpmap = 4
2139
2140account.5.codec.4.enable = 0
2141account.5.codec.4.payload_type = G723_63
2142account.5.codec.4.priority = 0
2143account.5.codec.4.rtpmap = 4
2144
2145account.5.codec.5.enable = 1
2146account.5.codec.5.payload_type = G729
2147account.5.codec.5.priority = 3
2148account.5.codec.5.rtpmap = 18
2149
2150account.5.codec.6.enable = 1
2151account.5.codec.6.payload_type = G722
2152account.5.codec.6.priority = 4
2153account.5.codec.6.rtpmap = 9
2154
2155account.5.codec.7.enable = 0
2156account.5.codec.7.payload_type = iLBC
2157account.5.codec.7.priority =  0
2158account.5.codec.7.rtpmap = 106
2159
2160account.5.codec.8.enable = 0
2161account.5.codec.8.payload_type = G726-16
2162account.5.codec.8.priority = 0
2163account.5.codec.8.rtpmap = 103
2164
2165account.5.codec.9.enable = 0
2166account.5.codec.9.payload_type = G726-24
2167account.5.codec.9.priority = 0
2168account.5.codec.9.rtpmap = 104
2169
2170account.5.codec.10.enable = 0
2171account.5.codec.10.payload_type = G726-32
2172account.5.codec.10.priority = 0
2173account.5.codec.10.rtpmap = 102
2174
2175account.5.codec.11.enable = 0
2176account.5.codec.11.payload_type = G726-40
2177account.5.codec.11.priority = 0
2178account.5.codec.11.rtpmap = 105
2179
2180account.5.codec.12.enable = 0
2181account.5.codec.12.payload_type = GSM
2182account.5.codec.12.priority = 0
2183account.5.codec.12.rtpmap = 3
2184
2185
2186#######################################################################################
2187##                            Audio Advanced                                         ##
2188#######################################################################################
2189#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
2190account.5.srtp_encryption =
2191
2192#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
2193account.5.ptime =
2194
2195
2196#######################################################################################
2197##                            Anonymous Call                                         ##
2198#######################################################################################
2199account.5.anonymous_call = 0
2200account.5.anonymous_call_oncode =
2201account.5.anonymous_call_offcode =
2202
2203account.5.reject_anonymous_call =
2204account.5.anonymous_reject_oncode =
2205account.5.anonymous_reject_offcode =
2206
2207#######################################################################################
2208##                            Pickup Code                                            ##
2209#######################################################################################
2210account.5.dialoginfo_callpickup = 0
2211
2212#Configure the directed and group pickup codes for account 1, the settings on a per-account basis take precedence over the settings on the phone.
2213account.5.group_pickup_code =
2214account.5.direct_pickup_code =
2215
2216#######################################################################################
2217##                            DTMF                                                   ##
2218#######################################################################################
2219#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
2220account.5.dtmf.type =
2221
2222#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
2223account.5.dtmf.info_type =
2224
2225#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101.
2226account.5.dtmf.dtmf_payload =
2227
2228#######################################################################################
2229##                            Alert info                                             ##
2230#######################################################################################
2231#Enable or disable to use the Distinctive Ring Tones;  0-Disabled , 1-Enabled(default);
2232account.5.alert_info_url_enable =
2233
2234#Assign a ringtone for account2. The system ring tones are: common (default), Ring1.wav - Ring8.wav.
2235#If you set the custom ring tone (Busy.wav) for the phone, the value is: account.2.ringtone.ring_type = Config:Busy.wav
2236#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav
2237account.5.ringtone.ring_type =
2238
2239account.5.picture_info_enable = 1
2240
2241#######################################################################################
2242##                            Conference                                             ##
2243#######################################################################################
2244#Configure the conference type; 0-Local (default), 2-Network Conference;
2245account.5.conf_type =
2246
2247#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
2248account.5.conf_uri =
2249
2250#######################################################################################
2251##                            cid source                                             ##
2252#######################################################################################
2253#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
2254account.5.cid_source = {$yealink_cid_source}
2255
2256account.5.cid_source_privacy = 1
2257account.5.cid_source_ppi = 1
2258
2259#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
2260account.5.cp_source = 2
2261
2262#######################################################################################
2263##                            Session Timer                                          ##
2264#######################################################################################
2265#Enable or disable the session timer, 0-Disabled (default), 1-Enabled;
2266account.5.session_timer.enable = {$yealink_session_timer}
2267
2268#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
2269account.5.session_timer.expires =
2270
2271#Configure the session timer refresher; 0-Uac (default), 1-Uas;
2272account.5.session_timer.refresher =
2273
2274#######################################################################################
2275##                            Music on Hold                                          ##
2276#######################################################################################
2277#Configure the type of Music on Hold; 0-Send the INVITE request to Music on Hold Server then hold the call; 1-Hold the call then send the INVITE request to Music on Hold Server;
2278#Require reboot;
2279account.5.music_on_hold_type =
2280
2281account.5.music_server_uri =
2282
2283#######################################################################################
2284##                            Advanced                                               ##
2285#######################################################################################
2286#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
2287account.5.auto_answer =
2288
2289#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
2290account.5.missed_calllog =
2291
2292#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
2293account.5.100rel_enable = {$yealink_retransmission}
2294
2295#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
2296account.5.enable_user_equal_phone =
2297
2298#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default);
2299account.5.compact_header_enable =
2300
2301#######################################################################################
2302##                                   DND                                             ##
2303#######################################################################################
2304account.5.dnd.enable =
2305account.5.dnd.on_code =
2306account.5.dnd.off_code =
2307
2308#######################################################################################
2309##                                 Call Forward                                      ##
2310#######################################################################################
2311#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled;
2312account.5.always_fwd.enable =
2313account.5.always_fwd.target =
2314account.5.always_fwd.off_code =
2315account.5.always_fwd.on_code =
2316
2317account.5.busy_fwd.enable =
2318account.5.busy_fwd.target =
2319account.5.busy_fwd.off_code =
2320account.5.busy_fwd.on_code =
2321
2322#Enable or disable the no answer forward feature for account1; 0-Disabled (default), 1-Enabled;
2323#Configure the waiting ring times before forwarding. It ranges from 0 to 20, the default value is 2.
2324account.5.timeout_fwd.enable =
2325account.5.timeout_fwd.target =
2326account.5.timeout_fwd.timeout =
2327account.5.timeout_fwd.off_code =
2328account.5.timeout_fwd.on_code =
2329
2330#######################################################################################
2331##                                 Broadsoft Hoteling                                ##
2332#######################################################################################
2333account.5.hoteling.enable = 0
2334account.5.hoteling.user_id = 0
2335account.5.hoteling.password = 0
2336account.5.hoteling.auto_login_enable = 0
2337
2338#######################################################################################
2339##                                 Broadsoft ACD                                     ##
2340#######################################################################################
2341account.5.acd.enable = 0
2342account.5.acd.unavailable_reason_enable = 0
2343account.5.acd.available = 0
2344account.5.acd.initial_state = 1
2345
2346#######################################################################################
2347##                                 Broadsoft ACD Call Center                         ##
2348#######################################################################################
2349#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.)
2350#account.5.bw_acd_reason_code.Y = 500(lunch time)
2351account.5.bw_acd_reason_code.1 =
2352
2353account.5.reason_code.1 =
2354account.5.reason_code_name.1 = 0
2355account.5.bw_disp_code.1 =
2356account.5.bw_disp_code_name.1 =
2357account.5.supervisor_info_code.1 =
2358account.5.supervisor_info_code_name.1 =
2359
2360#######################################################################################
2361##                                 Broadsoft Call Center                             ##
2362#######################################################################################
2363account.5.call_center.call_info_enable = 0
2364account.5.call_center.show_call_info_time = 30
2365account.5.call_center.disp_code_enable = 0
2366account.5.call_center.trace_enable = 0
2367account.5.call_center.emergency_enable = 0
2368account.5.call_center.queue_status_enable = 0
2369account.5.call_center.queue_status_light_enable = 0
2370
2371#######################################################################################
2372##                                 Broadsoft XSI                                     ##
2373#######################################################################################
2374account.5.xsi.user =
2375account.5.xsi.password =
2376account.5.xsi.host =
2377account.5.xsi.server_type =
2378account.5.xsi.port =
2379
2380
2381#######################################################################################
2382##                                   NETWORK                                         ##
2383#######################################################################################
2384
2385#######################################################################################
2386##                           Account 6 Basic Settings                                ##
2387#######################################################################################
2388## ranges from 1 to 6;
2389##account.X.enable =
2390{if isset($user_password_6) }
2391account.6.enable = 1
2392{else}
2393account.6.enable = 0
2394{/if}
2395account.6.label = {$display_name_6}
2396account.6.display_name = {$display_name_6}
2397account.6.auth_name = {$auth_id_6}
2398account.6.password = {$user_password_6}
2399account.6.user_name = {$user_id_6}
2400account.6.sip_server_host = {$server_address_6}
2401account.6.sip_server_port = {$sip_port_6}
2402account.6.outbound_host = {$outbound_proxy_6}
2403
2404account.6.outbound_port = {$sip_port_6}
2405{if isset($yealink_sip_listen_port)}account.6.sip_listen_port = {$yealink_sip_listen_port}{else}account.6.sip_listen_port = 5060{/if}
2406
2407account.6.sip_listen_port = 5060
2408#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
2409{if $sip_transport_6 == 'udp'}account.6.transport = 0{/if}
2410{if $sip_transport_6 == 'tcp'}account.6.transport = 1{/if}
2411{if $sip_transport_6 == 'tls'}account.6.transport = 2{/if}
2412{if $sip_transport_6 == 'dns srv'}account.6.transport = 3{/if}
2413
2414account.6.outbound_proxy.1.address = {$outbound_proxy_primary_6}
2415account.6.outbound_proxy.2.address = {$outbound_proxy_secondary_6}
2416account.6.outbound_proxy_enable = {if isset($outbound_proxy_primary_6)}1{else}0{/if}
2417
2418#######################################################################################
2419##                          Failback                                                 ##
2420#######################################################################################
2421## ranges from 1 to 6;
2422##account.X.reregister_enable = 0
2423
2424account.6.reregister_enable = 0
2425account.6.retry_counts =
2426account.6.failback_mode = 0
2427account.6.failback_timeout = 3600
2428account.6.naptr_build = 0
2429account.6.fallback.redundancy_type = 0
2430account.6.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
2431account.6.sip_server.1.address =
2432account.6.sip_server.1.port = 5060
2433#Configure the register expiry time (in seconds), the default value is 3600.
2434account.6.sip_server.1.expires = {$register_expires_6}
2435account.6.sip_server.1.retry_counts = 3
2436account.6.sip_server.1.failback_mode = 0
2437account.6.sip_server.1.failback_timeout = 3600
2438account.6.sip_server.1.register_on_enable = 0
2439account.6.sip_server.2.address =
2440account.6.sip_server.2.port = 5060
2441account.6.sip_server.2.expires = 3600
2442account.6.sip_server.2.retry_counts = 3
2443account.6.sip_server.2.failback_mode = 0
2444account.6.sip_server.2.failback_timeout = 3600
2445account.6.sip_server.2.register_on_enable = 0
2446account.6.dns_cache_type = 1
2447
2448account.6.dns_cache_a.1.name =
2449account.6.dns_cache_a.1.ip =
2450account.6.dns_cache_a.1.ttl = 300
2451
2452account.6.dns_cache_srv.1.name =
2453account.6.dns_cache_srv.1.port = 0
2454account.6.dns_cache_srv.1.priority = 0
2455account.6.dns_cache_srv.1.target =
2456account.6.dns_cache_srv.1.weight = 0
2457account.6.dns_cache_srv.1.ttl = 300
2458account.6.dns_cache_naptr.1.name =
2459account.6.dns_cache_naptr.1.flags =
2460account.6.dns_cache_naptr.1.order = 0
2461account.6.dns_cache_naptr.1.preference = 0
2462account.6.dns_cache_naptr.1.replace =
2463account.6.dns_cache_naptr.1.service =
2464account.6.dns_cache_naptr.1.ttl = 300
2465
2466account.6.static_cache_pri = 0
2467
2468#######################################################################################
2469##                           Register Advanced                                       ##
2470#######################################################################################
2471## ranges from 1 to 6;
2472##account.X.sip_server_type =
2473
2474#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
2475account.6.sip_server_type =
2476#Enable or disable the phone to send the account log-off message first and then send account register message when rebooting the phone; 0-Disabled (default), 1-Enabled;
2477account.6.unregister_on_reboot =
2478
2479#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled;
2480account.6.sip_trust_ctrl = 1
2481
2482#Configure the timeout (in seconds) for DNS query, the value ranges from 1 to 9, the default value is 8.
2483account.6.dns_query_timeout=
2484
2485#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
2486account.6.srv_ttl_timer_enable =
2487account.6.proxy_require =
2488
2489
2490#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;
2491account.6.register_mac =
2492account.6.register_line =
2493
2494#Configure the interval (in seconds) the phone retries to register when account1 fails to register. It ranges from 0 to 1800, the default value is 30.
2495account.6.reg_fail_retry_interval =
2496
2497#########################################################################
2498##                     NAT Settings                                    ##
2499#########################################################################
2500## ranges from 1 to 6;
2501##account.X.nat.nat_traversal = 0
2502
2503#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
2504account.6.nat.nat_traversal = 0
2505
2506account.6.nat.stun_server =
2507account.6.nat.stun_port = 3478
2508
2509#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
2510account.6.nat.udp_update_enable = 1
2511
2512#Specify the keep-alive interval (in seconds), the default value is 30.
2513account.6.nat.udp_update_time = 30
2514
2515#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
2516account.6.nat.rport = {$yealink_rport}
2517
2518
2519#######################################################################################
2520##                            Account6 Advance Settings                              ##
2521#######################################################################################
2522## ranges from 1 to 6;
2523##account.X.advanced.timer_t1 = 0.5
2524##voice_mail.number.X =
2525
2526#Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5.
2527account.6.advanced.timer_t1 = 0.5
2528account.6.advanced.timer_t2 = 4
2529account.6.advanced.timer_t4 = 5
2530
2531voice_mail.number.6 = *97
2532
2533
2534#######################################################################################
2535##                            Subscribe                                              ##
2536#######################################################################################
2537## ranges from 1 to 6;
2538##account.X.subscribe_mwi =
2539
2540account.6.subscribe_mwi = 0
2541account.6.subscribe_mwi_expires = 3600
2542
2543#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
2544account.6.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm}
2545
2546account.6.subscribe_acd_expires= 3600
2547
2548
2549#######################################################################################
2550##                            BLF List                                               ##
2551#######################################################################################
2552## ranges from 1 to 6;
2553##account.X.blf.blf_list_uri =
2554
2555#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
2556account.6.blf.blf_list_uri =
2557
2558account.6.blf_list_code =
2559account.6.blf_list_barge_in_code =
2560account.6.blf.subscribe_period = 1800
2561
2562account.6.blf.subscribe_event =
2563account.6.out_dialog_blf_enable = 0
2564
2565
2566#######################################################################################
2567##                            BLA/SCA                                                ##
2568#######################################################################################
2569## ranges from 1 to 6;
2570##account.X.shared_line =
2571
2572#Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA;
2573{if isset($shared_line_6) }
2574account.6.shared_line = {$shared_line_6}
2575{else}
2576account.6.shared_line = 0
2577{/if}
2578
2579#Configure BLA number for account1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
2580account.6.bla_number =
2581account.6.bla_subscribe_period = 300
2582
2583#######################################################################################
2584##                            Audio Codec                                            ##
2585#######################################################################################
2586#Audio codecs for account1 (Y ranges from 1 to 11).
2587#Enable or disable the specified codec; 0-Disabled, 1-Enabled;
2588#account.6.codec.Y.enable =
2589#The type of the specified codec.
2590#account.6.codec.Y.payload_type =
2591#The priority of the specified codec. It's available when the codec is enabled.
2592#account.6.codec.Y.priority =
2593#The payload of the specified codec.
2594#account.6.codec.Y.rtpmap =
2595
2596account.6.codec.1.enable = 1
2597account.6.codec.1.payload_type = PCMU
2598account.6.codec.1.priority = 1
2599account.6.codec.1.rtpmap = 0
2600
2601account.6.codec.2.enable = 1
2602account.6.codec.2.payload_type = PCMA
2603account.6.codec.2.priority = 2
2604account.6.codec.2.rtpmap = 8
2605
2606account.6.codec.3.enable = 0
2607account.6.codec.3.payload_type = G723_53
2608account.6.codec.3.priority =0
2609account.6.codec.3.rtpmap = 4
2610
2611account.6.codec.4.enable = 0
2612account.6.codec.4.payload_type = G723_63
2613account.6.codec.4.priority = 0
2614account.6.codec.4.rtpmap = 4
2615
2616account.6.codec.5.enable = 1
2617account.6.codec.5.payload_type = G729
2618account.6.codec.5.priority = 3
2619account.6.codec.5.rtpmap = 18
2620
2621account.6.codec.6.enable = 1
2622account.6.codec.6.payload_type = G722
2623account.6.codec.6.priority = 4
2624account.6.codec.6.rtpmap = 9
2625
2626account.6.codec.7.enable = 0
2627account.6.codec.7.payload_type = iLBC
2628account.6.codec.7.priority =  0
2629account.6.codec.7.rtpmap = 106
2630
2631account.6.codec.8.enable = 0
2632account.6.codec.8.payload_type = G726-16
2633account.6.codec.8.priority = 0
2634account.6.codec.8.rtpmap = 103
2635
2636account.6.codec.9.enable = 0
2637account.6.codec.9.payload_type = G726-24
2638account.6.codec.9.priority = 0
2639account.6.codec.9.rtpmap = 104
2640
2641account.6.codec.10.enable = 0
2642account.6.codec.10.payload_type = G726-32
2643account.6.codec.10.priority = 0
2644account.6.codec.10.rtpmap = 102
2645
2646account.6.codec.11.enable = 0
2647account.6.codec.11.payload_type = G726-40
2648account.6.codec.11.priority = 0
2649account.6.codec.11.rtpmap = 105
2650
2651account.6.codec.12.enable = 0
2652account.6.codec.12.payload_type = GSM
2653account.6.codec.12.priority = 0
2654account.6.codec.12.rtpmap = 3
2655
2656
2657#######################################################################################
2658##                            Audio Advanced                                         ##
2659#######################################################################################
2660#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
2661account.6.srtp_encryption =
2662
2663#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
2664account.6.ptime =
2665
2666
2667#######################################################################################
2668##                            Anonymous Call                                         ##
2669#######################################################################################
2670account.6.anonymous_call = 0
2671account.6.anonymous_call_oncode =
2672account.6.anonymous_call_offcode =
2673
2674account.6.reject_anonymous_call =
2675account.6.anonymous_reject_oncode =
2676account.6.anonymous_reject_offcode =
2677
2678#######################################################################################
2679##                            Pickup Code                                            ##
2680#######################################################################################
2681account.5.dialoginfo_callpickup = 0
2682
2683#Configure the directed and group pickup codes for account 1, the settings on a per-account basis take precedence over the settings on the phone.
2684account.6.group_pickup_code =
2685account.56.direct_pickup_code =
2686
2687#######################################################################################
2688##                            DTMF                                                   ##
2689#######################################################################################
2690#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
2691account.6.dtmf.type =
2692
2693#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
2694account.6.dtmf.info_type =
2695
2696#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101.
2697account.6.dtmf.dtmf_payload =
2698
2699#######################################################################################
2700##                            Alert info                                             ##
2701#######################################################################################
2702#Enable or disable to use the Distinctive Ring Tones;  0-Disabled , 1-Enabled(default);
2703account.6.alert_info_url_enable =
2704
2705#Assign a ringtone for account2. The system ring tones are: common (default), Ring1.wav - Ring8.wav.
2706#If you set the custom ring tone (Busy.wav) for the phone, the value is: account.2.ringtone.ring_type = Config:Busy.wav
2707#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav
2708account.6.ringtone.ring_type =
2709
2710account.6.picture_info_enable = 1
2711
2712#######################################################################################
2713##                            Conference                                             ##
2714#######################################################################################
2715#Configure the conference type; 0-Local (default), 2-Network Conference;
2716account.6.conf_type =
2717
2718#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
2719account.6.conf_uri =
2720
2721#######################################################################################
2722##                            cid source                                             ##
2723#######################################################################################
2724#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
2725account.6.cid_source = {$yealink_cid_source}
2726
2727account.6.cid_source_privacy = 1
2728account.6.cid_source_ppi = 1
2729
2730#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
2731account.6.cp_source = 2
2732
2733#######################################################################################
2734##                            Session Timer                                          ##
2735#######################################################################################
2736#Enable or disable the session timer, 0-Disabled (default), 1-Enabled;
2737account.6.session_timer.enable = {$yealink_session_timer}
2738
2739#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
2740account.6.session_timer.expires =
2741
2742#Configure the session timer refresher; 0-Uac (default), 1-Uas;
2743account.6.session_timer.refresher =
2744
2745#######################################################################################
2746##                            Music on Hold                                          ##
2747#######################################################################################
2748#Configure the type of Music on Hold; 0-Send the INVITE request to Music on Hold Server then hold the call; 1-Hold the call then send the INVITE request to Music on Hold Server;
2749#Require reboot;
2750account.6.music_on_hold_type =
2751
2752account.6.music_server_uri =
2753
2754#######################################################################################
2755##                            Advanced                                               ##
2756#######################################################################################
2757#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
2758account.6.auto_answer =
2759
2760#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
2761account.6.missed_calllog =
2762
2763#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
2764account.6.100rel_enable = {$yealink_retransmission}
2765
2766#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
2767account.6.enable_user_equal_phone =
2768
2769#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default);
2770account.6.compact_header_enable =
2771
2772#######################################################################################
2773##                                   DND                                             ##
2774#######################################################################################
2775account.6.dnd.enable =
2776account.6.dnd.on_code =
2777account.6.dnd.off_code =
2778
2779#######################################################################################
2780##                                 Call Forward                                      ##
2781#######################################################################################
2782#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled;
2783account.6.always_fwd.enable =
2784account.6.always_fwd.target =
2785account.6.always_fwd.off_code =
2786account.6.always_fwd.on_code =
2787
2788account.6.busy_fwd.enable =
2789account.6.busy_fwd.target =
2790account.6.busy_fwd.off_code =
2791account.6.busy_fwd.on_code =
2792
2793#Enable or disable the no answer forward feature for account1; 0-Disabled (default), 1-Enabled;
2794#Configure the waiting ring times before forwarding. It ranges from 0 to 20, the default value is 2.
2795account.6.timeout_fwd.enable =
2796account.6.timeout_fwd.target =
2797account.6.timeout_fwd.timeout =
2798account.6.timeout_fwd.off_code =
2799account.6.timeout_fwd.on_code =
2800
2801#######################################################################################
2802##                                 Broadsoft Hoteling                                ##
2803#######################################################################################
2804account.6.hoteling.enable = 0
2805account.6.hoteling.user_id = 0
2806account.6.hoteling.password = 0
2807account.6.hoteling.auto_login_enable = 0
2808
2809#######################################################################################
2810##                                 Broadsoft ACD                                     ##
2811#######################################################################################
2812account.6.acd.enable = 0
2813account.6.acd.unavailable_reason_enable = 0
2814account.6.acd.available = 0
2815account.6.acd.initial_state = 1
2816
2817#######################################################################################
2818##                                 Broadsoft ACD Call Center                         ##
2819#######################################################################################
2820#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.)
2821#account.6.bw_acd_reason_code.Y = 500(lunch time)
2822account.6.bw_acd_reason_code.1 =
2823
2824account.6.reason_code.1 =
2825account.6.reason_code_name.1 = 0
2826account.6.bw_disp_code.1 =
2827account.6.bw_disp_code_name.1 =
2828account.6.supervisor_info_code.1 =
2829account.6.supervisor_info_code_name.1 =
2830
2831#######################################################################################
2832##                                 Broadsoft Call Center                             ##
2833#######################################################################################
2834account.6.call_center.call_info_enable = 0
2835account.6.call_center.show_call_info_time = 30
2836account.6.call_center.disp_code_enable = 0
2837account.6.call_center.trace_enable = 0
2838account.6.call_center.emergency_enable = 0
2839account.6.call_center.queue_status_enable = 0
2840account.6.call_center.queue_status_light_enable = 0
2841
2842#######################################################################################
2843##                                 Broadsoft XSI                                     ##
2844#######################################################################################
2845account.6.xsi.user =
2846account.6.xsi.password =
2847account.6.xsi.host =
2848account.6.xsi.server_type =
2849account.6.xsi.port =
2850
2851
2852#######################################################################################
2853##                                   NETWORK                                         ##
2854#######################################################################################
2855
2856#######################################################################################
2857##                             Line Key                                              ##
2858#######################################################################################
2859
2860#The x of the parameter "linekey.x.line" ranges from 1 to 6.
2861#The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1.
2862#linekey.x.lable--Define the label for each line key. Meet-Me Conference "1" or BLF "16" require pick_value.
2863
2864{foreach $keys['line'] as $row}
2865#Configure Line Key {$row.device_key_id}
2866linekey.{$row.device_key_id}.line = {$row.device_key_line}
2867linekey.{$row.device_key_id}.value = {$row.device_key_value}
2868{if $row.device_key_type == "1" || $row.device_key_type == "16"}
2869linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
2870{else}
2871linekey.{$row.device_key_id}.extension = {$row.device_key_extension}
2872{/if}
2873linekey.{$row.device_key_id}.type = {$row.device_key_type}
2874linekey.{$row.device_key_id}.xml_phonebook =
2875linekey.{$row.device_key_id}.label = {$row.device_key_label}
2876
2877{/foreach}
2878
2879
2880#######################################################################################
2881##                             Memory Key (For T38G only)                            ##
2882#######################################################################################
2883#X ranges from 1 to 10;
2884#memorykey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
2885#The value 0 of the "memorykey.x.line" stands for Auto, it means the first available line.
2886#But, when the DSS key is configured as BLF, BLF List, Shared Line, Call Park, Pick Up, ACD or Voice Mail feature, the value 0 stands for line 1.
2887#memorykey.x.value--Enter the value of some features. E.g. When configuring the DSS key to be BLF, enter the number of the monitored user.
2888#memorykey.x.extension--Enter the pickup code, this parameter is only appilicable to BLF.
2889#memorykey.x.type--Assign the desired feature to the memory key.
2890#Valid types are:  0-N/A(default for memory key)  1-Conference     2-Forward    3-Transfer      4-Hold        5-DND             6-Redial                        7-Call Return     8-SMS
2891#                  9-Call Pickup                  10-Call Park     11-DTMF      12-Voicemail    13-SpeedDial  14-Intercom       15-Line(default for line key)   16-BLF            17-URL
2892#                  18-Group Listening             19-Public Hold   20-Private   21-Shared Line  22-XML Group  23-Group Pickup   24-Paging                       25-Record         27-XML Browser
2893#                  34-Hot Desking                 35-URL Record    38-LDAP      39-BLF List     40-Prefix     41-Zero-Sp-Touch  42-ACD                          45-Local Group    46-Broadsoft Group
2894#memorykey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the DSS key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
2895#memorykey.x.sub_type =
2896
2897{foreach $keys["memory"] as $row}
2898#Expansion Memory Key {$row.device_key_id}
2899memorykey.{$row.device_key_id}.type = {$row.device_key_type}
2900memorykey.{$row.device_key_id}.line = {$row.device_key_line}
2901memorykey.{$row.device_key_id}.value = {$row.device_key_value}
2902memorykey.{$row.device_key_id}.extension = {$row.device_key_extension}
2903memorykey.{$row.device_key_id}.label = {$row.device_key_label}
2904memorykey.{$row.device_key_id}.xml_phonebook =
2905memorykey.{$row.device_key_id}.sub_type =
2906
2907{/foreach}
2908
2909
2910##########################################################################################
2911##                         Programmable Key (For T38G only)                             ##
2912##########################################################################################
2913#X ranges from 1 to 15.
2914#programablekey.x.type--Customize the programmable key type.
2915#The valid types are:
2916#0-N/A         2-Forward        5-DND           6-Redial     7-Call Return    8-SMS      9-Call Pickup  13-Spead Dial  14-Intercom
2917#22-XML Group  23-Group Pickup  27-XML Browser  28-History   29-Directory     30-Menu    32-New SMS     33-Status      43-Local Phonebook
2918#44-Broadsoft Phonebook    45-Local Group    46-Broadsoft Group   47-XML Phonebook   48-Switch Account Up   49-Switch Account Down    50-Keypad Lock
2919#programablekey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
2920#The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line.
2921#But, when the programmable key is configured as Pick Up, the value 0 stands for line 1.
2922
2923{foreach $keys["programmable"] as $row}
2924programablekey.{$row.device_key_id}.type = {$row.device_key_type}
2925programablekey.{$row.device_key_id}.line = {$row.device_key_line}
2926programablekey.{$row.device_key_id}.value = {$row.device_key_value}
2927programablekey.{$row.device_key_id}.xml_phonebook =
2928programablekey.{$row.device_key_id}.history_type =
2929programablekey.{$row.device_key_id}.label = {$row.device_key_label}
2930
2931{/foreach}
2932
2933#programablekey.x.value =
2934#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
2935#programablekey.x.history_type =
2936
2937#programablekey.x.label--This parameter is only available to the key 1 to key 4.
2938
2939#History
2940#programablekey.1.type = 28
2941#programablekey.1.line = 1
2942#programablekey.1.value =
2943#programablekey.1.xml_phonebook =
2944#programablekey.1.history_type =
2945#programablekey.1.label =
2946
2947#Directory
2948#programablekey.2.type = 29
2949#programablekey.2.line = 1
2950#programablekey.2.value =
2951#programablekey.2.xml_phonebook =
2952#programablekey.2.history_type =
2953#programablekey.2.label =
2954
2955#DND
2956programablekey.3.type = 5
2957programablekey.3.line = 1
2958programablekey.3.value =
2959programablekey.3.xml_phonebook =
2960programablekey.3.history_type =
2961programablekey.3.label =
2962
2963#Menu
2964#programablekey.4.type = 30
2965#programablekey.4.line =
2966#programablekey.4.value =
2967#programablekey.4.xml_phonebook =
2968#programablekey.4.history_type =
2969#programablekey.4.label =
2970
2971##########################################################################################
2972##                                  Expansion Module 1                                  ##
2973##########################################################################################
2974#X ranges from 1 to 16, Y ranges from 1 to 40.
2975#expansion_module.x.key.y.type = 37 (Switch by default)
2976#expansion_module.x.key.y.line = 0
2977#expansion_module.x.key.y.value =
2978#expansion_module.x.key.y.extension =
2979#expansion_module.x.key.y.label =
2980#expansion_module.X.key.Y.xml_phonebook =
2981
2982{$rownum = 1}
2983
2984{foreach $keys["expansion"] as $row}
2985{if $rownum <= 40}
2986expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type}
2987expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line}
2988expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value}
2989expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension}
2990expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label}
2991expansion_module.1.key.{$row.device_key_id}.xml_phonebook =
2992{else}
2993expansion_module.2.key.{$row.device_key_id - 40}.type = {$row.device_key_type}
2994expansion_module.2.key.{$row.device_key_id - 40}.line = {$row.device_key_line}
2995expansion_module.2.key.{$row.device_key_id - 40}.value = {$row.device_key_value}
2996expansion_module.2.key.{$row.device_key_id - 40}.extension = {$row.device_key_extension}
2997expansion_module.2.key.{$row.device_key_id - 40}.label = {$row.device_key_label}
2998expansion_module.2.key.{$row.device_key_id - 40}.xml_phonebook =
2999{/if}
3000{$rownum = $rownum + 1}
3001
3002{/foreach}
3003
3004##########################################################################################
3005##                                  Expansion Module 2                                  ##
3006##########################################################################################
3007
3008#Expansion module 2 key 1
3009#expansion_module.2.key.1.type =
3010#expansion_module.2.key.1.line =
3011#expansion_module.2.key.1.value =
3012#expansion_module.2.key.1.extension =
3013#expansion_module.2.key.1.label =
3014#expansion_module.2.key.1.xml_phonebook =
3015#expansion_module.2.key.1.type =
3016#expansion_module.2.key.1.label =
3017