diff --git a/app/snom/app_config.php b/app/snom/app_config.php index 0d7bd1c3d8..8c8b546ec7 100644 --- a/app/snom/app_config.php +++ b/app/snom/app_config.php @@ -182,6 +182,14 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Filename of the D120 firmware"; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ad583d79-3965-4c59-9e6d-6dea8ce28bbd"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "snom_firmware_c520"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "text"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "c520/C520-WiMi-1.2.0.6-0.img"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Filename of the C520 firmware"; + $y++; $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "0435781d-19e7-4a37-bcd2-c2e568867863"; $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "snom_firmware_pa1"; diff --git a/resources/templates/provision/snom/C520/{$mac}.xml b/resources/templates/provision/snom/C520/{$mac}.xml new file mode 100644 index 0000000000..948a38f151 --- /dev/null +++ b/resources/templates/provision/snom/C520/{$mac}.xml @@ -0,0 +1,237 @@ + + + + + {foreach $lines as $row} + + 0 + 0 + 0 + 0 + + 0 + + 0 + + 6 + + {if $row@index eq 48}{break}{/if} + {/foreach} + + 1 + + + + 0 + 2 + + 514 + + + + + + Group 1 + + + + Group 2 + + + + Group 3 + + + + Group 4 + + + + Group 5 + + + + Group 6 + + + + + + + 1 + 0 + + 1 + 66 + 159 + 160 + {$snom_firmware_url}{$snom_firmware_c520} + + + config_and_firmware + 0 + {if isset($snom_provision_url)}{$snom_provision_url}{else}https://{$domain_name}{$project_path}/app/provision/{/if} + {$http_auth_username} + {$http_auth_password} + 0 + 1 + 1 + 10 + disable + + 0 + 0 + + + + + + + + + 389 + simple + + + + 200 + + + + version_3 + 0 + 0 + 0 + 0 + + + 0 + + + + {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} + {$row.register_expires} + + + + + + + + + + + + + + 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 + + \ No newline at end of file