mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Create {$mac}.cfg
This commit is contained in:
520
resources/templates/provision/yealink/t42s/{$mac}.cfg
Normal file
520
resources/templates/provision/yealink/t42s/{$mac}.cfg
Normal file
@@ -0,0 +1,520 @@
|
||||
#!version:1.0.0.1
|
||||
|
||||
##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##
|
||||
##account.X.*:(T54S/T48G/T48S/T46G/T46S/T29G: X ranges from 1 to 16. T52S/T42G/T42S: X ranges from 1 to 12. T41P/T41S/T27P/T27G: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)##
|
||||
|
||||
#######################################################################################
|
||||
## Transfer ##
|
||||
#######################################################################################
|
||||
account.1.phone_setting.call_appearance.transfer_via_new_linekey=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Conference ##
|
||||
#######################################################################################
|
||||
account.1.phone_setting.call_appearance.conference_via_new_linekey=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Anonymous ##
|
||||
#######################################################################################
|
||||
account.1.anonymous_call.server_base_only =
|
||||
account.1.send_anonymous_rejection_code =
|
||||
account.1.anonymous_reject_offcode =
|
||||
account.1.anonymous_reject_oncode =
|
||||
account.1.reject_anonymous_call=
|
||||
account.1.anonymous_call_offcode =
|
||||
account.1.anonymous_call_oncode =
|
||||
account.1.anonymous_call =
|
||||
account.1.send_anonymous_code =
|
||||
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Call Configuration ##
|
||||
#######################################################################################
|
||||
account.1.music_server_uri=
|
||||
account.1.music_on_hold_type=
|
||||
account.1.auto_label.rule=
|
||||
account.1.auto_label.enable=
|
||||
account.1.number_of_linekey=
|
||||
account.1.phone_setting.call_appearance.calls_per_linekey=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Codec ##
|
||||
#######################################################################################
|
||||
account.1.codec.ilbc_15_2kbps.priority=
|
||||
account.1.codec.ilbc_15_2kbps.enable=
|
||||
account.1.codec.ilbc_13_33kbps.priority=
|
||||
account.1.codec.ilbc_13_33kbps.enable =
|
||||
account.1.codec.pcma.enable=
|
||||
account.1.codec.pcma.priority=
|
||||
account.1.codec.pcmu.enable=
|
||||
account.1.codec.pcmu.priority=
|
||||
account.1.codec.opus.priority =
|
||||
account.1.codec.opus.enable=
|
||||
account.1.codec.opus.para=
|
||||
account.1.codec.g726_40.enable=
|
||||
account.1.codec.g726_40.priority=
|
||||
account.1.codec.g726_32.enable=
|
||||
account.1.codec.g726_32.priority=
|
||||
account.1.codec.g726_24.enable=
|
||||
account.1.codec.g726_24.priority=
|
||||
account.1.codec.g726_16.enable=
|
||||
account.1.codec.g726_16.priority=
|
||||
account.1.codec.g723_63.priority=
|
||||
account.1.codec.g723_63.enable=
|
||||
account.1.codec.g723_53.priority=
|
||||
account.1.codec.g723_53.enable=
|
||||
account.1.codec.g729.priority=
|
||||
account.1.codec.g729.enable=
|
||||
account.1.codec.g722.priority=
|
||||
account.1.codec.g722.enable=
|
||||
|
||||
################################################################
|
||||
# Account Register ##
|
||||
################################################################
|
||||
|
||||
{if isset($user_password_1) }
|
||||
account.1.enable = 1
|
||||
{else}
|
||||
account.1.enable = 0
|
||||
{/if}
|
||||
account.1.label = {$display_name_1}
|
||||
account.1.display_name = {$display_name_1}
|
||||
account.1.auth_name = {$auth_id_1}
|
||||
account.1.password = {$user_password_1}
|
||||
account.1.user_name = {$user_id_1}
|
||||
|
||||
account.1.sip_server.1.address = {$server_address_1}
|
||||
account.1.sip_server.1.port = {$sip_port_1}
|
||||
|
||||
{if $sip_transport_1 == 'udp'}account.1.sip_server.1.transport_type = 0{/if}
|
||||
{if $sip_transport_1 == 'tcp'}account.1.sip_server.1.transport_type = 1{/if}
|
||||
{if $sip_transport_1 == 'tls'}account.1.sip_server.1.transport_type = 2{/if}
|
||||
{if $sip_transport_1 == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if}
|
||||
|
||||
account.1.sip_server.1.expires = {$register_expires_1}
|
||||
account.1.sip_server.1.retry_counts = 3
|
||||
|
||||
account.1.sip_server.2.address = {$server_address_2}
|
||||
account.1.sip_server.2.port = {$sip_port_2}
|
||||
|
||||
{if $sip_transport_1 == 'udp'}account.1.sip_server.2.transport_type = 0{/if}
|
||||
{if $sip_transport_1 == 'tcp'}account.1.sip_server.2.transport_type = 1{/if}
|
||||
{if $sip_transport_1 == 'tls'}account.1.sip_server.2.transport_type = 2{/if}
|
||||
{if $sip_transport_1 == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if}
|
||||
|
||||
account.1.sip_server.2.expires = {$register_expires_2}
|
||||
account.1.sip_server.2.retry_counts = 3
|
||||
|
||||
account.1.outbound_proxy_enable = {if isset($outbound_proxy_primary_1)}1{else}0{/if}
|
||||
|
||||
account.1.outbound_proxy.1.address = {$outbound_proxy_primary_1}
|
||||
|
||||
{if isset($outbound_proxy_1_port)}
|
||||
account.1.outbound_proxy.1.port = {$outbound_proxy_1_port}
|
||||
{else}
|
||||
account.1.outbound_proxy.1.port = 5060
|
||||
{/if}
|
||||
|
||||
account.1.outbound_proxy.2.address = {$outbound_proxy_secondary_1}
|
||||
|
||||
{if isset($outbound_proxy_1_port)}
|
||||
account.1.outbound_proxy.2.port = {$outbound_proxy_2_port}
|
||||
{else}
|
||||
account.1.outbound_proxy.2.port = 5060
|
||||
{/if}
|
||||
|
||||
{if isset($outbound_proxy_fallback_interval)}
|
||||
account.1.outbound_proxy_fallback_interval = {$outbound_proxy_fallback_interval}
|
||||
{else}
|
||||
account.1.outbound_proxy_fallback_interval = 120
|
||||
{/if}
|
||||
|
||||
account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}
|
||||
|
||||
################################################################
|
||||
# Account Basic ##
|
||||
################################################################
|
||||
account.1.proxy_require=
|
||||
account.1.auto_answer=
|
||||
|
||||
################################################################
|
||||
# Account Advanced ##
|
||||
################################################################
|
||||
account.1.nat.udp_update_enable= 3
|
||||
account.1.nat.udp_update_time= 30
|
||||
account.1.nat.rport= {$yealink_rport}
|
||||
|
||||
account.1.dtmf.type=
|
||||
account.1.dtmf.info_type=
|
||||
account.1.dtmf.dtmf_payload=
|
||||
account.1.100rel_enable= {$yealink_retransmission}
|
||||
|
||||
account.1.subscribe_register=
|
||||
account.1.cid_source = {$yealink_cid_source}
|
||||
account.1.enable_user_equal_phone=
|
||||
account.1.srtp_encryption = {$yealink_srtp_encryption}
|
||||
account.1.ptime= 20
|
||||
account.1.register_line=
|
||||
account.1.register_mac=
|
||||
account.1.reg_fail_retry_interval=
|
||||
account.1.unregister_on_reboot=
|
||||
|
||||
account.1.session_timer.refresher=
|
||||
account.1.session_timer.expires=
|
||||
account.1.session_timer.enable = {$yealink_session_timer}
|
||||
|
||||
account.1.conf_type=
|
||||
account.1.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=
|
||||
account.1.outbound_proxy.1.retry_counts=
|
||||
account.1.outbound_proxy.1.only_signal_with_registered=
|
||||
account.1.outbound_proxy.1.failback_subscribe.enable=
|
||||
account.1.outbound_proxy.1.invite_retry_counts=
|
||||
|
||||
account.1.sip_server.1.register_on_enable= 0
|
||||
account.1.sip_server.1.failback_timeout= 3600
|
||||
account.1.sip_server.1.failback_mode= 0
|
||||
account.1.sip_server.1.failback_subscribe.enable=
|
||||
account.1.sip_server.1.only_signal_with_registered=
|
||||
account.1.sip_server.1.invite_retry_counts=
|
||||
|
||||
account.1.outbound_proxy.2.register_on_enable=
|
||||
account.1.outbound_proxy.2.failback_timeout=
|
||||
account.1.outbound_proxy.2.failback_mode=
|
||||
account.1.outbound_proxy.2.retry_counts=
|
||||
account.1.outbound_proxy.2.only_signal_with_registered=
|
||||
account.1.outbound_proxy.2.failback_subscribe.enable=
|
||||
account.1.outbound_proxy.2.invite_retry_counts=
|
||||
|
||||
account.1.sip_server.2.register_on_enable=
|
||||
account.1.sip_server.2.failback_timeout=
|
||||
account.1.sip_server.2.failback_mode=
|
||||
account.1.sip_server.2.failback_subscribe.enable=
|
||||
account.1.sip_server.2.only_signal_with_registered=
|
||||
account.1.sip_server.2.invite_retry_counts=
|
||||
|
||||
account.1.static_cache_pri=
|
||||
account.1.dns_cache_type=
|
||||
account.1.naptr_build=
|
||||
account.1.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
||||
account.1.fallback.redundancy_type=
|
||||
account.1.reg_failed_retry_max_time=
|
||||
account.1.reg_failed_retry_min_time=
|
||||
account.1.redundancy_with_reg_fail.enable =
|
||||
|
||||
|
||||
################################################################
|
||||
# SIP Basic config ##
|
||||
################################################################
|
||||
account.1.contact_take_line_param.enable=
|
||||
account.1.update_ack_while_dialing=
|
||||
account.1.srtp_lifetime=
|
||||
account.1.third_part_request_with_route.enable=
|
||||
account.1.insert_outbound_in_route.enable=
|
||||
account.1.path.enable=
|
||||
account.1.rereg_with_auth.enable=
|
||||
account.1.sub_fail_retry_interval=
|
||||
account.1.transfer_refer_to_contact_header.enable=
|
||||
account.1.hold_use_inactive=
|
||||
account.1.gruu.enable=
|
||||
account.1.dial_tone=
|
||||
account.1.call_id_mode=
|
||||
account.1.subscribe_expires_overlap=
|
||||
account.1.register_expires_overlap=
|
||||
account.1.call_info=
|
||||
account.1.custom_ua=
|
||||
account.1.mwi_parse_terminated=
|
||||
account.1.check_cseq.enable=
|
||||
account.1.check_to_tag.enable=
|
||||
account.1.vq_rtcpxr.collector_server_port=
|
||||
account.1.vq_rtcpxr.collector_server_host=
|
||||
account.1.vq_rtcpxr.collector_name=
|
||||
account.1.compact_header_enable=
|
||||
account.1.cp_source=
|
||||
account.1.cid_source_ppi=
|
||||
account.1.cid_source_privacy=
|
||||
|
||||
account.1.alert_info=
|
||||
account.1.picture_info_enable=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## History ##
|
||||
#######################################################################################
|
||||
account.1.missed_calllog=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Forward ##
|
||||
#######################################################################################
|
||||
account.1.timeout_fwd.off_code=
|
||||
account.1.timeout_fwd.on_code=
|
||||
account.1.timeout_fwd.timeout=
|
||||
account.1.timeout_fwd.target=
|
||||
account.1.timeout_fwd.enable=
|
||||
account.1.busy_fwd.off_code=
|
||||
account.1.busy_fwd.on_code=
|
||||
account.1.busy_fwd.target=
|
||||
account.1.busy_fwd.enable=
|
||||
account.1.always_fwd.off_code=
|
||||
account.1.always_fwd.on_code=
|
||||
account.1.always_fwd.target=
|
||||
account.1.always_fwd.enable=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## DND ##
|
||||
#######################################################################################
|
||||
account.1.dnd.enable=
|
||||
account.1.dnd.off_code=
|
||||
account.1.dnd.on_code=
|
||||
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Voice Mail ##
|
||||
#######################################################################################
|
||||
voice_mail.number.1= {$voicemail_number}
|
||||
account.1.subscribe_mwi=
|
||||
account.1.subscribe_mwi_to_vm=
|
||||
account.1.subscribe_mwi_expires=
|
||||
account.1.display_mwi.enable=
|
||||
|
||||
#######################################################################################
|
||||
## Auto Dial ##
|
||||
#######################################################################################
|
||||
account.1.auto_dial_enable=
|
||||
account.1.auto_dial_num=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Preference&Status ##
|
||||
#######################################################################################
|
||||
account.1.ringtone.ring_type=
|
||||
|
||||
#######################################################################################
|
||||
## Digitmap ##
|
||||
#######################################################################################
|
||||
account.1.dialplan.digitmap.enable=
|
||||
account.1.dialplan.digitmap.string=
|
||||
account.1.dialplan.digitmap.no_match_action=
|
||||
account.1.dialplan.digitmap.interdigit_short_timer=
|
||||
account.1.dialplan.digitmap.interdigit_long_timer=
|
||||
account.1.dialplan.digitmap.apply_to.press_send=
|
||||
account.1.dialplan.digitmap.apply_to.forward=
|
||||
account.1.dialplan.digitmap.apply_to.history_dial=
|
||||
account.1.dialplan.digitmap.apply_to.directory_dial=
|
||||
account.1.dialplan.digitmap.apply_to.on_hook_dial=
|
||||
account.1.dialplan.digitmap.active.on_hook_dialing=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Rings Settings ##
|
||||
#######################################################################################
|
||||
account.1.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=
|
||||
account.1.blf_list_retrieve_call_parked_code=
|
||||
account.1.blf.subscribe_period=
|
||||
account.1.blf.match_host.enable=
|
||||
account.1.out_dialog_blf_enable=
|
||||
account.1.blf.subscribe_event=
|
||||
|
||||
#######################################################################################
|
||||
## SCA ##
|
||||
#######################################################################################
|
||||
account.1.shared_line = {$shared_line_1}
|
||||
account.1.line_seize.expires=
|
||||
account.1.shared_line_one_touch_bargein.enable=
|
||||
account.1.shared_line_one_touch_retrieve.enable=
|
||||
account.1.sca_manage_interface_display_time=
|
||||
account.1.shared_line_callpull_code=
|
||||
|
||||
#######################################################################################
|
||||
## BLA ##
|
||||
#######################################################################################
|
||||
account.1.bla_number=
|
||||
account.1.bla_subscribe_period=
|
||||
account.1.bla.notify_with_expire.enable=
|
||||
account.1.bla.subscribe_uri_build_type=
|
||||
|
||||
#######################################################################################
|
||||
## Call Park ##
|
||||
#######################################################################################
|
||||
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=
|
||||
|
||||
#######################################################################################
|
||||
## 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 ##
|
||||
#######################################################################################
|
||||
account.1.direct_pickup_code =
|
||||
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 ##
|
||||
#######################################################################################
|
||||
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 ##
|
||||
#######################################################################################
|
||||
account.1.features.forward.feature_key_sync.local_processing.enable=
|
||||
account.1.features.dnd.feature_key_sync.local_processing.enable =
|
||||
|
||||
#######################################################################################
|
||||
## ACD ##
|
||||
#######################################################################################
|
||||
account.1.acd.available_url=
|
||||
account.1.acd.away_url =
|
||||
account.1.acd.refresh_url =
|
||||
account.1.acd.call_information=
|
||||
|
||||
#Configure Line Key {$row.device_key_id}
|
||||
linekey.{$row.device_key_id}.line = {$row.device_key_line}
|
||||
linekey.{$row.device_key_id}.value = {$row.device_key_value}
|
||||
linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
|
||||
linekey.{$row.device_key_id}.extension = {$row.device_key_extension}
|
||||
linekey.{$row.device_key_id}.type = {$row.device_key_type}
|
||||
linekey.{$row.device_key_id}.xml_phonebook =
|
||||
linekey.{$row.device_key_id}.label = {$row.device_key_label}
|
||||
|
||||
#Expansion Memory Key {$row.device_key_id}
|
||||
memorykey.{$row.device_key_id}.type = {$row.device_key_type}
|
||||
memorykey.{$row.device_key_id}.line = {$row.device_key_line}
|
||||
memorykey.{$row.device_key_id}.value = {$row.device_key_value}
|
||||
memorykey.{$row.device_key_id}.extension = {$row.device_key_extension}
|
||||
memorykey.{$row.device_key_id}.label = {$row.device_key_label}
|
||||
memorykey.{$row.device_key_id}.xml_phonebook =
|
||||
memorykey.{$row.device_key_id}.sub_type =
|
||||
|
||||
programablekey.{$row.device_key_id}.type = {$row.device_key_type}
|
||||
programablekey.{$row.device_key_id}.line = {$row.device_key_line}
|
||||
programablekey.{$row.device_key_id}.value = {$row.device_key_value}
|
||||
programablekey.{$row.device_key_id}.xml_phonebook =
|
||||
programablekey.{$row.device_key_id}.history_type =
|
||||
programablekey.{$row.device_key_id}.label = {$row.device_key_label}
|
||||
{$rownum = 1}
|
||||
|
||||
expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type}
|
||||
expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line}
|
||||
expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value}
|
||||
expansion_module.1.key.{$row.device_key_id}.extension = {$row.device_key_extension}
|
||||
expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label}
|
||||
expansion_module.1.key.{$row.device_key_id}.xml_phonebook =
|
||||
|
||||
expansion_module.2.key.{$row.device_key_id - 40}.type = {$row.device_key_type}
|
||||
expansion_module.2.key.{$row.device_key_id - 40}.line = {$row.device_key_line}
|
||||
expansion_module.2.key.{$row.device_key_id - 40}.value = {$row.device_key_value}
|
||||
expansion_module.2.key.{$row.device_key_id - 40}.extension = {$row.device_key_extension}
|
||||
expansion_module.2.key.{$row.device_key_id - 40}.label = {$row.device_key_label}
|
||||
expansion_module.2.key.{$row.device_key_id - 40}.xml_phonebook =
|
||||
{$rownum = $rownum + 1}
|
||||
Reference in New Issue
Block a user