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