From 1fa04dd8a5bb6d4ba0cd428c8e7517ddd80998da Mon Sep 17 00:00:00 2001 From: markjcrane Date: Tue, 7 Jun 2022 19:58:36 -0600 Subject: [PATCH] Add additional Fanvil templates --- .../provision/fanvil/h2u-v2/{$mac}.cfg | 1635 +++++++++++++++++ .../templates/provision/fanvil/x1s/{$mac}.cfg | 1273 +++++++++++++ .../provision/fanvil/x1sg/{$mac}.cfg | 1273 +++++++++++++ .../provision/fanvil/x3sw/{$mac}.cfg | 1635 +++++++++++++++++ .../provision/fanvil/x3u-pro/{$mac}.cfg | 1635 +++++++++++++++++ 5 files changed, 7451 insertions(+) create mode 100644 resources/templates/provision/fanvil/h2u-v2/{$mac}.cfg create mode 100644 resources/templates/provision/fanvil/x1s/{$mac}.cfg create mode 100644 resources/templates/provision/fanvil/x1sg/{$mac}.cfg create mode 100644 resources/templates/provision/fanvil/x3sw/{$mac}.cfg create mode 100644 resources/templates/provision/fanvil/x3u-pro/{$mac}.cfg diff --git a/resources/templates/provision/fanvil/h2u-v2/{$mac}.cfg b/resources/templates/provision/fanvil/h2u-v2/{$mac}.cfg new file mode 100644 index 0000000000..c1b773fdb8 --- /dev/null +++ b/resources/templates/provision/fanvil/h2u-v2/{$mac}.cfg @@ -0,0 +1,1635 @@ + + + + 2.0000000000 + + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + {if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if} + {if isset($dns_server_secondary)}{$dns_server_secondary}{else}208.67.222.222{/if} + 1 + 1 + 1 + 1 + 0 + Fanvil X3SG + 0 + user123 + password + 2 + 1500 + + + + + + + 1 + 1 + 0 + 0 + Fanvil X3SG + + + + + + + + + + + + + + + + + + + + {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} + + + + + + + + + + + + + + + + + + + + PCMU,PCMA,G726-16,G726-24,G726-32,G726-40,G729,iLBC,opus,G722 + + + + {$sip_port} + {$fanvil_stun_server} + {$fanvil_stun_port} + 50 + 800 + + 32 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 1 + + {$account.1.user_id} + {$account.1.display_name} + + {$account.1.server_address} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + {$account.1.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.1.password)}1{else}0{/if} + {$account.1.outbound_proxy_primary} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + 0 + {$account.1.outbound_proxy_secondary} + {$account.1.sip_port} + 0 + {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line1)}{$fanvil_ringtone_line1}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.1.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.1.sip_transport == 'dns srv'}1{/if} + {if $account.1.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.1.sip_transport == 'udp'}0{/if} + {if $account.1.sip_transport == 'tcp'}1{/if} + {if $account.1.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.2.user_id} + {$account.2.display_name} + + {$account.2.server_address} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + {$account.2.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.2.password)}1{else}0{/if} + {$account.2.outbound_proxy_primary} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + 0 + {$account.2.outbound_proxy_secondary} + {$account.2.sip_port} + 0 + {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line2)}{$fanvil_ringtone_line2}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.2.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.2.sip_transport == 'dns srv'}1{/if} + {if $account.2.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.2.sip_transport == 'udp'}0{/if} + {if $account.2.sip_transport == 'tcp'}1{/if} + {if $account.2.sip_transport == 'tls'}3{/if} + 0 + + 0 + 0 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.3.user_id} + {$account.3.display_name} + + {$account.3.server_address} + {$account.3.sip_port} + {$account.3.auth_id} + {$account.3.password} + {$account.3.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.3.password)}1{else}0{/if} + {$account.3.outbound_proxy_primary} + {$account.3.sip_port} + {$account.3.auth_id} + {$account.3.password} + 0 + {$account.3.outbound_proxy_secondary} + {$account.3.sip_port} + 0 + {if isset($account.3.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line3)}{$fanvil_ringtone_line3}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.3.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.3.sip_transport == 'dns srv'}1{/if} + {if $account.3.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.3.sip_transport == 'udp'}0{/if} + {if $account.3.sip_transport == 'tcp'}1{/if} + {if $account.3.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.4.user_id} + {$account.4.display_name} + + {$account.4.server_address} + {$account.4.sip_port} + {$account.4.auth_id} + {$account.4.password} + {$account.4.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.4.password)}1{else}0{/if} + {$account.4.outbound_proxy_primary} + {$account.4.sip_port} + {$account.4.auth_id} + {$account.4.password} + 0 + {$account.4.outbound_proxy_secondary} + {$account.4.sip_port} + 0 + {if isset($account.4.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line4)}{$fanvil_ringtone_line4}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.4.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.4.sip_transport == 'dns srv'}1{/if} + {if $account.4.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.4.sip_transport == 'udp'}0{/if} + {if $account.4.sip_transport == 'tcp'}1{/if} + {if $account.4.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + 0 + 30 + 1 + 0 + 0 + 0 + 1 + + + + + 1 + 1 + 0 + . + 1 + 0 + 0 + 1500 + 1730 + 1 + 1 + 1 + 0 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 3 + 1 + 0 + 1 + 0 + 0 + 0 + 30 + 5 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + + 1 + 1 + 0 + 0 + 0 + {$fanvil_default_answer_mode} + {$fanvil_default_dial_mode} + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 480 + 486 + 603 + 0 + 0 + + + 0 + + + + + 0 + + 0 + 120 + 120 + 0 + + + 1 + 0 + 0 + 0 + 0 + 0 + 11 + 1 + 10 + 0 + + + + -1 + {if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if} + + + + -1 + {if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 1{/if} + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + {if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if} + 123 + + 0 + 0 + 0 + 110 + + 0 + 0 + 0 + 5 + 0 + 1 + 1 + $name + 0 + 0 + 1 + 1 + 30 + + 0 + 0 + 0 + + + {$fanvil_greeting} + 5 + {if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if} + {if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if} + {if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if} + 0 + + dvf97 + en + 0 + + + 0 + 3 + 0 + 2 + 0 + 0 + 3 + + + 0 + 1 + + + 0 + 1 + terminated + 1 + 2 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + + 0 + 0 + failed + 0 + 3 + parked + + + + + + + + + + + {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if} + + + {if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if} + {$ntp_server_primary} + {$ntp_server_secondary} + {$fanvil_time_zone} + {$fanvil_time_zone_name} + {$fanvil_enable_dst} + {if isset($fanvil_dst_fixed_type)}{$fanvil_dst_fixed_type}{else}0{/if} + 60 + 1 + {if isset($fanvil_location)}{$fanvil_location}{else}4{/if} + 0 + {if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if} + 3 + 5 + 0 + 2 + 10 + 5 + 0 + 2 + + + 0 + {if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if} + {if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if} + {if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if} + + + 0 + {if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if} + {if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if} + {if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if} + {if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if} + end;none;none;none; + end;none;none;xfer; + hold;none;split;end; + xfer;accept;reject;end; + repeat;none;none;end; + send;2aB;delete;exit; + send;2aB;delete;exit; + delete;xfer;send;exit; + send;2aB;delete;exit; + {if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if} + pline;nline;none;none;none; + none;none;none;none;none; + none;none;none;none;none; + status;none;none;none;reset; + contact;clogs;redial;video;cancel; + + + + + + 0 + 0 + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + 120 + 0 + 2 + 6 + + + 1 + 1 + 60 + 40 + 25 + 150 + 200 + 1 + 1 + + + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0000000000000000 + + + 0 + 0 + 0 + 0 + 1 + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + 60 + + + + 0 + 3 + 1 + 1 + 0 + 0 + 0 + 16 + 360 + 1080 + 1 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + + + + {foreach $keys["line"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/foreach} + + {foreach $keys["programmable"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + + {/foreach} + + + 0 + 80 + 443 + 1 + 0 + 0 + 0 + 23 + + 15 + + {if isset($admin_name)}{$admin_name}{else}admin{/if} + {if isset($admin_password)}{$admin_password}{else}admin{/if} + 10 + + + guest + guest + 5 + + + + ERROR + + {if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if} + platform.log + 512KB + platform + {if isset($fanvil_syslog_server)}{$fanvil_syslog_server}{else}0.0.0.0{/if} + {if isset($fanvil_syslog_server_port)}{$fanvil_syslog_server_port}{else}514{/if} + + + 1 + + 1 + 0 + 0.0.0.0 + admin + + 0.0.0.0 + + + dps + dps + 3600 + 2 + 020 + 0 + {$fanvil_stun_server} + {$fanvil_stun_port} + 30000 + + + 0 + 1 + 0 + 224.0.2.0 + 16360 + SIP Hotspot + 0 + 0 + 0 + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + + -1 + 0 + 0 + 0 + 0.0.0.0 + + + 1 + 0.0.0.0 + + + + + 0 + 0 + + + {$http_auth_username} + {$http_auth_password} + + + + 1 + 0 + 5 + {if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if} + {$fanvil_firmware_config} + 5 + 1 + 1 + 720 + 0 + + 1 + 224.0.1.75 + 5060 + 0 + 1 + + + 66 + 0 + 0 + 0 + + + + {if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if} + {if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if} + {if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if} + {if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if} + + + {if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if} + {if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if} + {if isset($fanvil_pc_port_vlan)}2{else}0{/if} + {if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if} + {if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if} + {if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if} + {if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if} + 0 + {if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if} + {if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if} + {if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if} + {if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}34{/if} + {if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}0{/if} + {if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if} + {if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if} + 0 + 0 + 60 + 132 + + + + + + + 0 + 0 + 0 + 0 + + + + 1 + 0 + 0 + + + 1 + G729 + 0 + 8 + 0.0.0.0 + 10000 + + + + 0 + 0 + + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1,1,1,1 + 2 + + diff --git a/resources/templates/provision/fanvil/x1s/{$mac}.cfg b/resources/templates/provision/fanvil/x1s/{$mac}.cfg new file mode 100644 index 0000000000..950abc797a --- /dev/null +++ b/resources/templates/provision/fanvil/x1s/{$mac}.cfg @@ -0,0 +1,1273 @@ + + + 2.0000000000 + + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + {if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if} + {if isset($dns_server_secondary)}{$dns_server_secondary}{else}208.67.222.222{/if} + 1 + 1 + 1 + 1 + 0 + Fanvil X1S/X1SP + 0 + user123 + password + 2 + 1500 + + + + + + + 1 + 1 + 0 + 0 + Fanvil X1S/X1SP + + + + + + + + + + + + + + + + + + + + {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} + + + + + + + + + + + + + + + + + + + + PCMU,PCMA,G726-16,G726-24,G726-32,G726-40,G729,iLBC,opus,G722 + + + + {$sip_port} + {$fanvil_stun_server} + {$fanvil_stun_port} + 50 + 800 + + 32 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 1 + + {$account.1.user_id} + {$account.1.display_name} + + {$account.1.server_address} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + {$account.1.register_expires} + + 5060 + 0 + 3600 + {if isset($account.1.password)}1{else}0{/if} + {$account.1.outbound_proxy_primary} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + {$account.1.outbound_proxy_secondary} + {$account.1.sip_port} + {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line1)}{$fanvil_ringtone_line1}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.1.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.1.sip_transport == 'dns srv'}1{/if} + {if $account.1.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.1.sip_transport == 'udp'}0{/if} + {if $account.1.sip_transport == 'tcp'}1{/if} + {if $account.1.sip_transport == 'tls'}2{/if} + 0 + + 0 + 1 + 1 + 0 + + {$voicemail_number} + + + + + + 0 + 0 + 5 + 1 + + 1 + *78 + *79 + *72 + *73 + *72 + *73 + *72 + *73 + + + *67 + *67 + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + + + {$account.2.user_id} + {$account.2.display_name} + + {$account.2.server_address} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + {$account.2.register_expires} + + 5060 + 0 + 3600 + {if isset($account.2.password)}1{else}0{/if} + {$account.2.outbound_proxy_primary} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + {$account.2.outbound_proxy_secondary} + {$account.2.sip_port} + {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line2)}{$fanvil_ringtone_line2}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.2.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.2.sip_transport == 'dns srv'}1{/if} + {if $account.2.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.2.sip_transport == 'udp'}0{/if} + {if $account.2.sip_transport == 'tcp'}1{/if} + {if $account.2.sip_transport == 'tls'}2{/if} + 0 + + 0 + 1 + 1 + 0 + + {$voicemail_number} + + + + + + 0 + 0 + 5 + 1 + + 1 + *78 + *79 + *72 + *73 + *72 + *73 + *72 + *73 + + + *67 + *67 + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + + + 0 + 30 + 1 + 0 + 0 + 0 + + + + + 1 + 1 + 0 + . + 1 + 0 + 0 + 1500 + 1730 + 1 + 1 + 1 + 0 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 3 + 1 + 0 + 1 + 0 + 0 + 0 + 30 + 5 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + + 1 + 1 + 0 + 0 + 0 + {$fanvil_default_answer_mode} + {$fanvil_default_dial_mode} + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 480 + 486 + 603 + 0 + 0 + + + 0 + + + + + 0 + + 0 + 120 + + + 1 + 0 + 0 + 0 + 0 + 0 + 11 + 1 + 10 + 0 + + + + -1 + {if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if} + + + + -1 + {if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 1{/if} + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + {if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if} + 123 + + 0 + 0 + 0 + 110 + + 0 + 0 + 0 + 5 + 0 + 1 + 1 + $name@$protocol$instance + 0 + 0 + 1 + 1 + 30 + + 0 + + {$fanvil_greeting} + 5 + {if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if} + {if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if} + {if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if} + 0 + + dvf97 + en + 0 + + + 0 + 3 + 0 + 2 + 0 + 0 + 3 + + + 0 + 1 + + + 0 + 1 + terminated + 1 + 2 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + + 0 + 0 + failed + 0 + 3 + parked + + + + + + + + + + + {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if} + + + {if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if} + {$ntp_server_primary} + {$ntp_server_secondary} + {$fanvil_time_zone} + {$fanvil_time_zone_name} + {$fanvil_enable_dst} + {if isset($fanvil_dst_fixed_type)}{$fanvil_dst_fixed_type}{else}0{/if} + 60 + 1 + {if isset($fanvil_location)}{$fanvil_location}{else}4{/if} + 0 + {if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if} + 3 + 5 + 0 + 2 + 10 + 5 + 0 + 2 + + + 0 + {if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if} + {if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if} + {if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if} + + + 0 + {if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if} + {if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if} + {if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if} + {if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if} + end;none;none;none; + end;none;none;xfer; + hold;none;split;end; + xfer;accept;reject;end; + repeat;none;none;end; + send;2aB;delete;exit; + send;2aB;delete;exit; + delete;xfer;send;exit; + send;2aB;delete;exit; + {if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if} + pline;nline;none;none;none; + none;none;none;none;none; + none;none;none;none;none; + status;none;none;none;reset; + contact;clogs;redial;video;cancel; + + + + + + 0 + 0 + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + 120 + 0 + 2 + 6 + + + 1 + 1 + 60 + 40 + 25 + 150 + 200 + 1 + 1 + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0000000000000000 + + + 0 + 0 + 0 + 0 + 1 + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + 60 + + + + 0 + 3 + 1 + 1 + 0 + 0 + 0 + 16 + 360 + 1080 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + + + + {foreach $keys["line"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/foreach} + + {foreach $keys["programmable"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + + {/foreach} + + + 0 + 80 + 443 + 1 + 0 + 0 + 0 + 23 + + 15 + + {if isset($admin_name)}{$admin_name}{else}admin{/if} + {if isset($admin_password)}{$admin_password}{else}admin{/if} + 10 + + + guest + guest + 5 + + + + ERROR + + {if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if} + platform.log + 512KB + platform + {if isset($fanvil_syslog_server)}{$fanvil_syslog_server}{else}0.0.0.0{/if} + {if isset($fanvil_syslog_server_port)}{$fanvil_syslog_server_port}{else}514{/if} + + + 1 + 00100400FV02001000000c383e415bb3 + 1 + 0 + 0.0.0.0 + admin + + 0.0.0.0 + + + dps + dps + 3600 + 2 + 020 + 0 + {$fanvil_stun_server} + {$fanvil_stun_port} + 30000 + + + 0 + 1 + 0 + 224.0.2.0 + 16360 + SIP Hotspot + 0 + 1 + 0 + + 1 + + + + 1 + + + + + -1 + 0 + 0 + 0 + 0.0.0.0 + + + 1 + 0.0.0.0 + + + + + 0 + 0 + + + {$http_auth_username} + {$http_auth_password} + + + + 1 + 0 + 5 + {if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if} + {$fanvil_firmware_config} + 5 + 1 + 1 + 720 + 0 + + 1 + 224.0.1.75 + 5060 + 0 + 1 + + + 66 + 0 + 0 + + + + {if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if} + {if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if} + {if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if} + {if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if} + + + {if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if} + {if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if} + {if isset($fanvil_pc_port_vlan)}2{else}0{/if} + {if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if} + {if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if} + {if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if} + {if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if} + 0 + {if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if} + {if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if} + {if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if} + {if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}34{/if} + {if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}0{/if} + {if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if} + {if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if} + 0 + 0 + 60 + 132 + + + + + + + 0 + 0 + 0 + 0 + + + + 1 + 0 + 0 + + + 1 + G729 + 0 + 8 + 0.0.0.0 + 10000 + + + 0 + 0 + + 0 + 1 + 1 + 1 + 1 + 1 + 0 + + diff --git a/resources/templates/provision/fanvil/x1sg/{$mac}.cfg b/resources/templates/provision/fanvil/x1sg/{$mac}.cfg new file mode 100644 index 0000000000..950abc797a --- /dev/null +++ b/resources/templates/provision/fanvil/x1sg/{$mac}.cfg @@ -0,0 +1,1273 @@ + + + 2.0000000000 + + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + {if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if} + {if isset($dns_server_secondary)}{$dns_server_secondary}{else}208.67.222.222{/if} + 1 + 1 + 1 + 1 + 0 + Fanvil X1S/X1SP + 0 + user123 + password + 2 + 1500 + + + + + + + 1 + 1 + 0 + 0 + Fanvil X1S/X1SP + + + + + + + + + + + + + + + + + + + + {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} + + + + + + + + + + + + + + + + + + + + PCMU,PCMA,G726-16,G726-24,G726-32,G726-40,G729,iLBC,opus,G722 + + + + {$sip_port} + {$fanvil_stun_server} + {$fanvil_stun_port} + 50 + 800 + + 32 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 1 + + {$account.1.user_id} + {$account.1.display_name} + + {$account.1.server_address} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + {$account.1.register_expires} + + 5060 + 0 + 3600 + {if isset($account.1.password)}1{else}0{/if} + {$account.1.outbound_proxy_primary} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + {$account.1.outbound_proxy_secondary} + {$account.1.sip_port} + {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line1)}{$fanvil_ringtone_line1}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.1.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.1.sip_transport == 'dns srv'}1{/if} + {if $account.1.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.1.sip_transport == 'udp'}0{/if} + {if $account.1.sip_transport == 'tcp'}1{/if} + {if $account.1.sip_transport == 'tls'}2{/if} + 0 + + 0 + 1 + 1 + 0 + + {$voicemail_number} + + + + + + 0 + 0 + 5 + 1 + + 1 + *78 + *79 + *72 + *73 + *72 + *73 + *72 + *73 + + + *67 + *67 + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + + + {$account.2.user_id} + {$account.2.display_name} + + {$account.2.server_address} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + {$account.2.register_expires} + + 5060 + 0 + 3600 + {if isset($account.2.password)}1{else}0{/if} + {$account.2.outbound_proxy_primary} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + {$account.2.outbound_proxy_secondary} + {$account.2.sip_port} + {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line2)}{$fanvil_ringtone_line2}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.2.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.2.sip_transport == 'dns srv'}1{/if} + {if $account.2.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.2.sip_transport == 'udp'}0{/if} + {if $account.2.sip_transport == 'tcp'}1{/if} + {if $account.2.sip_transport == 'tls'}2{/if} + 0 + + 0 + 1 + 1 + 0 + + {$voicemail_number} + + + + + + 0 + 0 + 5 + 1 + + 1 + *78 + *79 + *72 + *73 + *72 + *73 + *72 + *73 + + + *67 + *67 + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + + + 0 + 30 + 1 + 0 + 0 + 0 + + + + + 1 + 1 + 0 + . + 1 + 0 + 0 + 1500 + 1730 + 1 + 1 + 1 + 0 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 3 + 1 + 0 + 1 + 0 + 0 + 0 + 30 + 5 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + + 1 + 1 + 0 + 0 + 0 + {$fanvil_default_answer_mode} + {$fanvil_default_dial_mode} + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 480 + 486 + 603 + 0 + 0 + + + 0 + + + + + 0 + + 0 + 120 + + + 1 + 0 + 0 + 0 + 0 + 0 + 11 + 1 + 10 + 0 + + + + -1 + {if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if} + + + + -1 + {if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 1{/if} + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + {if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if} + 123 + + 0 + 0 + 0 + 110 + + 0 + 0 + 0 + 5 + 0 + 1 + 1 + $name@$protocol$instance + 0 + 0 + 1 + 1 + 30 + + 0 + + {$fanvil_greeting} + 5 + {if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if} + {if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if} + {if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if} + 0 + + dvf97 + en + 0 + + + 0 + 3 + 0 + 2 + 0 + 0 + 3 + + + 0 + 1 + + + 0 + 1 + terminated + 1 + 2 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + + 0 + 0 + failed + 0 + 3 + parked + + + + + + + + + + + {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if} + + + {if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if} + {$ntp_server_primary} + {$ntp_server_secondary} + {$fanvil_time_zone} + {$fanvil_time_zone_name} + {$fanvil_enable_dst} + {if isset($fanvil_dst_fixed_type)}{$fanvil_dst_fixed_type}{else}0{/if} + 60 + 1 + {if isset($fanvil_location)}{$fanvil_location}{else}4{/if} + 0 + {if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if} + 3 + 5 + 0 + 2 + 10 + 5 + 0 + 2 + + + 0 + {if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if} + {if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if} + {if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if} + + + 0 + {if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if} + {if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if} + {if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if} + {if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if} + end;none;none;none; + end;none;none;xfer; + hold;none;split;end; + xfer;accept;reject;end; + repeat;none;none;end; + send;2aB;delete;exit; + send;2aB;delete;exit; + delete;xfer;send;exit; + send;2aB;delete;exit; + {if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if} + pline;nline;none;none;none; + none;none;none;none;none; + none;none;none;none;none; + status;none;none;none;reset; + contact;clogs;redial;video;cancel; + + + + + + 0 + 0 + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + 120 + 0 + 2 + 6 + + + 1 + 1 + 60 + 40 + 25 + 150 + 200 + 1 + 1 + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0000000000000000 + + + 0 + 0 + 0 + 0 + 1 + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + 60 + + + + 0 + 3 + 1 + 1 + 0 + 0 + 0 + 16 + 360 + 1080 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + + + + {foreach $keys["line"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/foreach} + + {foreach $keys["programmable"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + + {/foreach} + + + 0 + 80 + 443 + 1 + 0 + 0 + 0 + 23 + + 15 + + {if isset($admin_name)}{$admin_name}{else}admin{/if} + {if isset($admin_password)}{$admin_password}{else}admin{/if} + 10 + + + guest + guest + 5 + + + + ERROR + + {if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if} + platform.log + 512KB + platform + {if isset($fanvil_syslog_server)}{$fanvil_syslog_server}{else}0.0.0.0{/if} + {if isset($fanvil_syslog_server_port)}{$fanvil_syslog_server_port}{else}514{/if} + + + 1 + 00100400FV02001000000c383e415bb3 + 1 + 0 + 0.0.0.0 + admin + + 0.0.0.0 + + + dps + dps + 3600 + 2 + 020 + 0 + {$fanvil_stun_server} + {$fanvil_stun_port} + 30000 + + + 0 + 1 + 0 + 224.0.2.0 + 16360 + SIP Hotspot + 0 + 1 + 0 + + 1 + + + + 1 + + + + + -1 + 0 + 0 + 0 + 0.0.0.0 + + + 1 + 0.0.0.0 + + + + + 0 + 0 + + + {$http_auth_username} + {$http_auth_password} + + + + 1 + 0 + 5 + {if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if} + {$fanvil_firmware_config} + 5 + 1 + 1 + 720 + 0 + + 1 + 224.0.1.75 + 5060 + 0 + 1 + + + 66 + 0 + 0 + + + + {if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if} + {if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if} + {if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if} + {if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if} + + + {if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if} + {if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if} + {if isset($fanvil_pc_port_vlan)}2{else}0{/if} + {if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if} + {if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if} + {if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if} + {if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if} + 0 + {if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if} + {if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if} + {if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if} + {if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}34{/if} + {if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}0{/if} + {if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if} + {if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if} + 0 + 0 + 60 + 132 + + + + + + + 0 + 0 + 0 + 0 + + + + 1 + 0 + 0 + + + 1 + G729 + 0 + 8 + 0.0.0.0 + 10000 + + + 0 + 0 + + 0 + 1 + 1 + 1 + 1 + 1 + 0 + + diff --git a/resources/templates/provision/fanvil/x3sw/{$mac}.cfg b/resources/templates/provision/fanvil/x3sw/{$mac}.cfg new file mode 100644 index 0000000000..c1b773fdb8 --- /dev/null +++ b/resources/templates/provision/fanvil/x3sw/{$mac}.cfg @@ -0,0 +1,1635 @@ + + + + 2.0000000000 + + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + {if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if} + {if isset($dns_server_secondary)}{$dns_server_secondary}{else}208.67.222.222{/if} + 1 + 1 + 1 + 1 + 0 + Fanvil X3SG + 0 + user123 + password + 2 + 1500 + + + + + + + 1 + 1 + 0 + 0 + Fanvil X3SG + + + + + + + + + + + + + + + + + + + + {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} + + + + + + + + + + + + + + + + + + + + PCMU,PCMA,G726-16,G726-24,G726-32,G726-40,G729,iLBC,opus,G722 + + + + {$sip_port} + {$fanvil_stun_server} + {$fanvil_stun_port} + 50 + 800 + + 32 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 1 + + {$account.1.user_id} + {$account.1.display_name} + + {$account.1.server_address} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + {$account.1.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.1.password)}1{else}0{/if} + {$account.1.outbound_proxy_primary} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + 0 + {$account.1.outbound_proxy_secondary} + {$account.1.sip_port} + 0 + {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line1)}{$fanvil_ringtone_line1}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.1.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.1.sip_transport == 'dns srv'}1{/if} + {if $account.1.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.1.sip_transport == 'udp'}0{/if} + {if $account.1.sip_transport == 'tcp'}1{/if} + {if $account.1.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.2.user_id} + {$account.2.display_name} + + {$account.2.server_address} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + {$account.2.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.2.password)}1{else}0{/if} + {$account.2.outbound_proxy_primary} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + 0 + {$account.2.outbound_proxy_secondary} + {$account.2.sip_port} + 0 + {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line2)}{$fanvil_ringtone_line2}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.2.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.2.sip_transport == 'dns srv'}1{/if} + {if $account.2.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.2.sip_transport == 'udp'}0{/if} + {if $account.2.sip_transport == 'tcp'}1{/if} + {if $account.2.sip_transport == 'tls'}3{/if} + 0 + + 0 + 0 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.3.user_id} + {$account.3.display_name} + + {$account.3.server_address} + {$account.3.sip_port} + {$account.3.auth_id} + {$account.3.password} + {$account.3.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.3.password)}1{else}0{/if} + {$account.3.outbound_proxy_primary} + {$account.3.sip_port} + {$account.3.auth_id} + {$account.3.password} + 0 + {$account.3.outbound_proxy_secondary} + {$account.3.sip_port} + 0 + {if isset($account.3.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line3)}{$fanvil_ringtone_line3}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.3.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.3.sip_transport == 'dns srv'}1{/if} + {if $account.3.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.3.sip_transport == 'udp'}0{/if} + {if $account.3.sip_transport == 'tcp'}1{/if} + {if $account.3.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.4.user_id} + {$account.4.display_name} + + {$account.4.server_address} + {$account.4.sip_port} + {$account.4.auth_id} + {$account.4.password} + {$account.4.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.4.password)}1{else}0{/if} + {$account.4.outbound_proxy_primary} + {$account.4.sip_port} + {$account.4.auth_id} + {$account.4.password} + 0 + {$account.4.outbound_proxy_secondary} + {$account.4.sip_port} + 0 + {if isset($account.4.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line4)}{$fanvil_ringtone_line4}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.4.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.4.sip_transport == 'dns srv'}1{/if} + {if $account.4.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.4.sip_transport == 'udp'}0{/if} + {if $account.4.sip_transport == 'tcp'}1{/if} + {if $account.4.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + 0 + 30 + 1 + 0 + 0 + 0 + 1 + + + + + 1 + 1 + 0 + . + 1 + 0 + 0 + 1500 + 1730 + 1 + 1 + 1 + 0 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 3 + 1 + 0 + 1 + 0 + 0 + 0 + 30 + 5 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + + 1 + 1 + 0 + 0 + 0 + {$fanvil_default_answer_mode} + {$fanvil_default_dial_mode} + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 480 + 486 + 603 + 0 + 0 + + + 0 + + + + + 0 + + 0 + 120 + 120 + 0 + + + 1 + 0 + 0 + 0 + 0 + 0 + 11 + 1 + 10 + 0 + + + + -1 + {if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if} + + + + -1 + {if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 1{/if} + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + {if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if} + 123 + + 0 + 0 + 0 + 110 + + 0 + 0 + 0 + 5 + 0 + 1 + 1 + $name + 0 + 0 + 1 + 1 + 30 + + 0 + 0 + 0 + + + {$fanvil_greeting} + 5 + {if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if} + {if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if} + {if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if} + 0 + + dvf97 + en + 0 + + + 0 + 3 + 0 + 2 + 0 + 0 + 3 + + + 0 + 1 + + + 0 + 1 + terminated + 1 + 2 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + + 0 + 0 + failed + 0 + 3 + parked + + + + + + + + + + + {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if} + + + {if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if} + {$ntp_server_primary} + {$ntp_server_secondary} + {$fanvil_time_zone} + {$fanvil_time_zone_name} + {$fanvil_enable_dst} + {if isset($fanvil_dst_fixed_type)}{$fanvil_dst_fixed_type}{else}0{/if} + 60 + 1 + {if isset($fanvil_location)}{$fanvil_location}{else}4{/if} + 0 + {if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if} + 3 + 5 + 0 + 2 + 10 + 5 + 0 + 2 + + + 0 + {if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if} + {if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if} + {if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if} + + + 0 + {if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if} + {if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if} + {if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if} + {if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if} + end;none;none;none; + end;none;none;xfer; + hold;none;split;end; + xfer;accept;reject;end; + repeat;none;none;end; + send;2aB;delete;exit; + send;2aB;delete;exit; + delete;xfer;send;exit; + send;2aB;delete;exit; + {if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if} + pline;nline;none;none;none; + none;none;none;none;none; + none;none;none;none;none; + status;none;none;none;reset; + contact;clogs;redial;video;cancel; + + + + + + 0 + 0 + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + 120 + 0 + 2 + 6 + + + 1 + 1 + 60 + 40 + 25 + 150 + 200 + 1 + 1 + + + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0000000000000000 + + + 0 + 0 + 0 + 0 + 1 + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + 60 + + + + 0 + 3 + 1 + 1 + 0 + 0 + 0 + 16 + 360 + 1080 + 1 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + + + + {foreach $keys["line"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/foreach} + + {foreach $keys["programmable"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + + {/foreach} + + + 0 + 80 + 443 + 1 + 0 + 0 + 0 + 23 + + 15 + + {if isset($admin_name)}{$admin_name}{else}admin{/if} + {if isset($admin_password)}{$admin_password}{else}admin{/if} + 10 + + + guest + guest + 5 + + + + ERROR + + {if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if} + platform.log + 512KB + platform + {if isset($fanvil_syslog_server)}{$fanvil_syslog_server}{else}0.0.0.0{/if} + {if isset($fanvil_syslog_server_port)}{$fanvil_syslog_server_port}{else}514{/if} + + + 1 + + 1 + 0 + 0.0.0.0 + admin + + 0.0.0.0 + + + dps + dps + 3600 + 2 + 020 + 0 + {$fanvil_stun_server} + {$fanvil_stun_port} + 30000 + + + 0 + 1 + 0 + 224.0.2.0 + 16360 + SIP Hotspot + 0 + 0 + 0 + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + + -1 + 0 + 0 + 0 + 0.0.0.0 + + + 1 + 0.0.0.0 + + + + + 0 + 0 + + + {$http_auth_username} + {$http_auth_password} + + + + 1 + 0 + 5 + {if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if} + {$fanvil_firmware_config} + 5 + 1 + 1 + 720 + 0 + + 1 + 224.0.1.75 + 5060 + 0 + 1 + + + 66 + 0 + 0 + 0 + + + + {if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if} + {if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if} + {if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if} + {if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if} + + + {if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if} + {if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if} + {if isset($fanvil_pc_port_vlan)}2{else}0{/if} + {if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if} + {if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if} + {if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if} + {if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if} + 0 + {if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if} + {if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if} + {if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if} + {if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}34{/if} + {if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}0{/if} + {if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if} + {if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if} + 0 + 0 + 60 + 132 + + + + + + + 0 + 0 + 0 + 0 + + + + 1 + 0 + 0 + + + 1 + G729 + 0 + 8 + 0.0.0.0 + 10000 + + + + 0 + 0 + + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1,1,1,1 + 2 + + diff --git a/resources/templates/provision/fanvil/x3u-pro/{$mac}.cfg b/resources/templates/provision/fanvil/x3u-pro/{$mac}.cfg new file mode 100644 index 0000000000..c1b773fdb8 --- /dev/null +++ b/resources/templates/provision/fanvil/x3u-pro/{$mac}.cfg @@ -0,0 +1,1635 @@ + + + + 2.0000000000 + + 0 + 192.168.1.179 + 255.255.255.0 + 192.168.1.1 + + {if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if} + {if isset($dns_server_secondary)}{$dns_server_secondary}{else}208.67.222.222{/if} + 1 + 1 + 1 + 1 + 0 + Fanvil X3SG + 0 + user123 + password + 2 + 1500 + + + + + + + 1 + 1 + 0 + 0 + Fanvil X3SG + + + + + + + + + + + + + + + + + + + + {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} + + + + + + + + + + + + + + + + + + + + PCMU,PCMA,G726-16,G726-24,G726-32,G726-40,G729,iLBC,opus,G722 + + + + {$sip_port} + {$fanvil_stun_server} + {$fanvil_stun_port} + 50 + 800 + + 32 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 1 + + {$account.1.user_id} + {$account.1.display_name} + + {$account.1.server_address} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + {$account.1.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.1.password)}1{else}0{/if} + {$account.1.outbound_proxy_primary} + {$account.1.sip_port} + {$account.1.auth_id} + {$account.1.password} + 0 + {$account.1.outbound_proxy_secondary} + {$account.1.sip_port} + 0 + {if isset($account.1.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line1)}{$fanvil_ringtone_line1}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.1.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.1.sip_transport == 'dns srv'}1{/if} + {if $account.1.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.1.sip_transport == 'udp'}0{/if} + {if $account.1.sip_transport == 'tcp'}1{/if} + {if $account.1.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.2.user_id} + {$account.2.display_name} + + {$account.2.server_address} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + {$account.2.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.2.password)}1{else}0{/if} + {$account.2.outbound_proxy_primary} + {$account.2.sip_port} + {$account.2.auth_id} + {$account.2.password} + 0 + {$account.2.outbound_proxy_secondary} + {$account.2.sip_port} + 0 + {if isset($account.2.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line2)}{$fanvil_ringtone_line2}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.2.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.2.sip_transport == 'dns srv'}1{/if} + {if $account.2.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.2.sip_transport == 'udp'}0{/if} + {if $account.2.sip_transport == 'tcp'}1{/if} + {if $account.2.sip_transport == 'tls'}3{/if} + 0 + + 0 + 0 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.3.user_id} + {$account.3.display_name} + + {$account.3.server_address} + {$account.3.sip_port} + {$account.3.auth_id} + {$account.3.password} + {$account.3.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.3.password)}1{else}0{/if} + {$account.3.outbound_proxy_primary} + {$account.3.sip_port} + {$account.3.auth_id} + {$account.3.password} + 0 + {$account.3.outbound_proxy_secondary} + {$account.3.sip_port} + 0 + {if isset($account.3.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line3)}{$fanvil_ringtone_line3}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.3.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.3.sip_transport == 'dns srv'}1{/if} + {if $account.3.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.3.sip_transport == 'udp'}0{/if} + {if $account.3.sip_transport == 'tcp'}1{/if} + {if $account.3.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + {$account.4.user_id} + {$account.4.display_name} + + {$account.4.server_address} + {$account.4.sip_port} + {$account.4.auth_id} + {$account.4.password} + {$account.4.register_expires} + 0 + + 5060 + 0 + 3600 + 0 + {if isset($account.4.password)}1{else}0{/if} + {$account.4.outbound_proxy_primary} + {$account.4.sip_port} + {$account.4.auth_id} + {$account.4.password} + 0 + {$account.4.outbound_proxy_secondary} + {$account.4.sip_port} + 0 + {if isset($account.4.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + + 0 + 0 + + 0 + 0 + 0 + + + + 5 + + 0 + 0 + + + + {if isset($fanvil_ringtone_line4)}{$fanvil_ringtone_line4}{else}default{/if} + 2 + 30 + 0 + + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + {$account.4.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $account.4.sip_transport == 'dns srv'}1{/if} + {if $account.4.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $account.4.sip_transport == 'udp'}0{/if} + {if $account.4.sip_transport == 'tcp'}1{/if} + {if $account.4.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + + + + + + + 0 + 0 + 5 + 1 + + 1 + + + + + + + + + + + + + + + PCMU,PCMA,G726-32,G729,iLBC,G722 + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + + 0 + 30 + 1 + 0 + 0 + 0 + 1 + + + + + 1 + 1 + 0 + . + 1 + 0 + 0 + 1500 + 1730 + 1 + 1 + 1 + 0 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 3 + 1 + 0 + 1 + 0 + 0 + 0 + 30 + 5 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + + 1 + 1 + 0 + 0 + 0 + {$fanvil_default_answer_mode} + {$fanvil_default_dial_mode} + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 480 + 486 + 603 + 0 + 0 + + + 0 + + + + + 0 + + 0 + 120 + 120 + 0 + + + 1 + 0 + 0 + 0 + 0 + 0 + 11 + 1 + 10 + 0 + + + + -1 + {if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if} + + + + -1 + {if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 1{/if} + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + {if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if} + 123 + + 0 + 0 + 0 + 110 + + 0 + 0 + 0 + 5 + 0 + 1 + 1 + $name + 0 + 0 + 1 + 1 + 30 + + 0 + 0 + 0 + + + {$fanvil_greeting} + 5 + {if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if} + {if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if} + {if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if} + 0 + + dvf97 + en + 0 + + + 0 + 3 + 0 + 2 + 0 + 0 + 3 + + + 0 + 1 + + + 0 + 1 + terminated + 1 + 2 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + + 0 + 0 + failed + 0 + 3 + parked + + + + + + + + + + + {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if} + + + {if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if} + {$ntp_server_primary} + {$ntp_server_secondary} + {$fanvil_time_zone} + {$fanvil_time_zone_name} + {$fanvil_enable_dst} + {if isset($fanvil_dst_fixed_type)}{$fanvil_dst_fixed_type}{else}0{/if} + 60 + 1 + {if isset($fanvil_location)}{$fanvil_location}{else}4{/if} + 0 + {if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if} + 3 + 5 + 0 + 2 + 10 + 5 + 0 + 2 + + + 0 + {if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if} + {if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if} + {if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if} + + + 0 + {if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if} + {if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if} + {if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if} + {if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if} + end;none;none;none; + end;none;none;xfer; + hold;none;split;end; + xfer;accept;reject;end; + repeat;none;none;end; + send;2aB;delete;exit; + send;2aB;delete;exit; + delete;xfer;send;exit; + send;2aB;delete;exit; + {if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if} + pline;nline;none;none;none; + none;none;none;none;none; + none;none;none;none;none; + status;none;none;none;reset; + contact;clogs;redial;video;cancel; + + + + + + 0 + 0 + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + + + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + 120 + 0 + 2 + 6 + + + 1 + 1 + 60 + 40 + 25 + 150 + 200 + 1 + 1 + + + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0000000000000000 + + + 0 + 0 + 0 + 0 + 1 + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + + + 0 + 0 + + + 60 + + + + 0 + 3 + 1 + 1 + 0 + 0 + 0 + 16 + 360 + 1080 + 1 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + + + + {foreach $keys["line"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + {$row.device_key_icon} + + {/foreach} + + {foreach $keys["programmable"] as $row} + + {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if} + {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if} + {$row.device_key_label} + + {/foreach} + + + 0 + 80 + 443 + 1 + 0 + 0 + 0 + 23 + + 15 + + {if isset($admin_name)}{$admin_name}{else}admin{/if} + {if isset($admin_password)}{$admin_password}{else}admin{/if} + 10 + + + guest + guest + 5 + + + + ERROR + + {if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if} + platform.log + 512KB + platform + {if isset($fanvil_syslog_server)}{$fanvil_syslog_server}{else}0.0.0.0{/if} + {if isset($fanvil_syslog_server_port)}{$fanvil_syslog_server_port}{else}514{/if} + + + 1 + + 1 + 0 + 0.0.0.0 + admin + + 0.0.0.0 + + + dps + dps + 3600 + 2 + 020 + 0 + {$fanvil_stun_server} + {$fanvil_stun_port} + 30000 + + + 0 + 1 + 0 + 224.0.2.0 + 16360 + SIP Hotspot + 0 + 0 + 0 + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + + -1 + 0 + 0 + 0 + 0.0.0.0 + + + 1 + 0.0.0.0 + + + + + 0 + 0 + + + {$http_auth_username} + {$http_auth_password} + + + + 1 + 0 + 5 + {if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if} + {$fanvil_firmware_config} + 5 + 1 + 1 + 720 + 0 + + 1 + 224.0.1.75 + 5060 + 0 + 1 + + + 66 + 0 + 0 + 0 + + + + {if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if} + {if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if} + {if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if} + {if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if} + + + {if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if} + {if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if} + {if isset($fanvil_pc_port_vlan)}2{else}0{/if} + {if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if} + {if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if} + {if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if} + {if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if} + 0 + {if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if} + {if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if} + {if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if} + {if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}34{/if} + {if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}0{/if} + {if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if} + {if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if} + 0 + 0 + 60 + 132 + + + + + + + 0 + 0 + 0 + 0 + + + + 1 + 0 + 0 + + + 1 + G729 + 0 + 8 + 0.0.0.0 + 10000 + + + + 0 + 0 + + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1,1,1,1 + 2 + +