diff --git a/resources/templates/provision/fanvil/x3sg/{$mac}.cfg b/resources/templates/provision/fanvil/x3sg/{$mac}.cfg new file mode 100644 index 00000000000..6f94a470e2b --- /dev/null +++ b/resources/templates/provision/fanvil/x3sg/{$mac}.cfg @@ -0,0 +1,1603 @@ + + + 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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + *97 + + + + + + 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 + 0 + 1 + 0 + + + + + + + + 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.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} + + 5060 + 0 + 3600 + {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} + {$account.3.outbound_proxy_secondary} + {$account.3.sip_port} + {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'}2{/if} + 0 + + 0 + 1 + 1 + 0 + + *97 + + + + + + 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.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} + + 5060 + 0 + 3600 + {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} + {$account.4.outbound_proxy_secondary} + {$account.4.sip_port} + {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'}2{/if} + 0 + + 0 + 1 + 1 + 0 + + *97 + + + + + + 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 + 1 + 1 + 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 + 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 + + + + 123 + 123 + + 0 + 0 + 0 + 110 + + 0 + 0 + 0 + 5 + 0 + 1 + 1 + $name@$protocol$instance + 0 + 0 + 1 + 1 + 30 + + 0 + 0 + 0 + + + VOIP PHONE + 5 + 4 + 12 + 45 + 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_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 + 0 + 0 + 0 + + + 0 + 2 + history;contact;dnd;menu; + hold;xfer;conf;end; + accept;none;forward;reject; + 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; + history;status;none;none;none; + 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 + 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 + + admin + admin + 10 + + + guest + guest + 5 + + + + ERROR + + + platform.log + 512KB + platform + 0.0.0.0 + 514 + + + 1 + 00100400FV02001000000c383e3faeba + 1 + 0 + 0.0.0.0 + admin + + 0.0.0.0 + + + dps + dps + 3600 + 2 + 020 + 0 + + 3478 + 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 + + + + + + + + 1 + 0 + 5 + + + 2 + 0 + 1 + 720 + 0 + + 1 + 224.0.1.75 + 5060 + 0 + 1 + + + 66 + 0 + 0 + + + + 0 + + + 24 + + + 0 + 256 + 0 + 254 + 0 + 0 + 0 + 0 + 0 + 46 + 46 + 46 + 1 + 60 + 1 + 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 + +