From 9ee2f70b8dae68e9931c963637e1c97338fb3f61 Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 25 Oct 2017 22:19:51 -0400 Subject: [PATCH] Update {$mac}.cfg --- .../provision/yealink/t46s/{$mac}.cfg | 551 ++++++++++++++++-- 1 file changed, 502 insertions(+), 49 deletions(-) diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index c24bfe10da..5d3b707218 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -221,6 +221,7 @@ account.2.codec.g722.enable = ################################################################ # Account Register ## ################################################################ + {if isset($user_password_1) } account.1.enable = 1 {else} @@ -343,6 +344,67 @@ account.2.outbound_proxy_fallback_interval = 120 account.2.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if} + +{if isset($user_password_1) } +account.3.enable = 1 +{else} +account.3.enable = 0 +{/if} +account.3.label = {$display_name_1} +account.3.display_name = {$display_name_1} +account.3.auth_name = {$auth_id_1} +account.3.password = {$user_password_1} +account.3.user_name = {$user_id_1} + +account.3.sip_server.1.address = {$server_address_1} +account.3.sip_server.1.port = {$sip_port_1} + +{if $sip_transport_1 == 'udp'}account.3.sip_server.1.transport_type = 0{/if} +{if $sip_transport_1 == 'tcp'}account.3.sip_server.1.transport_type = 1{/if} +{if $sip_transport_1 == 'tls'}account.3.sip_server.1.transport_type = 2{/if} +{if $sip_transport_1 == 'dns srv'}account.3.sip_server.1.transport_type = 3{/if} + +account.3.sip_server.1.expires = {$register_expires_1} +account.3.sip_server.1.retry_counts = 3 + +account.3.sip_server.2.address = {$server_address_2} +account.3.sip_server.2.port = {$sip_port_2} + +{if $sip_transport_1 == 'udp'}account.3.sip_server.2.transport_type = 0{/if} +{if $sip_transport_1 == 'tcp'}account.3.sip_server.2.transport_type = 1{/if} +{if $sip_transport_1 == 'tls'}account.3.sip_server.2.transport_type = 2{/if} +{if $sip_transport_1 == 'dns srv'}account.3.sip_server.2.transport_type = 3{/if} + +account.3.sip_server.2.expires = {$register_expires_2} +account.3.sip_server.2.retry_counts = 3 + +account.3.outbound_proxy_enable = {if isset($outbound_proxy_primary_1)}1{else}0{/if} + +account.3.outbound_proxy.1.address = {$outbound_proxy_primary_1} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.1.port = {$outbound_proxy_1_port} +{else} +account.3.outbound_proxy.1.port = 5060 +{/if} + +account.3.outbound_proxy.2.address = {$outbound_proxy_secondary_1} + +{if isset($outbound_proxy_1_port)} +account.3.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.3.outbound_proxy.2.port = 5060 +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.3.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.3.outbound_proxy_fallback_interval = 120 +{/if} + +account.3.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} + + ################################################################ # Account Basic ## ################################################################ @@ -352,9 +414,22 @@ account.1.auto_answer= account.2.proxy_require= account.2.auto_answer= +account.3.proxy_require= +account.3.auto_answer= + +account.4.proxy_require= +account.4.auto_answer= + +account.5.proxy_require= +account.5.auto_answer= + +account.6.proxy_require= +account.6.auto_answer= + ################################################################ # Account Advanced ## ################################################################ + account.1.nat.udp_update_enable= 3 account.1.nat.udp_update_time= 30 account.1.nat.rport= {$yealink_rport} @@ -408,9 +483,120 @@ account.2.conf_type= account.2.sip_server_type= +account.3.nat.udp_update_enable= 3 +account.3.nat.udp_update_time= 30 +account.3.nat.rport= {$yealink_rport} + +account.3.dtmf.type= +account.3.dtmf.info_type= +account.3.dtmf.dtmf_payload= +account.3.100rel_enable= {$yealink_retransmission} + +account.3.subscribe_register= +account.3.cid_source = {$yealink_cid_source} +account.3.enable_user_equal_phone= +account.3.srtp_encryption = {$yealink_srtp_encryption} +account.3.ptime= 20 +account.3.register_line= +account.3.register_mac= +account.3.reg_fail_retry_interval= +account.3.unregister_on_reboot= + +account.3.session_timer.refresher= +account.3.session_timer.expires= +account.3.session_timer.enable = {$yealink_session_timer} + +account.3.conf_type= +account.3.sip_server_type= + + + +account.4.nat.udp_update_enable= 3 +account.4.nat.udp_update_time= 30 +account.4.nat.rport= {$yealink_rport} + +account.4.dtmf.type= +account.4.dtmf.info_type= +account.4.dtmf.dtmf_payload= +account.4.100rel_enable= {$yealink_retransmission} + +account.4.subscribe_register= +account.4.cid_source = {$yealink_cid_source} +account.4.enable_user_equal_phone= +account.4.srtp_encryption = {$yealink_srtp_encryption} +account.4.ptime= 20 +account.4.register_line= +account.4.register_mac= +account.4.reg_fail_retry_interval= +account.4.unregister_on_reboot= + +account.4.session_timer.refresher= +account.4.session_timer.expires= +account.4.session_timer.enable = {$yealink_session_timer} + +account.4.conf_type= +account.4.sip_server_type= + + +account.5.nat.udp_update_enable= 3 +account.5.nat.udp_update_time= 30 +account.5.nat.rport= {$yealink_rport} + +account.5.dtmf.type= +account.5.dtmf.info_type= +account.5.dtmf.dtmf_payload= +account.5.100rel_enable= {$yealink_retransmission} + +account.5.subscribe_register= +account.5.cid_source = {$yealink_cid_source} +account.5.enable_user_equal_phone= +account.5.srtp_encryption = {$yealink_srtp_encryption} +account.5.ptime= 20 +account.5.register_line= +account.5.register_mac= +account.5.reg_fail_retry_interval= +account.5.unregister_on_reboot= + +account.5.session_timer.refresher= +account.5.session_timer.expires= +account.5.session_timer.enable = {$yealink_session_timer} + +account.5.conf_type= +account.5.sip_server_type= + + +account.6.nat.udp_update_enable= 3 +account.6.nat.udp_update_time= 30 +account.6.nat.rport= {$yealink_rport} + +account.6.dtmf.type= +account.6.dtmf.info_type= +account.6.dtmf.dtmf_payload= +account.6.100rel_enable= {$yealink_retransmission} + +account.6.subscribe_register= +account.6.cid_source = {$yealink_cid_source} +account.6.enable_user_equal_phone= +account.6.srtp_encryption = {$yealink_srtp_encryption} +account.6.ptime= 20 +account.6.register_line= +account.6.register_mac= +account.6.reg_fail_retry_interval= +account.6.unregister_on_reboot= + +account.6.session_timer.refresher= +account.6.session_timer.expires= +account.6.session_timer.enable = {$yealink_session_timer} + +account.6.conf_type= +account.6.sip_server_type= + + + ################################################################ # SIP Backup Server ## ################################################################ + account.1.outbound_proxy.1.register_on_enable= account.1.outbound_proxy.1.failback_timeout= account.1.outbound_proxy.1.failback_mode= @@ -490,6 +676,168 @@ account.2.reg_failed_retry_min_time= account.2.redundancy_with_reg_fail.enable = + +account.3.outbound_proxy.1.register_on_enable= +account.3.outbound_proxy.1.failback_timeout= +account.3.outbound_proxy.1.failback_mode= +account.3.outbound_proxy.1.retry_counts= +account.3.outbound_proxy.1.only_signal_with_registered= +account.3.outbound_proxy.1.failback_subscribe.enable= +account.3.outbound_proxy.1.invite_retry_counts= + +account.3.sip_server.1.register_on_enable= 0 +account.3.sip_server.1.failback_timeout= 3600 +account.3.sip_server.1.failback_mode= 0 +account.3.sip_server.1.failback_subscribe.enable= +account.3.sip_server.1.only_signal_with_registered= +account.3.sip_server.1.invite_retry_counts= + +account.3.outbound_proxy.2.register_on_enable= +account.3.outbound_proxy.2.failback_timeout= +account.3.outbound_proxy.2.failback_mode= +account.3.outbound_proxy.2.retry_counts= +account.3.outbound_proxy.2.only_signal_with_registered= +account.3.outbound_proxy.2.failback_subscribe.enable= +account.3.outbound_proxy.2.invite_retry_counts= + +account.3.sip_server.2.register_on_enable= +account.3.sip_server.2.failback_timeout= +account.3.sip_server.2.failback_mode= +account.3.sip_server.2.failback_subscribe.enable= +account.3.sip_server.2.only_signal_with_registered= +account.3.sip_server.2.invite_retry_counts= + +account.3.static_cache_pri= +account.3.dns_cache_type= +account.3.naptr_build= +account.3.fallback.timeout= +account.3.fallback.redundancy_type= +account.3.reg_failed_retry_max_time= +account.3.reg_failed_retry_min_time= +account.3.redundancy_with_reg_fail.enable = + + + +account.4.outbound_proxy.1.register_on_enable= +account.4.outbound_proxy.1.failback_timeout= +account.4.outbound_proxy.1.failback_mode= +account.4.outbound_proxy.1.retry_counts= +account.4.outbound_proxy.1.only_signal_with_registered= +account.4.outbound_proxy.1.failback_subscribe.enable= +account.4.outbound_proxy.1.invite_retry_counts= + +account.4.sip_server.1.register_on_enable= 0 +account.4.sip_server.1.failback_timeout= 3600 +account.4.sip_server.1.failback_mode= 0 +account.4.sip_server.1.failback_subscribe.enable= +account.4.sip_server.1.only_signal_with_registered= +account.4.sip_server.1.invite_retry_counts= + +account.4.outbound_proxy.2.register_on_enable= +account.4.outbound_proxy.2.failback_timeout= +account.4.outbound_proxy.2.failback_mode= +account.4.outbound_proxy.2.retry_counts= +account.4.outbound_proxy.2.only_signal_with_registered= +account.4.outbound_proxy.2.failback_subscribe.enable= +account.4.outbound_proxy.2.invite_retry_counts= + +account.4.sip_server.2.register_on_enable= +account.4.sip_server.2.failback_timeout= +account.4.sip_server.2.failback_mode= +account.4.sip_server.2.failback_subscribe.enable= +account.4.sip_server.2.only_signal_with_registered= +account.4.sip_server.2.invite_retry_counts= + +account.4.static_cache_pri= +account.4.dns_cache_type= +account.4.naptr_build= +account.4.fallback.timeout= +account.4.fallback.redundancy_type= +account.4.reg_failed_retry_max_time= +account.4.reg_failed_retry_min_time= +account.4.redundancy_with_reg_fail.enable = + + +account.5.outbound_proxy.1.register_on_enable= +account.5.outbound_proxy.1.failback_timeout= +account.5.outbound_proxy.1.failback_mode= +account.5.outbound_proxy.1.retry_counts= +account.5.outbound_proxy.1.only_signal_with_registered= +account.5.outbound_proxy.1.failback_subscribe.enable= +account.5.outbound_proxy.1.invite_retry_counts= + +account.5.sip_server.1.register_on_enable= 0 +account.5.sip_server.1.failback_timeout= 3600 +account.5.sip_server.1.failback_mode= 0 +account.5.sip_server.1.failback_subscribe.enable= +account.5.sip_server.1.only_signal_with_registered= +account.5.sip_server.1.invite_retry_counts= + +account.5.outbound_proxy.2.register_on_enable= +account.5.outbound_proxy.2.failback_timeout= +account.5.outbound_proxy.2.failback_mode= +account.5.outbound_proxy.2.retry_counts= +account.5.outbound_proxy.2.only_signal_with_registered= +account.5.outbound_proxy.2.failback_subscribe.enable= +account.5.outbound_proxy.2.invite_retry_counts= + +account.5.sip_server.2.register_on_enable= +account.5.sip_server.2.failback_timeout= +account.5.sip_server.2.failback_mode= +account.5.sip_server.2.failback_subscribe.enable= +account.5.sip_server.2.only_signal_with_registered= +account.5.sip_server.2.invite_retry_counts= + +account.5.static_cache_pri= +account.5.dns_cache_type= +account.5.naptr_build= +account.5.fallback.timeout= +account.5.fallback.redundancy_type= +account.5.reg_failed_retry_max_time= +account.5.reg_failed_retry_min_time= +account.5.redundancy_with_reg_fail.enable = + + +account.6.outbound_proxy.1.register_on_enable= +account.6.outbound_proxy.1.failback_timeout= +account.6.outbound_proxy.1.failback_mode= +account.6.outbound_proxy.1.retry_counts= +account.6.outbound_proxy.1.only_signal_with_registered= +account.6.outbound_proxy.1.failback_subscribe.enable= +account.6.outbound_proxy.1.invite_retry_counts= + +account.6.sip_server.1.register_on_enable= 0 +account.6.sip_server.1.failback_timeout= 3600 +account.6.sip_server.1.failback_mode= 0 +account.6.sip_server.1.failback_subscribe.enable= +account.6.sip_server.1.only_signal_with_registered= +account.6.sip_server.1.invite_retry_counts= + +account.6.outbound_proxy.2.register_on_enable= +account.6.outbound_proxy.2.failback_timeout= +account.6.outbound_proxy.2.failback_mode= +account.6.outbound_proxy.2.retry_counts= +account.6.outbound_proxy.2.only_signal_with_registered= +account.6.outbound_proxy.2.failback_subscribe.enable= +account.6.outbound_proxy.2.invite_retry_counts= + +account.6.sip_server.2.register_on_enable= +account.6.sip_server.2.failback_timeout= +account.6.sip_server.2.failback_mode= +account.6.sip_server.2.failback_subscribe.enable= +account.6.sip_server.2.only_signal_with_registered= +account.6.sip_server.2.invite_retry_counts= + +account.6.static_cache_pri= +account.6.dns_cache_type= +account.6.naptr_build= +account.6.fallback.timeout= +account.6.fallback.redundancy_type= +account.6.reg_failed_retry_max_time= +account.6.reg_failed_retry_min_time= +account.6.redundancy_with_reg_fail.enable = + + ################################################################ # SIP Basic config ## ################################################################ @@ -530,6 +878,16 @@ account.1.picture_info_enable= ####################################################################################### account.1.missed_calllog= +account.2.missed_calllog= + +account.3.missed_calllog= + +account.4.missed_calllog= + +account.5.missed_calllog= + +account.6.missed_calllog= + ####################################################################################### ## Forward ## @@ -561,6 +919,7 @@ account.1.dnd.on_code= ####################################################################################### ## Voice Mail ## ####################################################################################### + voice_mail.number.1= {$voicemail_number} account.1.subscribe_mwi= account.1.subscribe_mwi_to_vm= @@ -573,18 +932,68 @@ account.2.subscribe_mwi_to_vm= account.2.subscribe_mwi_expires= account.2.display_mwi.enable= +voice_mail.number.3= {$voicemail_number} +account.3.subscribe_mwi= +account.3.subscribe_mwi_to_vm= +account.3.subscribe_mwi_expires= +account.3.display_mwi.enable= + +voice_mail.number.4= {$voicemail_number} +account.4.subscribe_mwi= +account.4.subscribe_mwi_to_vm= +account.4.subscribe_mwi_expires= +account.4.display_mwi.enable= + +voice_mail.number.5= {$voicemail_number} +account.5.subscribe_mwi= +account.5.subscribe_mwi_to_vm= +account.5.subscribe_mwi_expires= +account.5.display_mwi.enable= + +voice_mail.number.6= {$voicemail_number} +account.6.subscribe_mwi= +account.6.subscribe_mwi_to_vm= +account.6.subscribe_mwi_expires= +account.6.display_mwi.enable= + ####################################################################################### ## Auto Dial ## ####################################################################################### + account.1.auto_dial_enable= account.1.auto_dial_num= +account.2.auto_dial_enable= +account.2.auto_dial_num= + +account.3.auto_dial_enable= +account.3.auto_dial_num= + +account.4.auto_dial_enable= +account.4.auto_dial_num= + +account.5.auto_dial_enable= +account.5.auto_dial_num= + +account.6.auto_dial_enable= +account.6.auto_dial_num= ####################################################################################### ## Preference&Status ## ####################################################################################### + account.1.ringtone.ring_type= +account.2.ringtone.ring_type= + +account.3.ringtone.ring_type= + +account.4.ringtone.ring_type= + +account.5.ringtone.ring_type= + +account.6.ringtone.ring_type= + ####################################################################################### ## Digitmap ## ####################################################################################### @@ -604,12 +1013,24 @@ account.1.dialplan.digitmap.active.on_hook_dialing= ####################################################################################### ## Rings Settings ## ####################################################################################### + account.1.alert_info_url_enable= +account.2.alert_info_url_enable= + +account.3.alert_info_url_enable= + +account.4.alert_info_url_enable= + +account.5.alert_info_url_enable= + +account.6.alert_info_url_enable= + ####################################################################################### ## BLF/BLF List ## ####################################################################################### + account.1.blf.blf_list_uri= account.1.blf_list_barge_in_code= account.1.blf_list_code= @@ -619,9 +1040,55 @@ account.1.blf.match_host.enable= account.1.out_dialog_blf_enable= account.1.blf.subscribe_event= +account.2.blf.blf_list_uri= +account.2.blf_list_barge_in_code= +account.2.blf_list_code= +account.2.blf_list_retrieve_call_parked_code= +account.2.blf.subscribe_period= +account.2.blf.match_host.enable= +account.2.out_dialog_blf_enable= +account.2.blf.subscribe_event= + +account.3.blf.blf_list_uri= +account.3.blf_list_barge_in_code= +account.3.blf_list_code= +account.3.blf_list_retrieve_call_parked_code= +account.3.blf.subscribe_period= +account.3.blf.match_host.enable= +account.3.out_dialog_blf_enable= +account.3.blf.subscribe_event= + +account.4.blf.blf_list_uri= +account.4.blf_list_barge_in_code= +account.4.blf_list_code= +account.4.blf_list_retrieve_call_parked_code= +account.4.blf.subscribe_period= +account.4.blf.match_host.enable= +account.4.out_dialog_blf_enable= +account.4.blf.subscribe_event= + +account.5.blf.blf_list_uri= +account.5.blf_list_barge_in_code= +account.5.blf_list_code= +account.5.blf_list_retrieve_call_parked_code= +account.5.blf.subscribe_period= +account.5.blf.match_host.enable= +account.5.out_dialog_blf_enable= +account.5.blf.subscribe_event= + +account.6.blf.blf_list_uri= +account.6.blf_list_barge_in_code= +account.6.blf_list_code= +account.6.blf_list_retrieve_call_parked_code= +account.6.blf.subscribe_period= +account.6.blf.match_host.enable= +account.6.out_dialog_blf_enable= +account.6.blf.subscribe_event= + ####################################################################################### ## SCA ## ####################################################################################### + account.1.shared_line = {$shared_line_1} account.1.line_seize.expires= account.1.shared_line_one_touch_bargein.enable= @@ -629,6 +1096,41 @@ account.1.shared_line_one_touch_retrieve.enable= account.1.sca_manage_interface_display_time= account.1.shared_line_callpull_code= +account.2.shared_line = {$shared_line_1} +account.2.line_seize.expires= +account.2.shared_line_one_touch_bargein.enable= +account.2.shared_line_one_touch_retrieve.enable= +account.2.sca_manage_interface_display_time= +account.2.shared_line_callpull_code= + +account.3.shared_line = {$shared_line_1} +account.3.line_seize.expires= +account.3.shared_line_one_touch_bargein.enable= +account.3.shared_line_one_touch_retrieve.enable= +account.3.sca_manage_interface_display_time= +account.3.shared_line_callpull_code= + +account.4.shared_line = {$shared_line_1} +account.4.line_seize.expires= +account.4.shared_line_one_touch_bargein.enable= +account.4.shared_line_one_touch_retrieve.enable= +account.4.sca_manage_interface_display_time= +account.4.shared_line_callpull_code= + +account.5.shared_line = {$shared_line_1} +account.5.line_seize.expires= +account.5.shared_line_one_touch_bargein.enable= +account.5.shared_line_one_touch_retrieve.enable= +account.5.sca_manage_interface_display_time= +account.5.shared_line_callpull_code= + +account.6.shared_line = {$shared_line_1} +account.6.line_seize.expires= +account.6.shared_line_one_touch_bargein.enable= +account.6.shared_line_one_touch_retrieve.enable= +account.6.sca_manage_interface_display_time= +account.6.shared_line_callpull_code= + ####################################################################################### ## BLA ## ####################################################################################### @@ -643,35 +1145,6 @@ account.1.bla.subscribe_uri_build_type= account.1.callpark_enable= -####################################################################################### -## Broadsoft ACD ## -####################################################################################### -account.1.acd.enable= -account.1.acd.available= -account.1.acd.unavailable_reason_enable= -account.1.acd.initial_state= -account.1.subscribe_acd_expires= - - -####################################################################################### -## Broadsoft ACD Call Center ## -####################################################################################### -##account.X.reason_code.Y= -##account.X.reason_code_name.Y= -##account.X.bw_disp_code.Y= -##account.X.bw_disp_code_name.Y= -##account.X.supervisor_info_code.Y= -##account.X.supervisor_info_code_name.Y= -##The value Y must be continuous. - -account.1.reason_code.1= -account.1.reason_code_name.1= -account.1.bw_disp_code.1= -account.1.bw_disp_code_name.1= -account.1.supervisor_info_code.1= -account.1.supervisor_info_code_name.1= - - ####################################################################################### @@ -688,26 +1161,6 @@ account.1.refresh_remote_id.enable = account.1.conf_uri= -####################################################################################### -## Broadsoft Call Decline ## -####################################################################################### -account.1.features.call_decline.enable = - - -####################################################################################### -## Broadsoft Security Classification ## -####################################################################################### -account.1.security_classification.enable = - - - -####################################################################################### -## Broadsoft Flexible Seating ## -####################################################################################### -account.1.flexible_seating.enable= -account.1.hoteling.pin= -account.1.hoteling.mode= - ####################################################################################### ## Features Sync ##