From b331bcc618fa8eb9ed0a92600b74a671f36d8fd7 Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 12 Oct 2017 13:29:41 -0400 Subject: [PATCH] Update {$mac}.cfg --- .../provision/yealink/t46s/{$mac}.cfg | 293 +++++++++++++++--- 1 file changed, 256 insertions(+), 37 deletions(-) diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index 27de3a1cda..030f1eaa47 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -8,12 +8,21 @@ ## Transfer ## ####################################################################################### account.1.phone_setting.call_appearance.transfer_via_new_linekey= - +account.2.phone_setting.call_appearance.transfer_via_new_linekey= +account.3.phone_setting.call_appearance.transfer_via_new_linekey= +account.4.phone_setting.call_appearance.transfer_via_new_linekey= +account.5.phone_setting.call_appearance.transfer_via_new_linekey= +account.6.phone_setting.call_appearance.transfer_via_new_linekey= ####################################################################################### ## Conference ## ####################################################################################### account.1.phone_setting.call_appearance.conference_via_new_linekey= +account.2.phone_setting.call_appearance.conference_via_new_linekey= +account.3.phone_setting.call_appearance.conference_via_new_linekey= +account.4.phone_setting.call_appearance.conference_via_new_linekey= +account.5.phone_setting.call_appearance.conference_via_new_linekey= +account.6.phone_setting.call_appearance.conference_via_new_linekey= ####################################################################################### @@ -29,7 +38,55 @@ account.1.anonymous_call_oncode = account.1.anonymous_call = account.1.send_anonymous_code = +account.2.anonymous_call.server_base_only = +account.2.send_anonymous_rejection_code = +account.2.anonymous_reject_offcode = +account.2.anonymous_reject_oncode = +account.2.reject_anonymous_call= +account.2.anonymous_call_offcode = +account.2.anonymous_call_oncode = +account.2.anonymous_call = +account.2.send_anonymous_code = +account.3.anonymous_call.server_base_only = +account.3.send_anonymous_rejection_code = +account.3.anonymous_reject_offcode = +account.3.anonymous_reject_oncode = +account.3.reject_anonymous_call= +account.3.anonymous_call_offcode = +account.3.anonymous_call_oncode = +account.3.anonymous_call = +account.3.send_anonymous_code = + +account.4.anonymous_call.server_base_only = +account.4.send_anonymous_rejection_code = +account.4.anonymous_reject_offcode = +account.4.anonymous_reject_oncode = +account.4.reject_anonymous_call= +account.4.anonymous_call_offcode = +account.4.anonymous_call_oncode = +account.4.anonymous_call = +account.4.send_anonymous_code = + +account.5.anonymous_call.server_base_only = +account.5.send_anonymous_rejection_code = +account.5.anonymous_reject_offcode = +account.5.anonymous_reject_oncode = +account.5.reject_anonymous_call= +account.5.anonymous_call_offcode = +account.5.anonymous_call_oncode = +account.5.anonymous_call = +account.5.send_anonymous_code = + +account.6.anonymous_call.server_base_only = +account.6.send_anonymous_rejection_code = +account.6.anonymous_reject_offcode = +account.6.anonymous_reject_oncode = +account.6.reject_anonymous_call= +account.6.anonymous_call_offcode = +account.6.anonymous_call_oncode = +account.6.anonymous_call = +account.6.send_anonymous_code = ####################################################################################### ## Call Configuration ## @@ -41,6 +98,40 @@ account.1.auto_label.enable= account.1.number_of_linekey= account.1.phone_setting.call_appearance.calls_per_linekey= +account.2.music_server_uri= +account.2.music_on_hold_type= +account.2.auto_label.rule= +account.2.auto_label.enable= +account.2.number_of_linekey= +account.2.phone_setting.call_appearance.calls_per_linekey= + +account.3.music_server_uri= +account.3.music_on_hold_type= +account.3.auto_label.rule= +account.3.auto_label.enable= +account.3.number_of_linekey= +account.3.phone_setting.call_appearance.calls_per_linekey= + +account.4.music_server_uri= +account.4.music_on_hold_type= +account.4.auto_label.rule= +account.4.auto_label.enable= +account.4.number_of_linekey= +account.4.phone_setting.call_appearance.calls_per_linekey= + +account.5.music_server_uri= +account.5.music_on_hold_type= +account.5.auto_label.rule= +account.5.auto_label.enable= +account.5.number_of_linekey= +account.5.phone_setting.call_appearance.calls_per_linekey= + +account.6.music_server_uri= +account.6.music_on_hold_type= +account.6.auto_label.rule= +account.6.auto_label.enable= +account.6.number_of_linekey= +account.6.phone_setting.call_appearance.calls_per_linekey= ####################################################################################### ## Codec ## @@ -73,6 +164,34 @@ account.1.codec.g729.enable= account.1.codec.g722.priority= account.1.codec.g722.enable= +account.2.codec.ilbc_15_2kbps.priority= +account.2.codec.ilbc_15_2kbps.enable= +account.2.codec.ilbc_13_33kbps.priority= +account.2.codec.ilbc_13_33kbps.enable = +account.2.codec.pcma.enable= +account.2.codec.pcma.priority= +account.2.codec.pcmu.enable= +account.2.codec.pcmu.priority= +account.2.codec.opus.priority = +account.2.codec.opus.enable= +account.2.codec.opus.para= +account.2.codec.g726_40.enable= +account.2.codec.g726_40.priority= +account.2.codec.g726_32.enable= +account.2.codec.g726_32.priority= +account.2.codec.g726_24.enable= +account.2.codec.g726_24.priority= +account.2.codec.g726_16.enable= +account.2.codec.g726_16.priority= +account.2.codec.g723_63.priority= +account.2.codec.g723_63.enable= +account.2.codec.g723_53.priority= +account.2.codec.g723_53.enable= +account.2.codec.g729.priority= +account.2.codec.g729.enable= +account.2.codec.g722.priority= +account.2.codec.g722.enable= + ################################################################ # Account Register ## ################################################################ @@ -138,12 +257,77 @@ account.1.outbound_proxy_fallback_interval = 120 account.1.nat.nat_traversal= +{if isset($user_password_2) } +account.2.enable = 1 +{else} +account.2.enable = 0 +{/if} +account.2.label = {$display_name_2} +account.2.display_name = {$display_name_2} +account.2.auth_name = {$auth_id_2} +account.2.password = {$user_password_2} +account.2.user_name = {$user_id_2} + +account.2.sip_server.1.address= {$server_address_2} +account.2.sip_server.1.port= {$sip_port_2} + + +{if $sip_transport_1 == 'udp'}account.2.sip_server.1.transport_type = 0{/if} +{if $sip_transport_1 == 'tcp'}account.2.sip_server.1.transport_type = 1{/if} +{if $sip_transport_1 == 'tls'}account.2.sip_server.1.transport_type = 2{/if} +{if $sip_transport_1 == 'dns srv'}account.2.sip_server.1.transport_type = 3{/if} + +account.2.sip_server.1.expires= {$register_expires_1} +account.2.sip_server.1.retry_counts= 3 + +account.2.sip_server.2.address= {$server_address_2} +account.2.sip_server.2.port= {$sip_port_2} + + +{if $sip_transport_2 == 'udp'}account.2.sip_server.2.transport_type = 0{/if} +{if $sip_transport_2 == 'tcp'}account.2.sip_server.2.transport_type = 1{/if} +{if $sip_transport_2 == 'tls'}account.2.sip_server.2.transport_type = 2{/if} +{if $sip_transport_2 == 'dns srv'}account.2.sip_server.2.transport_type = 3{/if} + +account.2.sip_server.2.expires= {$register_expires_2} +account.2.sip_server.2.retry_counts= 3 + +account.2.outbound_proxy_enable= {if isset($outbound_proxy_primary_2)}1{else}0{/if} + +account.2.outbound_proxy.1.address= {$outbound_proxy_primary_2} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.1.port = {$outbound_proxy_2_port} +{else} +account.2.outbound_proxy.1.port = 5060 +{/if} + +account.2.outbound_proxy.2.address= {$outbound_proxy_secondary_2} + +{if isset($outbound_proxy_1_port)} +account.2.outbound_proxy.2.port = {$outbound_proxy_2_port} +{else} +account.2.outbound_proxy.2.port = 5060 +{/if} + +{if isset($outbound_proxy_fallback_interval)} +account.2.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval} +{else} +account.2.outbound_proxy_fallback_interval = 120 +{/if} + +account.2.nat.nat_traversal= + + ################################################################ # Account Basic ## ################################################################ account.1.proxy_require= account.1.auto_answer= +account.2.proxy_require= +account.2.auto_answer= + ################################################################ # Account Advanced ## ################################################################ @@ -173,6 +357,32 @@ account.1.session_timer.enable= {$yealink_session_timer} account.1.conf_type= account.1.sip_server_type= +account.2.nat.udp_update_enable= 3 +account.2.nat.udp_update_time= 30 +account.2.nat.rport= {$yealink_rport} + +account.2.dtmf.type= +account.2.dtmf.info_type= +account.2.dtmf.dtmf_payload= +account.2.100rel_enable= {$yealink_retransmission} + +account.2.subscribe_register= +account.2.cid_source= {$yealink_cid_source} +account.2.enable_user_equal_phone= +account.2.srtp_encryption= {$yealink_srtp_encryption} +account.2.ptime= 20 +account.2.register_line= +account.2.register_mac= +account.2.reg_fail_retry_interval= +account.2.unregister_on_reboot= + +account.2.session_timer.refresher= +account.2.session_timer.expires= +account.2.session_timer.enable= {$yealink_session_timer} + +account.2.conf_type= +account.2.sip_server_type= + ################################################################ # SIP Backup Server ## @@ -216,6 +426,45 @@ account.1.reg_failed_retry_max_time= account.1.reg_failed_retry_min_time= account.1.redundancy_with_reg_fail.enable = +account.2.outbound_proxy.1.register_on_enable= +account.2.outbound_proxy.1.failback_timeout= +account.2.outbound_proxy.1.failback_mode= +account.2.outbound_proxy.1.retry_counts= +account.2.outbound_proxy.1.only_signal_with_registered= +account.2.outbound_proxy.1.failback_subscribe.enable= +account.2.outbound_proxy.1.invite_retry_counts= + +account.2.sip_server.1.register_on_enable= 0 +account.2.sip_server.1.failback_timeout= 3600 +account.2.sip_server.1.failback_mode= 0 +account.2.sip_server.1.failback_subscribe.enable= +account.2.sip_server.1.only_signal_with_registered= +account.2.sip_server.1.invite_retry_counts= + +account.2.outbound_proxy.2.register_on_enable= +account.2.outbound_proxy.2.failback_timeout= +account.2.outbound_proxy.2.failback_mode= +account.2.outbound_proxy.2.retry_counts= +account.2.outbound_proxy.2.only_signal_with_registered= +account.2.outbound_proxy.2.failback_subscribe.enable= +account.2.outbound_proxy.2.invite_retry_counts= + +account.2.sip_server.2.register_on_enable= +account.2.sip_server.2.failback_timeout= +account.2.sip_server.2.failback_mode= +account.2.sip_server.2.failback_subscribe.enable= +account.2.sip_server.2.only_signal_with_registered= +account.2.sip_server.2.invite_retry_counts= + +account.2.static_cache_pri= +account.2.dns_cache_type= +account.2.naptr_build= +account.2.fallback.timeout= +account.2.fallback.redundancy_type= +account.2.reg_failed_retry_max_time= +account.2.reg_failed_retry_min_time= +account.2.redundancy_with_reg_fail.enable = + ################################################################ # SIP Basic config ## @@ -294,6 +543,12 @@ account.1.subscribe_mwi_to_vm= account.1.subscribe_mwi_expires= account.1.display_mwi.enable= +voice_mail.number.2= {$voicemail_number} +account.2.subscribe_mwi= +account.2.subscribe_mwi_to_vm= +account.2.subscribe_mwi_expires= +account.2.display_mwi.enable= + ####################################################################################### ## Auto Dial ## ####################################################################################### @@ -392,39 +647,9 @@ account.1.bw_disp_code_name.1= account.1.supervisor_info_code.1= account.1.supervisor_info_code_name.1= -####################################################################################### -## Broadsoft Call Center ## -####################################################################################### -account.1.call_center.call_info_enable= -account.1.call_center.show_call_info_time= -account.1.call_center.disp_code_enable= -account.1.call_center.trace_enable= -account.1.call_center.emergency_enable= -account.1.call_center.queue_status_enable= -account.1.call_center.queue_status_light_enable = -####################################################################################### -## Broadsoft Hoteling ## -####################################################################################### -account.1.hoteling.enable= -account.1.hoteling.user_id= -account.1.hoteling.password= -account.1.hoteling.expires= -account.1.hoteling.auto_login_enable= - - -####################################################################################### -## Broadsoft XSI ## -####################################################################################### -account.1.xsi.user = -account.1.xsi.password = -account.1.xsi.host = -account.1.xsi.server_type = -account.1.xsi.port = - - ####################################################################################### ## Call Pickup ## ####################################################################################### @@ -433,12 +658,6 @@ account.1.group_pickup_code = account.1.dialoginfo_callpickup = account.1.refresh_remote_id.enable = - -####################################################################################### -## Broadsoft Call Recording ## -####################################################################################### -account.1.call_recording.enable= - ####################################################################################### ## Network Conferene ## #######################################################################################