diff --git a/resources/templates/provision/fanvil/x210/{$mac}.cfg b/resources/templates/provision/fanvil/x210/{$mac}.cfg index a2c348138d..87ee836783 100644 --- a/resources/templates/provision/fanvil/x210/{$mac}.cfg +++ b/resources/templates/provision/fanvil/x210/{$mac}.cfg @@ -58,7 +58,7 @@ 1 1 0 - + Fanvil X210 10 @@ -191,7 +191,7 @@ 0 0 1 - 0 + {if isset($account.1.user_id)}1{else}{/if} {$account.1.register_expires} 0 0 @@ -218,7 +218,7 @@ 1 0 - + {if isset($account.1.user_id)}*97{else}{/if} @@ -245,7 +245,7 @@ opus,PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB - + {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if} 0 @@ -267,7 +267,7 @@ 0 0 1 - 0 + 2 0 @@ -353,7 +353,7 @@ 0 0 1 - 0 + {if isset($account.2.user_id)}1{else}{/if} {$account.2.register_expires} 0 0 @@ -380,7 +380,7 @@ 1 0 - + {if isset($account.2.user_id)}*97{else}{/if} @@ -429,7 +429,7 @@ 0 0 1 - 0 + 2 0 @@ -515,7 +515,7 @@ 0 0 1 - 0 + {if isset($account.3.user_id)}1{else}{/if} {$account.3.register_expires} 0 0 @@ -542,7 +542,7 @@ 1 0 - + {if isset($account.3.user_id)}*97{else}{/if} @@ -591,7 +591,7 @@ 0 0 1 - 0 + 2 0 @@ -677,7 +677,7 @@ 0 0 1 - 0 + {if isset($account.4.user_id)}1{else}{/if} {$account.4.register_expires} 0 0 @@ -704,7 +704,7 @@ 1 0 - + {if isset($account.4.user_id)}*97{else}{/if} @@ -753,7 +753,7 @@ 0 0 1 - 0 + 2 0 @@ -839,7 +839,7 @@ 0 0 1 - 0 + {if isset($account.5.user_id)}1{else}{/if} {$account.5.register_expires} 0 0 @@ -866,7 +866,7 @@ 1 0 - + {if isset($account.5.user_id)}*97{else}{/if} @@ -915,7 +915,7 @@ 0 0 1 - 0 + 2 0 @@ -1001,7 +1001,7 @@ 0 0 1 - 0 + {if isset($account.6.user_id)}1{else}{/if} {$account.6.register_expires} 0 0 @@ -1028,7 +1028,7 @@ 1 0 - + {if isset($account.6.user_id)}*97{else}{/if} @@ -1077,7 +1077,7 @@ 0 0 1 - 0 + 2 0 @@ -1163,7 +1163,7 @@ 0 0 1 - 0 + {if isset($account.7.user_id)}1{else}{/if} {$account.7.register_expires} 0 0 @@ -1190,7 +1190,7 @@ 1 0 - + {if isset($account.7.user_id)}*97{else}{/if} @@ -1239,7 +1239,7 @@ 0 0 1 - 0 + 2 0 @@ -1325,7 +1325,7 @@ 0 0 1 - 0 + {if isset($account.8.user_id)}1{else}{/if} {$account.8.register_expires} 0 0 @@ -1352,7 +1352,7 @@ 1 0 - + {if isset($account.8.user_id)}*97{else}{/if} @@ -1401,7 +1401,7 @@ 0 0 1 - 0 + 2 0 @@ -1487,7 +1487,7 @@ 0 0 1 - 0 + {if isset($account.9.user_id)}1{else}{/if} {$account.9.register_expires} 0 0 @@ -1514,7 +1514,7 @@ 1 0 - + {if isset($account.9.user_id)}*97{else}{/if} @@ -1563,7 +1563,7 @@ 0 0 1 - 0 + 2 0 @@ -1649,7 +1649,7 @@ 0 0 1 - 0 + {if isset($account.10.user_id)}1{else}{/if} {$account.10.register_expires} 0 0 @@ -1676,7 +1676,7 @@ 1 0 - + {if isset($account.10.user_id)}*97{else}{/if} @@ -1725,7 +1725,7 @@ 0 0 1 - 0 + 2 0 @@ -1811,7 +1811,7 @@ 0 0 1 - 0 + {if isset($account.11.user_id)}1{else}{/if} {$account.11.register_expires} 0 0 @@ -1838,7 +1838,7 @@ 1 0 - + {if isset($account.11.user_id)}*97{else}{/if} @@ -1876,7 +1876,7 @@ 1 0 0 - 0 + 1 1 0 0 @@ -1887,7 +1887,7 @@ 0 0 1 - 0 + 2 0 @@ -1973,7 +1973,7 @@ 0 0 1 - 0 + {if isset($account.12.user_id)}1{else}{/if} {$account.12.register_expires} 0 0 @@ -2000,7 +2000,7 @@ 1 0 - + {if isset($account.12.user_id)}*97{else}{/if} @@ -2049,7 +2049,7 @@ 0 0 1 - 0 + 2 0 @@ -2135,7 +2135,7 @@ 0 0 1 - 0 + {if isset($account.13.user_id)}1{else}{/if} {$account.13.register_expires} 0 0 @@ -2162,7 +2162,7 @@ 1 0 - + {if isset($account.13.user_id)}*97{else}{/if} @@ -2211,7 +2211,7 @@ 0 0 1 - 0 + 2 0 @@ -2297,7 +2297,7 @@ 0 0 1 - 0 + {if isset($account.14.user_id)}1{else}{/if} {$account.14.register_expires} 0 0 @@ -2324,7 +2324,7 @@ 1 0 - + {if isset($account.14.user_id)}*97{else}{/if} @@ -2373,7 +2373,7 @@ 0 0 1 - 0 + 2 0 @@ -2459,7 +2459,7 @@ 0 0 1 - 0 + {if isset($account.15.user_id)}1{else}{/if} {$account.15.register_expires} 0 0 @@ -2486,7 +2486,7 @@ 1 0 - + {if isset($account.15.user_id)}*97{else}{/if} @@ -2535,7 +2535,7 @@ 0 0 1 - 0 + 2 0 @@ -2588,7 +2588,6 @@ 1800 0 3 - 0 0 @@ -2622,7 +2621,7 @@ 0 0 1 - 0 + {if isset($account.16.user_id)}1{else}{/if} {$account.16.register_expires} 0 0 @@ -2649,7 +2648,7 @@ 1 0 - + {if isset($account.16.user_id)}*97{else}{/if} @@ -2698,7 +2697,7 @@ 0 0 1 - 0 + 2 0 @@ -2784,14 +2783,13 @@ 0 0 1 - 0 + {if isset($account.17.user_id)}1{else}{/if} {$account.17.register_expires} 0 0 1 0 0 - 0 {if $account.17.sip_transport == 'dns srv'}1{/if} {if $account.17.sip_transport == 'dns srv'}1{/if} 0 @@ -2812,7 +2810,7 @@ 1 0 - + {if isset($account.17.user_id)}*97{else}{/if} @@ -2861,7 +2859,7 @@ 0 0 1 - 0 + 2 0 @@ -2947,14 +2945,13 @@ 0 0 1 - 0 + {if isset($account.18.user_id)}1{else}{/if} {$account.18.register_expires} 0 0 1 0 0 - 0 {if $account.18.sip_transport == 'dns srv'}1{/if} {if $account.18.sip_transport == 'dns srv'}1{/if} 0 @@ -2975,7 +2972,7 @@ 1 0 - + {if isset($account.18.user_id)}*97{else}{/if} @@ -3024,7 +3021,7 @@ 0 0 1 - 0 + 2 0 @@ -3110,14 +3107,13 @@ 0 0 1 - 0 + {if isset($account.19.user_id)}1{else}{/if} {$account.19.register_expires} 0 0 1 0 0 - 0 {if $account.19.sip_transport == 'dns srv'}1{/if} {if $account.19.sip_transport == 'dns srv'}1{/if} 0 @@ -3138,7 +3134,7 @@ 1 0 - + {if isset($account.19.user_id)}*97{else}{/if} @@ -3187,7 +3183,7 @@ 0 0 1 - 0 + 2 0 @@ -3273,14 +3269,13 @@ 0 0 1 - 0 + {if isset($account.20.user_id)}1{else}{/if} {$account.20.register_expires} 0 0 1 0 0 - 0 {if $account.20.sip_transport == 'dns srv'}1{/if} {if $account.20.sip_transport == 'dns srv'}1{/if} 0 @@ -3301,7 +3296,7 @@ 1 0 - + {if isset($account.20.user_id)}*97{else}{/if} @@ -3350,7 +3345,7 @@ 0 0 1 - 0 + 2 0 @@ -3612,14 +3607,14 @@ {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 2{/if} - 1 + {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} - 2 + {if isset($fanvil_dst_fixed_type)}{$fanvil_dst_fixed_type}{else}0{/if} 60 1 {if isset($fanvil_location)}{$fanvil_location}{else}4{/if} @@ -3633,8 +3628,6 @@ 5 0 2 - 1 - 2 0 @@ -4149,7 +4142,7 @@ INFO - stdout{if $fanvil_syslog_enable == '1'},syslog{else}{/if} + {if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if} platform.log 512KB platform @@ -4170,7 +4163,7 @@ dps dps 3600 - 0 + 2 020 0 {$fanvil_stun_server}