mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
New Snom phone support plus fix for older snom model (#6587)
* Added support for privacy_out config parameter * Added support for Snom M Series KLE Phones/Base * minor fix to app_config.php
This commit is contained in:
committed by
GitHub
parent
e905e7e3c8
commit
5c77562535
@@ -254,5 +254,53 @@
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "USA";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Sets the tone scheme on snom-phones. See https://service.snom.com/display/wiki/tone_scheme";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2f2e9958-ca83-11ed-afa1-0242ac120002";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "snom_firmware_m500pro_base";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "https://downloads.snom.com/M500/M500-1.9.2.img";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Provide the full URL to the M500 .img file. Latest firmware files can be found here: https://service.snom.com/display/wiki/DECT+M500+Pro-Series+Firmware";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2f2e9cdc-ca83-11ed-afa1-0242ac120002";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "snom_firmware_m500pro_deskset";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "https://downloads.snom.com/M500/M58-1.9.2.img";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Provide the full URL to the M58 .img file. Latest firmware files can be found here: https://service.snom.com/display/wiki/DECT+M500+Pro-Series+Firmware";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2f2e9e44-ca83-11ed-afa1-0242ac120002";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "snom_firmware_m500pro_handset";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "https://downloads.snom.com/M500/M55-1.9.2.img";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Provide the full URL to the M55 .img file. Latest firmware files can be found here: https://service.snom.com/display/wiki/DECT+M500+Pro-Series+Firmware";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2f2e9fd4-ca83-11ed-afa1-0242ac120002";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "snom_firmware_m100_base";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "https://downloads.snom.com/M100/M100KLE-1.0.5.2-0.img";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Provide the full URL to the M100 .img file. Latest firmware files can be found here: https://service.snom.com/display/wiki/DECT+M-KLE-Series+Firmware";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2f2ea376-ca83-11ed-afa1-0242ac120002";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "snom_firmware_m100_deskset";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "https://downloads.snom.com/M100/M18KLE-1.0.4.2-0.img";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Provide the full URL to the M18 .img file. Latest firmware files can be found here: https://service.snom.com/display/wiki/DECT+M-KLE-Series+Firmware";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2f2ea4f2-ca83-11ed-afa1-0242ac120002";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "snom_firmware_m100_handset";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "https://downloads.snom.com/M100/M10KLE-1.4.5.10-0.img";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Provide the full URL to the M10 .img file. Latest firmware files can be found here: https://service.snom.com/display/wiki/DECT+M-KLE-Series+Firmware";
|
||||
|
||||
?>
|
||||
@@ -30,6 +30,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
<mwi_dialtone perm="">stutter</mwi_dialtone>
|
||||
<enable_rport_rfc3581 perm="RW">on</enable_rport_rfc3581>
|
||||
<privacy_in perm="">off</privacy_in>
|
||||
<privacy_out perm="">off</privacy_out>
|
||||
<quick_transfer perm="">blind</quick_transfer>
|
||||
<call_screen_fkeys_on_connected perm="">F_HOLD F_TRANSFER F_CONFERENCE</call_screen_fkeys_on_connected>
|
||||
<!-- Updates -->
|
||||
|
||||
500
resources/templates/provision/snom/M100KLE/{$mac}.xml
Normal file
500
resources/templates/provision/snom/M100KLE/{$mac}.xml
Normal file
@@ -0,0 +1,500 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<settings>
|
||||
<call_settings>
|
||||
<account>
|
||||
{foreach $lines as $row}
|
||||
<idx id="1">
|
||||
<block_anonymous_enable>0</block_anonymous_enable>
|
||||
<outgoing_anonymous_enable>0</outgoing_anonymous_enable>
|
||||
<dnd_enable>0</dnd_enable>
|
||||
<call_fwd_always_enable>0</call_fwd_always_enable>
|
||||
<call_fwd_always_target></call_fwd_always_target>
|
||||
<call_fwd_busy_enable>0</call_fwd_busy_enable>
|
||||
<call_fwd_busy_target></call_fwd_busy_target>
|
||||
<cfna_enable>0</cfna_enable>
|
||||
<cfna_target></cfna_target>
|
||||
<cfna_delay>6</cfna_delay>
|
||||
</idx>
|
||||
{if $row@index eq 8}{break}{/if}
|
||||
{/foreach}
|
||||
</account>
|
||||
<early_media_preferred>1</early_media_preferred>
|
||||
</call_settings>
|
||||
<file>
|
||||
<hs_idle_logo> </hs_idle_logo>
|
||||
</file>
|
||||
<hs_settings>
|
||||
<autoreg_enable>0</autoreg_enable>
|
||||
{foreach $lines as $row}
|
||||
<idx id="1">
|
||||
<ipei></ipei>
|
||||
<pfk>
|
||||
<line1>
|
||||
<feature>keyline</feature>
|
||||
<account>1</account>
|
||||
<value>1</value>
|
||||
</line1>
|
||||
<line2>
|
||||
<feature>keyline</feature>
|
||||
<account>1</account>
|
||||
<value>2</value>
|
||||
</line2>
|
||||
<line3>
|
||||
<feature>keyline</feature>
|
||||
<account>1</account>
|
||||
<value>3</value>
|
||||
</line3>
|
||||
<line4>
|
||||
<feature>keyline</feature>
|
||||
<account>1</account>
|
||||
<value>4</value>
|
||||
</line4>
|
||||
<hold>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</hold>
|
||||
<intercom>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</intercom>
|
||||
<mute>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</mute>
|
||||
<up>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</up>
|
||||
<down>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</down>
|
||||
<softkeyleft>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</softkeyleft>
|
||||
<softkeyright>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</softkeyright>
|
||||
</pfk>
|
||||
<assigned_account>1,2,3,4,5,6,7,8</assigned_account>
|
||||
<default_account>1</default_account>
|
||||
<handset_name>HANDSET</handset_name>
|
||||
</idx>
|
||||
{if $row@index eq 6}{break}{/if}
|
||||
{/foreach}
|
||||
<handset_eu_pin_code>0000</handset_eu_pin_code>
|
||||
<keyline>
|
||||
{foreach $lines as $row}
|
||||
<idx id="{$row.line_number}">1</idx>
|
||||
{if $row@index eq 6}{break}{/if}
|
||||
{/foreach}
|
||||
</keyline>
|
||||
<statistics_enable>1</statistics_enable>
|
||||
<statistics_timer>900</statistics_timer>
|
||||
</hs_settings>
|
||||
<log>
|
||||
<syslog_enable>0</syslog_enable>
|
||||
<syslog_level>2</syslog_level>
|
||||
<syslog_server_address></syslog_server_address>
|
||||
<syslog_server_port>514</syslog_server_port>
|
||||
</log>
|
||||
|
||||
<profile>
|
||||
<admin>
|
||||
<access_password>{$admin_password}</access_password>
|
||||
</admin>
|
||||
<user>
|
||||
<access_password>{$admin_password}</access_password>
|
||||
</user>
|
||||
</profile>
|
||||
<provisioning>
|
||||
<bootup_check_enable>1</bootup_check_enable>
|
||||
<crypto_enable>0</crypto_enable>
|
||||
<crypto_passphrase></crypto_passphrase>
|
||||
<dhcp_option_enable>1</dhcp_option_enable>
|
||||
<dhcp_option_priority_1>66</dhcp_option_priority_1>
|
||||
<dhcp_option_priority_2>159</dhcp_option_priority_2>
|
||||
<dhcp_option_priority_3>160</dhcp_option_priority_3>
|
||||
<firmware_url>{$snom_firmware_m100_base}</firmware_url>
|
||||
<handset_firmware_url>{$snom_firmware_m100_handset}</handset_firmware_url>
|
||||
<cordless_deskset_firmware_url>{$snom_firmware_m100_deskset}</cordless_deskset_firmware_url>
|
||||
<fw_server_username></fw_server_username>
|
||||
<fw_server_access_password></fw_server_access_password>
|
||||
<resync_mode>config_and_firmware</resync_mode>
|
||||
<resync_time>0</resync_time>
|
||||
<server_address>{if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if}</server_address>
|
||||
<server_username></server_username>
|
||||
<server_access_password></server_access_password>
|
||||
<check_trusted_certificate>0</check_trusted_certificate>
|
||||
<remote_check_sync_enable>1</remote_check_sync_enable>
|
||||
<pnp_enable>1</pnp_enable>
|
||||
<pnp_response_timeout>10</pnp_response_timeout>
|
||||
<schedule_mode>disable</schedule_mode>
|
||||
<weekdays></weekdays>
|
||||
<weekdays_start_hr>0</weekdays_start_hr>
|
||||
<weekdays_end_hr>0</weekdays_end_hr>
|
||||
</provisioning>
|
||||
<remoteDir>
|
||||
<ldap_directory_name></ldap_directory_name>
|
||||
<ldap_number_filter></ldap_number_filter>
|
||||
<ldap_firstname_filter></ldap_firstname_filter>
|
||||
<ldap_lastname_filter></ldap_lastname_filter>
|
||||
<ldap_server_address></ldap_server_address>
|
||||
<ldap_port>389</ldap_port>
|
||||
<ldap_authentication_type>simple</ldap_authentication_type>
|
||||
<ldap_base></ldap_base>
|
||||
<ldap_user_name></ldap_user_name>
|
||||
<ldap_access_password></ldap_access_password>
|
||||
<ldap_max_hits>200</ldap_max_hits>
|
||||
<ldap_work_number_attributes></ldap_work_number_attributes>
|
||||
<ldap_mobile_number_attributes></ldap_mobile_number_attributes>
|
||||
<ldap_other_number_attributes></ldap_other_number_attributes>
|
||||
<ldap_protocol_version>version_3</ldap_protocol_version>
|
||||
<ldap_search_delay>0</ldap_search_delay>
|
||||
<ldap_incall_lookup_enable>0</ldap_incall_lookup_enable>
|
||||
<ldap_outcall_lookup_enable>0</ldap_outcall_lookup_enable>
|
||||
<ldap_enable>0</ldap_enable>
|
||||
<ldap_firstname_attribute></ldap_firstname_attribute>
|
||||
<ldap_lastname_attribute></ldap_lastname_attribute>
|
||||
<ldap_check_certificate>0</ldap_check_certificate>
|
||||
<xml>
|
||||
<idx id="1">
|
||||
<name></name>
|
||||
<uri></uri>
|
||||
<call_lookup_enable>0</call_lookup_enable>
|
||||
<contact_entry_tag>DIR_ENTRY</contact_entry_tag>
|
||||
<first_name_tag>DIR_ENTRY_NAME_FIRST</first_name_tag>
|
||||
<last_name_tag>DIR_ENTRY_NAME_LAST</last_name_tag>
|
||||
<work_number_tag>DIR_ENTRY_NUMBER_WORK</work_number_tag>
|
||||
<mobile_number_tag>DIR_ENTRY_NUMBER_MOBILE</mobile_number_tag>
|
||||
<other_number_tag>DIR_ENTRY_NUMBER_OTHER</other_number_tag>
|
||||
</idx>
|
||||
<idx id="2">
|
||||
<name></name>
|
||||
<uri></uri>
|
||||
<call_lookup_enable>0</call_lookup_enable>
|
||||
<contact_entry_tag>DIR_ENTRY</contact_entry_tag>
|
||||
<first_name_tag>DIR_ENTRY_NAME_FIRST</first_name_tag>
|
||||
<last_name_tag>DIR_ENTRY_NAME_LAST</last_name_tag>
|
||||
<work_number_tag>DIR_ENTRY_NUMBER_WORK</work_number_tag>
|
||||
<mobile_number_tag>DIR_ENTRY_NUMBER_MOBILE</mobile_number_tag>
|
||||
<other_number_tag>DIR_ENTRY_NUMBER_OTHER</other_number_tag>
|
||||
</idx>
|
||||
<idx id="3">
|
||||
<name></name>
|
||||
<uri></uri>
|
||||
<call_lookup_enable>0</call_lookup_enable>
|
||||
<contact_entry_tag>DIR_ENTRY</contact_entry_tag>
|
||||
<first_name_tag>DIR_ENTRY_NAME_FIRST</first_name_tag>
|
||||
<last_name_tag>DIR_ENTRY_NAME_LAST</last_name_tag>
|
||||
<work_number_tag>DIR_ENTRY_NUMBER_WORK</work_number_tag>
|
||||
<mobile_number_tag>DIR_ENTRY_NUMBER_MOBILE</mobile_number_tag>
|
||||
<other_number_tag>DIR_ENTRY_NUMBER_OTHER</other_number_tag>
|
||||
</idx>
|
||||
</xml>
|
||||
</remoteDir>
|
||||
|
||||
<sip_account>
|
||||
{foreach $lines as $row}
|
||||
<idx id="{$row.line_number}">
|
||||
<sip_account_enable>{if $row.enabled}1{else}0{/if}</sip_account_enable>
|
||||
<label>{$row.display_name}</label>
|
||||
<display_name>{$row.user_id}</display_name>
|
||||
<user_id>{$row.user_id}</user_id>
|
||||
<authentication_name>{$row.user_id}</authentication_name>
|
||||
<authentication_access_password>{$row.password}</authentication_access_password>
|
||||
<dial_plan>[2-9]xx[2-9]xxxxxx|</dial_plan>
|
||||
<inter_digit_timeout>3</inter_digit_timeout>
|
||||
<maximum_call_number>4</maximum_call_number>
|
||||
<feature_sync_enable>0</feature_sync_enable>
|
||||
<music_on_hold_enable>1</music_on_hold_enable>
|
||||
<mwi_enable>1</mwi_enable>
|
||||
<mwi_ignore_unsolicited>0</mwi_ignore_unsolicited>
|
||||
<mwi_uri>{$row.user_id}</mwi_uri>
|
||||
<mwi_subscription_expires>3600</mwi_subscription_expires>
|
||||
<voice_encryption_enable>0</voice_encryption_enable>
|
||||
<primary_sip_server_port>{$row.sip_port}</primary_sip_server_port>
|
||||
<primary_sip_server_address>{$row.server_address}</primary_sip_server_address>
|
||||
<primary_outbound_proxy_server_port>{$row.sip_port}</primary_outbound_proxy_server_port>
|
||||
<primary_outbound_proxy_server_address></primary_outbound_proxy_server_address>
|
||||
<primary_registration_server_port>{$row.sip_port}</primary_registration_server_port>
|
||||
<primary_registration_server_address>{$row.server_address}</primary_registration_server_address>
|
||||
<primary_registration_expires>120</primary_registration_expires>
|
||||
<access_code_retrieve_voicemail></access_code_retrieve_voicemail>
|
||||
<access_code_dnd_on></access_code_dnd_on>
|
||||
<access_code_dnd_off></access_code_dnd_off>
|
||||
<access_code_cfa_on></access_code_cfa_on>
|
||||
<access_code_cfa_off></access_code_cfa_off>
|
||||
<access_code_cfna_on></access_code_cfna_on>
|
||||
<access_code_cfna_off></access_code_cfna_off>
|
||||
<access_code_cfb_on></access_code_cfb_on>
|
||||
<access_code_cfb_off></access_code_cfb_off>
|
||||
<access_code_anonymous_call_block_on></access_code_anonymous_call_block_on>
|
||||
<access_code_anonymous_call_block_off></access_code_anonymous_call_block_off>
|
||||
<access_code_outgoing_call_anonymous_on></access_code_outgoing_call_anonymous_on>
|
||||
<access_code_outgoing_call_anonymous_off></access_code_outgoing_call_anonymous_off>
|
||||
<nat_traversal_stun_enable>0</nat_traversal_stun_enable>
|
||||
<nat_traversal_stun_server_port>3478</nat_traversal_stun_server_port>
|
||||
<nat_traversal_stun_server_address></nat_traversal_stun_server_address>
|
||||
<nat_traversal_stun_keep_alive_enable>1</nat_traversal_stun_keep_alive_enable>
|
||||
<nat_traversal_stun_keep_alive_interval>30</nat_traversal_stun_keep_alive_interval>
|
||||
<network_conference_enable>0</network_conference_enable>
|
||||
<network_bridge_uri></network_bridge_uri>
|
||||
<sip_session_timer_enable>0</sip_session_timer_enable>
|
||||
<sip_session_timer_min>90</sip_session_timer_min>
|
||||
<sip_session_timer_max>1800</sip_session_timer_max>
|
||||
<dtmf_transport_method>auto</dtmf_transport_method>
|
||||
<codec_priority>
|
||||
<idx id="1">g711u</idx>
|
||||
<idx id="2">g711a</idx>
|
||||
<idx id="3">g729</idx>
|
||||
<idx id="4">g726</idx>
|
||||
<idx id="5">g722</idx>
|
||||
<idx id="6">none</idx>
|
||||
<idx id="7">ilbc</idx>
|
||||
</codec_priority>
|
||||
<unregister_after_reboot_enable>0</unregister_after_reboot_enable>
|
||||
<transport_mode>{$row.sip_transport}</transport_mode>
|
||||
<backup_outbound_proxy_server_port>{$row.sip_port}</backup_outbound_proxy_server_port>
|
||||
<backup_outbound_proxy_server_address></backup_outbound_proxy_server_address>
|
||||
<registration_retry_time>10</registration_retry_time>
|
||||
<local_sip_port>{$row.sip_port}</local_sip_port>
|
||||
<dscp>46</dscp>
|
||||
<sip_dscp>26</sip_dscp>
|
||||
<check_trusted_certificate>0</check_trusted_certificate>
|
||||
<g729_annexb_enable>0</g729_annexb_enable>
|
||||
<preferred_ptime>20</preferred_ptime>
|
||||
<cid_src_priority>
|
||||
<idx id="1">pai</idx>
|
||||
<idx id="2">rpid</idx>
|
||||
<idx id="3">from</idx>
|
||||
</cid_src_priority>
|
||||
<keep_alive_enable>1</keep_alive_enable>
|
||||
<keep_alive_interval>15</keep_alive_interval>
|
||||
<keep_alive_ignore_failure>0</keep_alive_ignore_failure>
|
||||
<dtmf_payload_type>101</dtmf_payload_type>
|
||||
<ilbc_payload_type>98</ilbc_payload_type>
|
||||
<call_restrict_dial_plan></call_restrict_dial_plan>
|
||||
<call_rejection_response_code>486</call_rejection_response_code>
|
||||
<use_register_route_header>1</use_register_route_header>
|
||||
<reliable_provisional_response_option>0</reliable_provisional_response_option>
|
||||
</idx>
|
||||
{if $row@index eq 8}{break}{/if}
|
||||
{/foreach}
|
||||
<service_unavailable_handling_option>1</service_unavailable_handling_option>
|
||||
<dns_query_option>1</dns_query_option>
|
||||
<shared_local_sip_port_enable>0</shared_local_sip_port_enable>
|
||||
<shared_local_sip_port>{$row.sip_port}</shared_local_sip_port>
|
||||
<sips_uri_enable>1</sips_uri_enable>
|
||||
<dirty_host_ttl>0</dirty_host_ttl>
|
||||
<mac_info_in_every_sip_message>0</mac_info_in_every_sip_message>
|
||||
<pnp_local_sip_port>5170</pnp_local_sip_port>
|
||||
</sip_account>
|
||||
|
||||
<time_date>
|
||||
<date_format>DD/MM/YY</date_format>
|
||||
<hr24_clock>0</hr24_clock>
|
||||
<ntp_dhcp_option>0</ntp_dhcp_option>
|
||||
<ntp_server>1</ntp_server>
|
||||
<ntp_server_addr>{if isset($snom_ntp_server)}{$snom_ntp_server}{else}0.pool.ntp.org{/if}</ntp_server_addr>
|
||||
<ntp_server_update_interval>1000</ntp_server_update_interval>
|
||||
<timezone_dhcp_option>0</timezone_dhcp_option>
|
||||
<selected_timezone>{if isset($snom_time_zone)}{$snom_time_zone}{else}America/New_York{/if}</selected_timezone>
|
||||
<daylight_saving_auto_adjust>1</daylight_saving_auto_adjust>
|
||||
<daylight_saving_user_defined>0</daylight_saving_user_defined>
|
||||
<daylight_saving_start_month>March</daylight_saving_start_month>
|
||||
<daylight_saving_start_week>2</daylight_saving_start_week>
|
||||
<daylight_saving_start_day>Sunday</daylight_saving_start_day>
|
||||
<daylight_saving_start_hour>2</daylight_saving_start_hour>
|
||||
<daylight_saving_end_month>November</daylight_saving_end_month>
|
||||
<daylight_saving_end_week>1</daylight_saving_end_week>
|
||||
<daylight_saving_end_day>Sunday</daylight_saving_end_day>
|
||||
<daylight_saving_end_hour>2</daylight_saving_end_hour>
|
||||
<daylight_saving_amount>60</daylight_saving_amount>
|
||||
</time_date>
|
||||
<tone>
|
||||
<inside_dial_tone>
|
||||
<num_of_elements>1</num_of_elements>
|
||||
<num_of_repeat_all>0</num_of_repeat_all>
|
||||
<element>
|
||||
<idx id="1">2 440 -22 350 -22 0 0 0 0 65535 0 65535</idx>
|
||||
<idx id="2"></idx>
|
||||
<idx id="3"></idx>
|
||||
<idx id="4"></idx>
|
||||
<idx id="5"></idx>
|
||||
</element>
|
||||
</inside_dial_tone>
|
||||
<stutter_dial_tone>
|
||||
<num_of_elements>2</num_of_elements>
|
||||
<num_of_repeat_all>0</num_of_repeat_all>
|
||||
<element>
|
||||
<idx id="1">2 440 -22 350 -22 0 0 0 0 100 100 10</idx>
|
||||
<idx id="2">2 440 -22 350 -22 0 0 0 0 65535 0 65535</idx>
|
||||
<idx id="3"></idx>
|
||||
<idx id="4"></idx>
|
||||
<idx id="5"></idx>
|
||||
</element>
|
||||
</stutter_dial_tone>
|
||||
<busy_tone>
|
||||
<num_of_elements>1</num_of_elements>
|
||||
<num_of_repeat_all>0</num_of_repeat_all>
|
||||
<element>
|
||||
<idx id="1">2 480 -22 620 -22 0 0 0 0 375 375 65535</idx>
|
||||
<idx id="2"></idx>
|
||||
<idx id="3"></idx>
|
||||
<idx id="4"></idx>
|
||||
<idx id="5"></idx>
|
||||
</element>
|
||||
</busy_tone>
|
||||
<dial_tone>
|
||||
<num_of_elements>1</num_of_elements>
|
||||
<num_of_repeat_all>0</num_of_repeat_all>
|
||||
<element>
|
||||
<idx id="1">2 440 -22 350 -22 0 0 0 0 65535 0 65535</idx>
|
||||
<idx id="2"></idx>
|
||||
<idx id="3"></idx>
|
||||
<idx id="4"></idx>
|
||||
<idx id="5"></idx>
|
||||
</element>
|
||||
</dial_tone>
|
||||
<congestion_tone>
|
||||
<num_of_elements>3</num_of_elements>
|
||||
<num_of_repeat_all>65535</num_of_repeat_all>
|
||||
<element>
|
||||
<idx id="1">1 950 -22 0 0 0 0 0 0 330 0 1</idx>
|
||||
<idx id="2">1 1400 -22 0 0 0 0 0 0 330 0 1</idx>
|
||||
<idx id="3">1 1800 -22 0 0 0 0 0 0 330 1000 1</idx>
|
||||
<idx id="4"></idx>
|
||||
<idx id="5"></idx>
|
||||
</element>
|
||||
</congestion_tone>
|
||||
<ring_back_tone>
|
||||
<num_of_elements>2</num_of_elements>
|
||||
<num_of_repeat_all>65535</num_of_repeat_all>
|
||||
<element>
|
||||
<idx id="1">2 440 -22 480 -22 0 0 0 0 400 200 1</idx>
|
||||
<idx id="2">2 440 -22 480 -22 0 0 0 0 400 2000 1</idx>
|
||||
<idx id="3"></idx>
|
||||
<idx id="4"></idx>
|
||||
<idx id="5"></idx>
|
||||
</element>
|
||||
</ring_back_tone>
|
||||
</tone>
|
||||
<tr069>
|
||||
<enable>0</enable>
|
||||
<acs>
|
||||
<url></url>
|
||||
<username></username>
|
||||
<access_password></access_password>
|
||||
</acs>
|
||||
<periodic_inform>
|
||||
<enable>0</enable>
|
||||
<interval>3600</interval>
|
||||
</periodic_inform>
|
||||
<connection_request>
|
||||
<username></username>
|
||||
<access_password></access_password>
|
||||
</connection_request>
|
||||
</tr069>
|
||||
<user_pref>
|
||||
<web_language>en</web_language>
|
||||
<feature_access_code_on_sip_registered_enable>0</feature_access_code_on_sip_registered_enable>
|
||||
<account>
|
||||
<idx id="1">
|
||||
<diversion_display>1</diversion_display>
|
||||
</idx>
|
||||
<idx id="2">
|
||||
<diversion_display>1</diversion_display>
|
||||
</idx>
|
||||
<idx id="3">
|
||||
<diversion_display>1</diversion_display>
|
||||
</idx>
|
||||
<idx id="4">
|
||||
<diversion_display>1</diversion_display>
|
||||
</idx>
|
||||
<idx id="5">
|
||||
<diversion_display>1</diversion_display>
|
||||
</idx>
|
||||
<idx id="6">
|
||||
<diversion_display>1</diversion_display>
|
||||
</idx>
|
||||
<idx id="7">
|
||||
<diversion_display>1</diversion_display>
|
||||
</idx>
|
||||
<idx id="8">
|
||||
<diversion_display>1</diversion_display>
|
||||
</idx>
|
||||
</account>
|
||||
</user_pref>
|
||||
<web>
|
||||
<http_port>80</http_port>
|
||||
<https_port>443</https_port>
|
||||
<server_enable>1</server_enable>
|
||||
<https_enable>0</https_enable>
|
||||
</web>
|
||||
<audio>
|
||||
{foreach $lines as $row}
|
||||
<idx id="{$row.line_number}">
|
||||
<jitter_mode>adaptive</jitter_mode>
|
||||
<adaptive_jitter>
|
||||
<min_delay>60</min_delay>
|
||||
<max_delay>240</max_delay>
|
||||
<target_delay>80</target_delay>
|
||||
</adaptive_jitter>
|
||||
<fixed_jitter>
|
||||
<delay>70</delay>
|
||||
</fixed_jitter>
|
||||
<rtp>
|
||||
<port_start>18000</port_start>
|
||||
<port_end>19000</port_end>
|
||||
</rtp>
|
||||
</idx>
|
||||
{if $row@index eq 8}{break}{/if}
|
||||
{/foreach}
|
||||
<rtcp_xr>
|
||||
<enable>0</enable>
|
||||
</rtcp_xr>
|
||||
</audio>
|
||||
<xml_app>
|
||||
<http_push_enable>0</http_push_enable>
|
||||
<push_during_call_enable>0</push_during_call_enable>
|
||||
</xml_app>
|
||||
<trusted_ip>
|
||||
<only_accept_allowed_ip>0</only_accept_allowed_ip>
|
||||
<idx id="1">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="2">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="3">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="4">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="5">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="6">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="7">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="8">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="9">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="10">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
</trusted_ip>
|
||||
<trusted_servers>
|
||||
<only_accept_sip_account_servers>0</only_accept_sip_account_servers>
|
||||
</trusted_servers>
|
||||
</settings>
|
||||
437
resources/templates/provision/snom/M500KLE/{$mac}.xml
Normal file
437
resources/templates/provision/snom/M500KLE/{$mac}.xml
Normal file
@@ -0,0 +1,437 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<settings>
|
||||
<call_settings>
|
||||
<account>
|
||||
{foreach $lines as $row}
|
||||
<idx id="{$row.line_number}">
|
||||
<block_anonymous_enable>0</block_anonymous_enable>
|
||||
<outgoing_anonymous_enable>0</outgoing_anonymous_enable>
|
||||
<dnd_enable>0</dnd_enable>
|
||||
<call_fwd_always_enable>0</call_fwd_always_enable>
|
||||
<call_fwd_always_target></call_fwd_always_target>
|
||||
<call_fwd_busy_enable>0</call_fwd_busy_enable>
|
||||
<call_fwd_busy_target></call_fwd_busy_target>
|
||||
<cfna_enable>0</cfna_enable>
|
||||
<cfna_target></cfna_target>
|
||||
<cfna_delay>6</cfna_delay>
|
||||
</idx>
|
||||
{if $row@index eq 48}{break}{/if}
|
||||
{/foreach}
|
||||
|
||||
</account>
|
||||
<early_media_preferred>1</early_media_preferred>
|
||||
</call_settings>
|
||||
|
||||
<cordless>
|
||||
<autoreg_enable>0</autoreg_enable>
|
||||
{foreach $lines as $row}
|
||||
<idx id="1">
|
||||
<ipei></ipei>
|
||||
<pfk>
|
||||
<idx id="1">
|
||||
<feature>keyline</feature>
|
||||
<account>1</account>
|
||||
<value>1</value>
|
||||
</idx>
|
||||
<idx id="2">
|
||||
<feature>keyline</feature>
|
||||
<account>1</account>
|
||||
<value>2</value>
|
||||
</idx>
|
||||
<idx id="3">
|
||||
<feature>keyline</feature>
|
||||
<account>1</account>
|
||||
<value>3</value>
|
||||
</idx>
|
||||
<idx id="4">
|
||||
<feature>keyline</feature>
|
||||
<account>1</account>
|
||||
<value>4</value>
|
||||
</idx>
|
||||
<up>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</up>
|
||||
<down>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</down>
|
||||
<left>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</left>
|
||||
<right>
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</right>
|
||||
<softkey>
|
||||
<idle>
|
||||
<idx id="1">
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</idx>
|
||||
<idx id="2">
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</idx>
|
||||
<idx id="3">
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</idx>
|
||||
<idx id="4">
|
||||
<feature>unassigned</feature>
|
||||
<account>1</account>
|
||||
</idx>
|
||||
</idle>
|
||||
</softkey>
|
||||
</pfk>
|
||||
<default_account>1</default_account>
|
||||
<device_name>Handset {$row@index}</device_name>
|
||||
</idx>
|
||||
{if $row@index eq 48}{break}{/if}
|
||||
{/foreach}
|
||||
<pin_code>0000</pin_code>
|
||||
<statistics_enable>0</statistics_enable>
|
||||
<statistics_timer>900</statistics_timer>
|
||||
<statistics_post_url></statistics_post_url>
|
||||
<statistics_post_timer>3600</statistics_post_timer>
|
||||
<statistics_post_authentication_name></statistics_post_authentication_name>
|
||||
<statistics_post_authentication_password></statistics_post_authentication_password>
|
||||
</cordless>
|
||||
<log>
|
||||
<syslog_enable>0</syslog_enable>
|
||||
<syslog_level>2</syslog_level>
|
||||
<syslog_server_address></syslog_server_address>
|
||||
<syslog_server_port>514</syslog_server_port>
|
||||
</log>
|
||||
|
||||
<page_zone>
|
||||
<group>
|
||||
<idx id="1">
|
||||
<name>Group 1</name>
|
||||
<members></members>
|
||||
</idx>
|
||||
<idx id="2">
|
||||
<name>Group 2</name>
|
||||
<members></members>
|
||||
</idx>
|
||||
<idx id="3">
|
||||
<name>Group 3</name>
|
||||
<members></members>
|
||||
</idx>
|
||||
<idx id="4">
|
||||
<name>Group 4</name>
|
||||
<members></members>
|
||||
</idx>
|
||||
<idx id="5">
|
||||
<name>Group 5</name>
|
||||
<members></members>
|
||||
</idx>
|
||||
<idx id="6">
|
||||
<name>Group 6</name>
|
||||
<members></members>
|
||||
</idx>
|
||||
</group>
|
||||
</page_zone>
|
||||
|
||||
<provisioning>
|
||||
<bootup_check_enable>1</bootup_check_enable>
|
||||
<crypto_enable>0</crypto_enable>
|
||||
<crypto_passphrase></crypto_passphrase>
|
||||
<dhcp_option_enable>1</dhcp_option_enable>
|
||||
<dhcp_option_priority_1>66</dhcp_option_priority_1>
|
||||
<dhcp_option_priority_2>159</dhcp_option_priority_2>
|
||||
<dhcp_option_priority_3>160</dhcp_option_priority_3>
|
||||
<firmware_url>{$snom_firmware_m500pro_base}</firmware_url>
|
||||
<handset_firmware_url>{$snom_firmware_m500pro_handset}</handset_firmware_url>
|
||||
<cordless_deskset_firmware_url>{$snom_firmware_m500pro_deskset}</cordless_deskset_firmware_url>
|
||||
<fw_server_username></fw_server_username>
|
||||
<fw_server_access_password></fw_server_access_password>
|
||||
<resync_mode>config_and_firmware</resync_mode>
|
||||
<resync_time>0</resync_time>
|
||||
<server_address>{if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if}</server_address>
|
||||
<server_username></server_username>
|
||||
<server_access_password></server_access_password>
|
||||
<check_trusted_certificate>0</check_trusted_certificate>
|
||||
<remote_check_sync_enable>1</remote_check_sync_enable>
|
||||
<pnp_enable>1</pnp_enable>
|
||||
<pnp_response_timeout>10</pnp_response_timeout>
|
||||
<schedule_mode>disable</schedule_mode>
|
||||
<weekdays></weekdays>
|
||||
<weekdays_start_hr>0</weekdays_start_hr>
|
||||
<weekdays_end_hr>0</weekdays_end_hr>
|
||||
</provisioning>
|
||||
|
||||
|
||||
<remoteDir>
|
||||
<ldap_directory_name></ldap_directory_name>
|
||||
<ldap_number_filter></ldap_number_filter>
|
||||
<ldap_firstname_filter></ldap_firstname_filter>
|
||||
<ldap_lastname_filter></ldap_lastname_filter>
|
||||
<ldap_server_address></ldap_server_address>
|
||||
<ldap_port>389</ldap_port>
|
||||
<ldap_authentication_type>simple</ldap_authentication_type>
|
||||
<ldap_base></ldap_base>
|
||||
<ldap_user_name></ldap_user_name>
|
||||
<ldap_access_password></ldap_access_password>
|
||||
<ldap_max_hits>200</ldap_max_hits>
|
||||
<ldap_work_number_attributes></ldap_work_number_attributes>
|
||||
<ldap_mobile_number_attributes></ldap_mobile_number_attributes>
|
||||
<ldap_other_number_attributes></ldap_other_number_attributes>
|
||||
<ldap_protocol_version>version_3</ldap_protocol_version>
|
||||
<ldap_search_delay>0</ldap_search_delay>
|
||||
<ldap_incall_lookup_enable>0</ldap_incall_lookup_enable>
|
||||
<ldap_outcall_lookup_enable>0</ldap_outcall_lookup_enable>
|
||||
<ldap_enable>0</ldap_enable>
|
||||
<ldap_firstname_attribute></ldap_firstname_attribute>
|
||||
<ldap_lastname_attribute></ldap_lastname_attribute>
|
||||
<ldap_check_certificate>0</ldap_check_certificate>
|
||||
<xml>
|
||||
{foreach $contacts as $row}
|
||||
<idx id="{$row@index}">
|
||||
<name></name>
|
||||
<uri></uri>
|
||||
<call_lookup_enable>0</call_lookup_enable>
|
||||
<contact_entry_tag>{$row.contact_name_given} {$row.contact_name_family}</contact_entry_tag>
|
||||
<first_name_tag>{$row.contact_name_given}</first_name_tag>
|
||||
<last_name_tag>{$row.contact_name_family}</last_name_tag>
|
||||
<work_number_tag>{if $row.category == "extensions"}{$row.phone_extension}{else}{$row.phone_number}{/if}</work_number_tag>
|
||||
<mobile_number_tag></mobile_number_tag>
|
||||
<other_number_tag></other_number_tag>
|
||||
</idx>
|
||||
{/foreach}
|
||||
</xml>
|
||||
</remoteDir>
|
||||
|
||||
|
||||
<sip_account>
|
||||
{foreach $lines as $row}
|
||||
<idx id="{$row.line_number}">
|
||||
<sip_account_enable>{if $row.enabled}1{else}0{/if}</sip_account_enable>
|
||||
<label>{$row.display_name}</label>
|
||||
<display_name>{$row.user_id}</display_name>
|
||||
<user_id>{$row.user_id}</user_id>
|
||||
<authentication_name>{$row.user_id}</authentication_name>
|
||||
<authentication_access_password>{$row.password}</authentication_access_password>
|
||||
<dial_plan>x+P</dial_plan>
|
||||
<inter_digit_timeout>3</inter_digit_timeout>
|
||||
<maximum_call_number>2</maximum_call_number>
|
||||
<feature_sync_enable>0</feature_sync_enable>
|
||||
<music_on_hold_enable>0</music_on_hold_enable>
|
||||
<mwi_enable>1</mwi_enable>
|
||||
<mwi_ignore_unsolicited>0</mwi_ignore_unsolicited>
|
||||
<mwi_uri></mwi_uri>
|
||||
<mwi_subscription_expires>3600</mwi_subscription_expires>
|
||||
<voice_encryption_enable>0</voice_encryption_enable>
|
||||
<primary_sip_server_port>{$row.sip_port}</primary_sip_server_port>
|
||||
<primary_sip_server_address>{$row.server_address}</primary_sip_server_address>
|
||||
<primary_outbound_proxy_server_port>1</primary_outbound_proxy_server_port>
|
||||
<primary_outbound_proxy_server_address></primary_outbound_proxy_server_address>
|
||||
<primary_registration_server_port>{$row.sip_port}</primary_registration_server_port>
|
||||
<primary_registration_server_address>{$row.server_address}</primary_registration_server_address>
|
||||
<primary_registration_expires>120</primary_registration_expires>
|
||||
<access_code_retrieve_voicemail></access_code_retrieve_voicemail>
|
||||
<access_code_dnd_on></access_code_dnd_on>
|
||||
<access_code_dnd_off></access_code_dnd_off>
|
||||
<access_code_cfa_on></access_code_cfa_on>
|
||||
<access_code_cfa_off></access_code_cfa_off>
|
||||
<access_code_cfna_on></access_code_cfna_on>
|
||||
<access_code_cfna_off></access_code_cfna_off>
|
||||
<access_code_cfb_on></access_code_cfb_on>
|
||||
<access_code_cfb_off></access_code_cfb_off>
|
||||
<access_code_anonymous_call_block_on></access_code_anonymous_call_block_on>
|
||||
<access_code_anonymous_call_block_off></access_code_anonymous_call_block_off>
|
||||
<access_code_outgoing_call_anonymous_on></access_code_outgoing_call_anonymous_on>
|
||||
<access_code_outgoing_call_anonymous_off></access_code_outgoing_call_anonymous_off>
|
||||
<nat_traversal_stun_enable>0</nat_traversal_stun_enable>
|
||||
<nat_traversal_stun_server_port>3478</nat_traversal_stun_server_port>
|
||||
<nat_traversal_stun_server_address></nat_traversal_stun_server_address>
|
||||
<nat_traversal_stun_keep_alive_enable>1</nat_traversal_stun_keep_alive_enable>
|
||||
<nat_traversal_stun_keep_alive_interval>30</nat_traversal_stun_keep_alive_interval>
|
||||
<network_conference_enable>0</network_conference_enable>
|
||||
<network_bridge_uri></network_bridge_uri>
|
||||
<sip_session_timer_enable>0</sip_session_timer_enable>
|
||||
<sip_session_timer_min>90</sip_session_timer_min>
|
||||
<sip_session_timer_max>300</sip_session_timer_max>
|
||||
<dtmf_transport_method>auto</dtmf_transport_method>
|
||||
<codec_priority>
|
||||
<idx id="1">g711u</idx>
|
||||
<idx id="2">none</idx>
|
||||
<idx id="3">none</idx>
|
||||
<idx id="4">none</idx>
|
||||
<idx id="5">none</idx>
|
||||
<idx id="6">none</idx>
|
||||
<idx id="7">none</idx>
|
||||
</codec_priority>
|
||||
<unregister_after_reboot_enable>0</unregister_after_reboot_enable>
|
||||
<transport_mode>{$row.sip_transport}</transport_mode>
|
||||
<backup_outbound_proxy_server_port>1</backup_outbound_proxy_server_port>
|
||||
<backup_outbound_proxy_server_address></backup_outbound_proxy_server_address>
|
||||
<registration_retry_time>10</registration_retry_time>
|
||||
<local_sip_port>{$row.sip_port}</local_sip_port>
|
||||
<dscp>46</dscp>
|
||||
<sip_dscp>26</sip_dscp>
|
||||
<check_trusted_certificate>1</check_trusted_certificate>
|
||||
<g729_annexb_enable>0</g729_annexb_enable>
|
||||
<preferred_ptime>20</preferred_ptime>
|
||||
<cid_src_priority>
|
||||
<idx id="1">pai</idx>
|
||||
<idx id="2">rpid</idx>
|
||||
<idx id="3">from</idx>
|
||||
</cid_src_priority>
|
||||
<keep_alive_enable>0</keep_alive_enable>
|
||||
<keep_alive_interval>15</keep_alive_interval>
|
||||
<keep_alive_ignore_failure>1</keep_alive_ignore_failure>
|
||||
<dtmf_payload_type>101</dtmf_payload_type>
|
||||
<ilbc_payload_type>98</ilbc_payload_type>
|
||||
<call_restrict_dial_plan></call_restrict_dial_plan>
|
||||
<call_rejection_response_code>486</call_rejection_response_code>
|
||||
<use_register_route_header>1</use_register_route_header>
|
||||
<reliable_provisional_response_option>0</reliable_provisional_response_option>
|
||||
<type>standard</type>
|
||||
</idx>
|
||||
{if $row@index eq 48}{break}{/if}
|
||||
{/foreach}
|
||||
<service_unavailable_handling_option>1</service_unavailable_handling_option>
|
||||
<dns_query_option>1</dns_query_option>
|
||||
<shared_local_sip_port_enable>0</shared_local_sip_port_enable>
|
||||
<shared_local_sip_port>5060</shared_local_sip_port>
|
||||
<sips_uri_enable>1</sips_uri_enable>
|
||||
<dirty_host_ttl>0</dirty_host_ttl>
|
||||
<mac_info_in_every_sip_message>0</mac_info_in_every_sip_message>
|
||||
<pnp_local_sip_port>5170</pnp_local_sip_port>
|
||||
</sip_account>
|
||||
|
||||
<time_date>
|
||||
<date_format>DD/MM/YY</date_format>
|
||||
<hr24_clock>0</hr24_clock>
|
||||
<ntp_dhcp_option>0</ntp_dhcp_option>
|
||||
<ntp_server>1</ntp_server>
|
||||
<ntp_server_addr>{if isset($snom_ntp_server)}{$snom_ntp_server}{else}0.pool.ntp.org{/if}</ntp_server_addr>
|
||||
<ntp_server_update_interval>1000</ntp_server_update_interval>
|
||||
<timezone_dhcp_option>0</timezone_dhcp_option>
|
||||
<selected_timezone>{if isset($snom_time_zone)}{$snom_time_zone}{else}America/New_York{/if}</selected_timezone>
|
||||
<daylight_saving_auto_adjust>1</daylight_saving_auto_adjust>
|
||||
<daylight_saving_user_defined>0</daylight_saving_user_defined>
|
||||
<daylight_saving_start_month>March</daylight_saving_start_month>
|
||||
<daylight_saving_start_week>2</daylight_saving_start_week>
|
||||
<daylight_saving_start_day>Sunday</daylight_saving_start_day>
|
||||
<daylight_saving_start_hour>2</daylight_saving_start_hour>
|
||||
<daylight_saving_end_month>November</daylight_saving_end_month>
|
||||
<daylight_saving_end_week>1</daylight_saving_end_week>
|
||||
<daylight_saving_end_day>Sunday</daylight_saving_end_day>
|
||||
<daylight_saving_end_hour>2</daylight_saving_end_hour>
|
||||
<daylight_saving_amount>60</daylight_saving_amount>
|
||||
</time_date>
|
||||
|
||||
<web>
|
||||
<http_port>80</http_port>
|
||||
<https_port>443</https_port>
|
||||
<server_enable>1</server_enable>
|
||||
<https_enable>0</https_enable>
|
||||
</web>
|
||||
<audio>
|
||||
{foreach $lines as $row}
|
||||
<idx id="{$row.line_number}">
|
||||
<jitter_mode>adaptive</jitter_mode>
|
||||
<adaptive_jitter>
|
||||
<min_delay>60</min_delay>
|
||||
<max_delay>240</max_delay>
|
||||
<target_delay>80</target_delay>
|
||||
</adaptive_jitter>
|
||||
<fixed_jitter>
|
||||
<delay>70</delay>
|
||||
</fixed_jitter>
|
||||
<rtp>
|
||||
<port_start>18000</port_start>
|
||||
<port_end>19000</port_end>
|
||||
</rtp>
|
||||
</idx>
|
||||
{if $row@index eq 9}{break}{/if}
|
||||
{/foreach}
|
||||
<rtcp_xr>
|
||||
<enable>0</enable>
|
||||
</rtcp_xr>
|
||||
</audio>
|
||||
<xml_app>
|
||||
<http_push_enable>0</http_push_enable>
|
||||
<push_during_call_enable>0</push_during_call_enable>
|
||||
</xml_app>
|
||||
<trusted_ip>
|
||||
<only_accept_allowed_ip>0</only_accept_allowed_ip>
|
||||
<idx id="1">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="2">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="3">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="4">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="5">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="6">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="7">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="8">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="9">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
<idx id="10">
|
||||
<allow_ip></allow_ip>
|
||||
</idx>
|
||||
</trusted_ip>
|
||||
<trusted_servers>
|
||||
<only_accept_sip_account_servers>0</only_accept_sip_account_servers>
|
||||
</trusted_servers>
|
||||
<ppversion>
|
||||
<version_vec></version_vec>
|
||||
</ppversion>
|
||||
<multicell>
|
||||
<role>single</role>
|
||||
<site_id></site_id>
|
||||
<device>
|
||||
<idx id="1">
|
||||
<mac></mac>
|
||||
<ip></ip>
|
||||
<rfpi></rfpi>
|
||||
</idx>
|
||||
<idx id="2">
|
||||
<mac></mac>
|
||||
<ip></ip>
|
||||
<rfpi></rfpi>
|
||||
</idx>
|
||||
<idx id="3">
|
||||
<mac></mac>
|
||||
<ip></ip>
|
||||
<rfpi></rfpi>
|
||||
</idx>
|
||||
<idx id="4">
|
||||
<mac></mac>
|
||||
<ip></ip>
|
||||
<rfpi></rfpi>
|
||||
</idx>
|
||||
<idx id="5">
|
||||
<mac></mac>
|
||||
<ip></ip>
|
||||
<rfpi></rfpi>
|
||||
</idx>
|
||||
<idx id="6">
|
||||
<mac></mac>
|
||||
<ip></ip>
|
||||
<rfpi></rfpi>
|
||||
</idx>
|
||||
</device>
|
||||
<multicast_address>239.225.225.225</multicast_address>
|
||||
<maximum_pp_per_base>8</maximum_pp_per_base>
|
||||
</multicell>
|
||||
</settings>
|
||||
Reference in New Issue
Block a user