fusionpbx/resources/templates/provision/snom/820/{$mac}.xml

63 lines
2.7 KiB
XML

<settings>
<phone-settings>
<update_policy>auto_update</update_policy>
<firmware_status>http://{$domain_name}{$project_path}/app/provision/?mac={$v_mac}&amp;filename_firmware-{$v_mac}.xml</firmware_status>
<date_us_format>off</date_us_format>
<time_24_format>on</time_24_format>
<challenge_response>off</challenge_response>
<filter_registrar>off</filter_registrar>
<logon_wizard>off</logon_wizard>
<message_led_other>off</message_led_other>
<user_phone>off</user_phone>
<intercom_enabled>on</intercom_enabled>
{if isset($admin_password) }
<http_user perm="">{$admin_name}</http_user>
<http_pass perm="">{$admin_password}</http_pass>
{/if}
<web_logout_timer>5</web_logout_timer>
{if isset($admin_password) }
<admin_mode_login perm="">{$admin_name}</admin_mode_login>
<admin_mode_password perm="">{$admin_password}</admin_mode_password>
<admin_mode_password_confirm perm="">{$admin_password}</admin_mode_password_confirm>
{else}
<admin_mode_password>0000</admin_mode_password>
<admin_mode_password_confirm>0000</admin_mode_password_confirm>
{/if}
<language>English</language>
<ntp_server>{$server_address_1}</ntp_server>
<timezone>AUS+10</timezone>
<dst>3600 25.09 02:00:00 04.05 03:00:00</dst>
<tone_scheme>US</tone_scheme>
<ring_sound>Ringer9</ring_sound>
<no_dnd>off</no_dnd>
<call_waiting>on</call_waiting>
<user_realname idx="1">{$display_name_1}</user_realname>
<user_name idx="1">{$user_id_1}</user_name>
<user_host idx="1">{$server_address_1}</user_host>
<user_outbound idx="1">{$outbound_proxy_1}</user_outbound>
<user_password idx="1">{$user_password_1}</user_password>
<user_ringer idx="1">Ringer9</user_ringer>
<user_mailbox idx="1">4000</user_mailbox>
<user_srtp idx="1" perm="">off</user_srtp>
</phone-settings>
<function-keys>
<fkey context="active" idx="0">line</fkey>
<fkey context="active" idx="1">blf sip:1002@{$domain_name}</fkey>
<fkey context="active" idx="2">blf sip:1003@{$domain_name}</fkey>
<fkey context="active" idx="3">blf sip:1004@{$domain_name}</fkey>
<fkey context="active" idx="4">blf sip:1005@{$domain_name}</fkey>
<fkey context="active" idx="5">blf sip:1006@{$domain_name}</fkey>
<fkey context="active" idx="6">line</fkey>
<fkey context="active" idx="7">blf sip:1007@{$domain_name}</fkey>
<fkey context="active" idx="8">blf sip:1008@{$domain_name}</fkey>
<fkey context="active" idx="9">blf sip:1009@{$domain_name}</fkey>
<fkey context="active" idx="10">blf sip:1010@{$domain_name}</fkey>
<fkey context="active" idx="11">blf sip:1011@{$domain_name}</fkey>
</function-keys>
<dialplan>
<!-- Handset Dialplan Mask, VERY similar to Cisco format... -->
<template Timeout="0" User="phone" match="0" rewrite="" scheme="sip"/>
<template Timeout="8" User="phone" match="1*" rewrite="" scheme="sip"/>
</dialplan>
</settings>