Guest User

Kismet's Yealink T46G Custom Template

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