diff --git a/app/snom/app_config.php b/app/snom/app_config.php index 2559877a2e..4239dbe347 100644 --- a/app/snom/app_config.php +++ b/app/snom/app_config.php @@ -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"; ?> \ No newline at end of file diff --git a/resources/templates/provision/snom/D120/{$mac}.xml b/resources/templates/provision/snom/D120/{$mac}.xml index f0413742bd..2a4e86c95e 100644 --- a/resources/templates/provision/snom/D120/{$mac}.xml +++ b/resources/templates/provision/snom/D120/{$mac}.xml @@ -30,6 +30,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D315/{$mac}.xml b/resources/templates/provision/snom/D315/{$mac}.xml index 87586a0ab9..e4d59ff00b 100644 --- a/resources/templates/provision/snom/D315/{$mac}.xml +++ b/resources/templates/provision/snom/D315/{$mac}.xml @@ -30,6 +30,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D345/{$mac}.xml b/resources/templates/provision/snom/D345/{$mac}.xml index 93cd89523d..5a0fda9689 100644 --- a/resources/templates/provision/snom/D345/{$mac}.xml +++ b/resources/templates/provision/snom/D345/{$mac}.xml @@ -30,6 +30,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D375/{$mac}.xml b/resources/templates/provision/snom/D375/{$mac}.xml index de00e1f30a..17e2eb4f6f 100644 --- a/resources/templates/provision/snom/D375/{$mac}.xml +++ b/resources/templates/provision/snom/D375/{$mac}.xml @@ -34,6 +34,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D385/{$mac}.xml b/resources/templates/provision/snom/D385/{$mac}.xml index cbb0a4c538..19860f6ba5 100644 --- a/resources/templates/provision/snom/D385/{$mac}.xml +++ b/resources/templates/provision/snom/D385/{$mac}.xml @@ -34,6 +34,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D712/{$mac}.xml b/resources/templates/provision/snom/D712/{$mac}.xml index 1d76e588ef..9d4b9b57c4 100644 --- a/resources/templates/provision/snom/D712/{$mac}.xml +++ b/resources/templates/provision/snom/D712/{$mac}.xml @@ -30,6 +30,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D715/{$mac}.xml b/resources/templates/provision/snom/D715/{$mac}.xml index 26bd7ebb5e..14f561b2ec 100644 --- a/resources/templates/provision/snom/D715/{$mac}.xml +++ b/resources/templates/provision/snom/D715/{$mac}.xml @@ -30,6 +30,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D717/{$mac}.xml b/resources/templates/provision/snom/D717/{$mac}.xml index d59b9243f4..fa23345bf5 100644 --- a/resources/templates/provision/snom/D717/{$mac}.xml +++ b/resources/templates/provision/snom/D717/{$mac}.xml @@ -34,6 +34,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D725/{$mac}.xml b/resources/templates/provision/snom/D725/{$mac}.xml index b96114cf92..32a18835ae 100644 --- a/resources/templates/provision/snom/D725/{$mac}.xml +++ b/resources/templates/provision/snom/D725/{$mac}.xml @@ -30,6 +30,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D735/{$mac}.xml b/resources/templates/provision/snom/D735/{$mac}.xml index dad0006997..6e7d9dc4d3 100644 --- a/resources/templates/provision/snom/D735/{$mac}.xml +++ b/resources/templates/provision/snom/D735/{$mac}.xml @@ -34,6 +34,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D745/{$mac}.xml b/resources/templates/provision/snom/D745/{$mac}.xml index 9646a850db..aa8215b9b3 100644 --- a/resources/templates/provision/snom/D745/{$mac}.xml +++ b/resources/templates/provision/snom/D745/{$mac}.xml @@ -30,6 +30,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D765/{$mac}.xml b/resources/templates/provision/snom/D765/{$mac}.xml index 80aae1ca9b..c4ca860271 100644 --- a/resources/templates/provision/snom/D765/{$mac}.xml +++ b/resources/templates/provision/snom/D765/{$mac}.xml @@ -34,6 +34,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/D785/{$mac}.xml b/resources/templates/provision/snom/D785/{$mac}.xml index 813e1f0d3e..127c83c571 100644 --- a/resources/templates/provision/snom/D785/{$mac}.xml +++ b/resources/templates/provision/snom/D785/{$mac}.xml @@ -34,6 +34,7 @@ stutter on off + off blind F_HOLD F_TRANSFER F_CONFERENCE diff --git a/resources/templates/provision/snom/M100KLE/{$mac}.xml b/resources/templates/provision/snom/M100KLE/{$mac}.xml new file mode 100644 index 0000000000..96d6c94108 --- /dev/null +++ b/resources/templates/provision/snom/M100KLE/{$mac}.xml @@ -0,0 +1,500 @@ + + + + + {foreach $lines as $row} + + 0 + 0 + 0 + 0 + + 0 + + 0 + + 6 + + {if $row@index eq 8}{break}{/if} + {/foreach} + + 1 + + + + + + 0 + {foreach $lines as $row} + + + + + keyline + 1 + 1 + + + keyline + 1 + 2 + + + keyline + 1 + 3 + + + keyline + 1 + 4 + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + 1,2,3,4,5,6,7,8 + 1 + HANDSET + + {if $row@index eq 6}{break}{/if} + {/foreach} + 0000 + + {foreach $lines as $row} + 1 + {if $row@index eq 6}{break}{/if} + {/foreach} + + 1 + 900 + + + 0 + 2 + + 514 + + + + + {$admin_password} + + + {$admin_password} + + + + 1 + 0 + + 1 + 66 + 159 + 160 + {$snom_firmware_m100_base} + {$snom_firmware_m100_handset} + {$snom_firmware_m100_deskset} + + + config_and_firmware + 0 + {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + + + 0 + 1 + 1 + 10 + disable + + 0 + 0 + + + + + + + + 389 + simple + + + + 200 + + + + version_3 + 0 + 0 + 0 + 0 + + + 0 + + + + + 0 + DIR_ENTRY + DIR_ENTRY_NAME_FIRST + DIR_ENTRY_NAME_LAST + DIR_ENTRY_NUMBER_WORK + DIR_ENTRY_NUMBER_MOBILE + DIR_ENTRY_NUMBER_OTHER + + + + + 0 + DIR_ENTRY + DIR_ENTRY_NAME_FIRST + DIR_ENTRY_NAME_LAST + DIR_ENTRY_NUMBER_WORK + DIR_ENTRY_NUMBER_MOBILE + DIR_ENTRY_NUMBER_OTHER + + + + + 0 + DIR_ENTRY + DIR_ENTRY_NAME_FIRST + DIR_ENTRY_NAME_LAST + DIR_ENTRY_NUMBER_WORK + DIR_ENTRY_NUMBER_MOBILE + DIR_ENTRY_NUMBER_OTHER + + + + + + {foreach $lines as $row} + + {if $row.enabled}1{else}0{/if} + + {$row.user_id} + {$row.user_id} + {$row.user_id} + {$row.password} + [2-9]xx[2-9]xxxxxx| + 3 + 4 + 0 + 1 + 1 + 0 + {$row.user_id} + 3600 + 0 + {$row.sip_port} + {$row.server_address} + {$row.sip_port} + + {$row.sip_port} + {$row.server_address} + 120 + + + + + + + + + + + + + + 0 + 3478 + + 1 + 30 + 0 + + 0 + 90 + 1800 + auto + + g711u + g711a + g729 + g726 + g722 + none + ilbc + + 0 + {$row.sip_transport} + {$row.sip_port} + + 10 + {$row.sip_port} + 46 + 26 + 0 + 0 + 20 + + pai + rpid + from + + 1 + 15 + 0 + 101 + 98 + + 486 + 1 + 0 + + {if $row@index eq 8}{break}{/if} + {/foreach} + 1 + 1 + 0 + {$row.sip_port} + 1 + 0 + 0 + 5170 + + + + DD/MM/YY + 0 + 0 + 1 + {if isset($snom_ntp_server)}{$snom_ntp_server}{else}0.pool.ntp.org{/if} + 1000 + 0 + {if isset($snom_time_zone)}{$snom_time_zone}{else}America/New_York{/if} + 1 + 0 + March + 2 + Sunday + 2 + November + 1 + Sunday + 2 + 60 + + + + 1 + 0 + + 2 440 -22 350 -22 0 0 0 0 65535 0 65535 + + + + + + + + 2 + 0 + + 2 440 -22 350 -22 0 0 0 0 100 100 10 + 2 440 -22 350 -22 0 0 0 0 65535 0 65535 + + + + + + + 1 + 0 + + 2 480 -22 620 -22 0 0 0 0 375 375 65535 + + + + + + + + 1 + 0 + + 2 440 -22 350 -22 0 0 0 0 65535 0 65535 + + + + + + + + 3 + 65535 + + 1 950 -22 0 0 0 0 0 0 330 0 1 + 1 1400 -22 0 0 0 0 0 0 330 0 1 + 1 1800 -22 0 0 0 0 0 0 330 1000 1 + + + + + + 2 + 65535 + + 2 440 -22 480 -22 0 0 0 0 400 200 1 + 2 440 -22 480 -22 0 0 0 0 400 2000 1 + + + + + + + + 0 + + + + + + + 0 + 3600 + + + + + + + + en + 0 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + + + 80 + 443 + 1 + 0 + + + + 0 + 0 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + \ No newline at end of file diff --git a/resources/templates/provision/snom/M500KLE/{$mac}.xml b/resources/templates/provision/snom/M500KLE/{$mac}.xml new file mode 100644 index 0000000000..a83b9cfbb1 --- /dev/null +++ b/resources/templates/provision/snom/M500KLE/{$mac}.xml @@ -0,0 +1,437 @@ + + + + + {foreach $lines as $row} + + 0 + 0 + 0 + 0 + + 0 + + 0 + + 6 + + {if $row@index eq 48}{break}{/if} + {/foreach} + + + 1 + + + + 0 + {foreach $lines as $row} + + + + + keyline + 1 + 1 + + + keyline + 1 + 2 + + + keyline + 1 + 3 + + + keyline + 1 + 4 + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + unassigned + 1 + + + + + 1 + Handset {$row@index} + + {if $row@index eq 48}{break}{/if} + {/foreach} + 0000 + 0 + 900 + + 3600 + + + + + 0 + 2 + + 514 + + + + + + Group 1 + + + + Group 2 + + + + Group 3 + + + + Group 4 + + + + Group 5 + + + + Group 6 + + + + + + + 1 + 0 + + 1 + 66 + 159 + 160 + {$snom_firmware_m500pro_base} + {$snom_firmware_m500pro_handset} + {$snom_firmware_m500pro_deskset} + + + config_and_firmware + 0 + {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/index.php?mac={$mac}{/if} + + + 0 + 1 + 1 + 10 + disable + + 0 + 0 + + + + + + + + + + 389 + simple + + + + 200 + + + + version_3 + 0 + 0 + 0 + 0 + + + 0 + + {foreach $contacts as $row} + + + + 0 + {$row.contact_name_given} {$row.contact_name_family} + {$row.contact_name_given} + {$row.contact_name_family} + {if $row.category == "extensions"}{$row.phone_extension}{else}{$row.phone_number}{/if} + + + + {/foreach} + + + + + + {foreach $lines as $row} + + {if $row.enabled}1{else}0{/if} + + {$row.user_id} + {$row.user_id} + {$row.user_id} + {$row.password} + x+P + 3 + 2 + 0 + 0 + 1 + 0 + + 3600 + 0 + {$row.sip_port} + {$row.server_address} + 1 + + {$row.sip_port} + {$row.server_address} + 120 + + + + + + + + + + + + + + 0 + 3478 + + 1 + 30 + 0 + + 0 + 90 + 300 + auto + + g711u + none + none + none + none + none + none + + 0 + {$row.sip_transport} + 1 + + 10 + {$row.sip_port} + 46 + 26 + 1 + 0 + 20 + + pai + rpid + from + + 0 + 15 + 1 + 101 + 98 + + 486 + 1 + 0 + standard + + {if $row@index eq 48}{break}{/if} + {/foreach} + 1 + 1 + 0 + 5060 + 1 + 0 + 0 + 5170 + + + + DD/MM/YY + 0 + 0 + 1 + {if isset($snom_ntp_server)}{$snom_ntp_server}{else}0.pool.ntp.org{/if} + 1000 + 0 + {if isset($snom_time_zone)}{$snom_time_zone}{else}America/New_York{/if} + 1 + 0 + March + 2 + Sunday + 2 + November + 1 + Sunday + 2 + 60 + + + + 80 + 443 + 1 + 0 + + + + 0 + 0 + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + single + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 239.225.225.225 + 8 + + \ No newline at end of file