diff --git a/resources/templates/provision/fanvil/v67/{$mac}.cfg b/resources/templates/provision/fanvil/v67/{$mac}.cfg new file mode 100644 index 0000000000..763d3a94c1 --- /dev/null +++ b/resources/templates/provision/fanvil/v67/{$mac}.cfg @@ -0,0 +1,2007 @@ + + + 2.0000000000 + + 0 + + 255.255.255.0 + + + {if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if} + {if isset($dns_server_secondary)}{$dns_server_secondary}{else}1.1.1.1{/if} + 1 + 1 + 1 + 1 + 1 + Fanvil V67 + 0 + user123 + password + 2 + 1500 + 0 + 0 + + + + + + + 1 + 1 + 0 + 0 + + + + 1 + 97 + 20 + 108 + 109 + 103 + 104 + 102 + 105 + 101 + 107 + 0 + 0 + 117 + 0 + 0 + 0 + 98 + 16384 + 16384 + 0 + 0 + + + {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if} + 1 + 0 + 350+440/0 + 440+480/2000,0/4000 + 480+620/500,0/500 + + 440/300,0/10000,440/300,0/10000,0/0 + + + + + 350+440/100,0/100,350+440/100,0/100,350+440/100,0/100,350+440/0 + + + 400/500,0/6000 + 1400/500,0/0 + 440/500,0/5000 + + + G722,PCMU,PCMA,OPUS + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}H264{/if} + 30 + 2000000 + 7 + 0 + + + + {$sip_port} + {$fanvil_stun_server} + {$fanvil_stun_port} + 50 + 800 + + 32 + 0 + 0 + 0 + 1 + 1 + 0 + 1 + {foreach $lines as $row} + + {$row.user_id} + {$row.display_name} + + {$row.server_address} + {$row.sip_port} + {$row.auth_id} + {$row.password} + {$row.register_expires} + + 5060 + 0 + 3600 + 0 + {if isset($row.password)}1{else}0{/if} + {$row.outbound_proxy_primary} + {$row.sip_port} + {$row.auth_id} + {$row.password} + 0 + {$row.outbound_proxy_secondary} + {$row.sip_port} + 0 + {if isset($row.outbound_proxy_secondary)}1{else}0{/if} + 1800 + 0 + 3 + + 0 + 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 + {if isset($row.user_id)}1{else}{/if} + {$row.register_expires} + 0 + 0 + 1 + 0 + 0 + {if $row.sip_transport == 'dns srv'}1{/if} + {if $row.sip_transport == 'dns srv'}1{/if} + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 5060 + {if $row.sip_transport == 'udp'}0{/if} + {if $row.sip_transport == 'tcp'}1{/if} + {if $row.sip_transport == 'tls'}3{/if} + 0 + + 0 + 1 + 1 + 0 + + {if isset($row.user_id)}{$voicemail_number}{else}{/if} + + + + + + 0 + 0 + 5 + 1 + + 0 + + + + + + + + + + + + + + + OPUS,G722,PCMU,PCMA + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} + + + 0 + 0 + 4 + 0 + + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 35 + 0 + 0 + 1 + 2 + + 0 + + + 5060 + + 0 + + + 0 + 0 + 0 + Record:on + Record:off + 1 + 0 + 1 + 0 + 500 + 4000 + 5000 + 0 + 0 + + {/foreach} + + 0 + 30 + 1 + 0 + 0 + 0 + 1 + + + + + 1 + 1 + 0 + . + 1 + 0 + 0 + 1500 + 1730 + 0 + 0 + 0 + 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 + 1 + + + 1 + 0 + 0 + 0 + 0 + 0 + 11 + 1 + 10 + 0 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + -1 + Type 1 + + + + admin + admin + + 0 + 0 + 0 + 110 + + 0 + 0 + 0 + 5 + 0 + 1 + 1 + $name@$protocol$instance + 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 + + localhost + en + 0 + + + 0 + 3 + 0 + 2 + 0 + 0 + 3 + 0 + 1 + 1200 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + 0 + 1 + + + 0 + 1 + terminated + 1 + 2 + early + 1 + 0 + + 1 + 1 + confirmed + 1 + 0 + + 0 + 0 + failed + 1 + 3 + parked + + + 6 + 3 + 6 + 3 + 3 + 6 + 3 + 6 + {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Happy_Technology_Logo.ogg{/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} + 60 + {$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}video;xfer;end;conf;hold;new;mute;record;dialpad;{/if} + {if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}forward;audio;video;reject;{/if} + dialpad;xfer;cancel; + dialpad;xfer;cancel; + conf;dialpad;end;split;hold;mute;exit; + hold;xfer;conf;end; + complete;autoRedial;end;redial; + audio;video;redial; + audio;video;redial; + audio;video;xfer;contact;history;cancel; + contact;history;forward;cancel; + {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; + pcall;ncall;voldown;volup;none; + status;none;none;mwi;none;reset; + audio;video;cancel;contact;history;redial; + + + + + + 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 + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + 0 + + + + + 389 + + 0 + 3 + -1 + -1 + 0 + 0 + 3 + + + telephoneNumber + mobile + other + cn sn ou + cn + cn + (|(telephoneNumber=%)(mobile=%)(other=%)) + (|(cn=%)(sn=%)) + 50 + 0 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + + + + -1 + -1 + + + + 200 + 0 + 2 + 6 + + + 1 + 1 + 60 + 40 + 25 + 150 + 200 + 1 + 1 + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + 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 + 0 + + + 60 + + + + 0 + 0 + 4 + 1 + 0 + 0 + 0 + 16 + 360 + 1080 + 1 + 0 + 0 + 0 + 0 + 0 + + + + + + + + + + + + {strip}{*-- Each Internal Index contains 32 keys --*}{/strip} + + + 2 + SIP1 + + Green + + + 2 + SIP2 + + Green + + + 2 + SIP3 + + Green + + + 2 + SIP4 + + Green + + + 2 + SIP5 + + Green + + + 3 + F_HEADSET + + Green + + + 3 + F_REDIAL + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + 0 + + + Green + + + + 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 + + + + INFO + + {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 + + 0 + {$fanvil_stun_server} + {$fanvil_stun_port} + 30000 + + + 0 + 1 + 0 + 224.0.2.0 + 16360 + SIP Hotspot + 0 + 0 + 0 + 0 + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + + 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} + 2 + 0 + 1 + 720 + + 1 + 224.0.1.75 + 5060 + 0 + 1 + + + 66 + 0 + 0 + + + + {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} + 1 + 0 + 60 + 132 + + + 0 + admin + admin + + 0 + 0 + 0 + 0 + + + + 0 + + + 1 + 0 + 0 + + + + 0 + 1 + 1 + + + dialpad;mwi;contact;history;cfwd;redial;capse; + dialpad;new;conf;hold;xfer;end;capse; + dialpad;forward;audio;video;mute;reject;capse; + dialpad;none;none;none;xfer;cancel;capse; + dialpad;none;none;none;xfer;none;capse; + dialpad;exit;split;hold;xfer;end;capse; + contact;history;new;complete;autoRedial;end;capse; + dialpad;mwi;contact;history;redial;cancel;capse; + dialpad;mwi;contact;history;redial;cancel;capse; + dialpad;new;contact;history;forward;cancel;capse; + dialpad;new;contact;history;xfer;cancel;capse; + new;cancel;ok;conf;hold;xfer;capse; + + + 1 + + + 1 + 0 + 0 + + + 0 + 0 + + + + + 0 + 7200 + 0 + + + 0 + + + 24 + + + 1 + PCMU + 0 + 0 + 0.0.0.0 + 10000 + + + 5 + + NONE + NONE + NONE + NONE + +