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