From 0512d9040b74552400fad2b4e9e5131526bf911b Mon Sep 17 00:00:00 2001
From: chansizzle <14916599+chansizzle@users.noreply.github.com>
Date: Wed, 19 Aug 2020 18:58:50 -0600
Subject: [PATCH] Update {$mac}.cfg (#5414)
small discrepancies fixed
---
.../templates/provision/fanvil/x5u/{$mac}.cfg | 47 +++++++++----------
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/resources/templates/provision/fanvil/x5u/{$mac}.cfg b/resources/templates/provision/fanvil/x5u/{$mac}.cfg
index c7f918906c..9e423a47c1 100644
--- a/resources/templates/provision/fanvil/x5u/{$mac}.cfg
+++ b/resources/templates/provision/fanvil/x5u/{$mac}.cfg
@@ -926,7 +926,7 @@
- {if isset($fanvil_ringtone_line)}{$fanvil_ringtone_line6}{else}default{/if}
+ {if isset($fanvil_ringtone_line6)}{$fanvil_ringtone_line6}{else}default{/if}
2
30
0
@@ -994,7 +994,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -1151,7 +1151,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -1308,7 +1308,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -1465,7 +1465,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -1588,7 +1588,6 @@
{if $account.10.sip_transport == 'udp'}0{/if}
{if $account.10.sip_transport == 'tcp'}1{/if}
{if $account.10.sip_transport == 'tls'}2{/if}
- 0
0
0
@@ -1623,7 +1622,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -1780,7 +1779,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -1937,7 +1936,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -2094,7 +2093,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -2251,7 +2250,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -2408,7 +2407,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -2565,7 +2564,7 @@
PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB
-
+ {if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}
0
@@ -2665,8 +2664,8 @@
0
0
0
- 1
- 1
+ {$fanvil_default_answer_mode}
+ {$fanvil_default_dial_mode}
0
1
1
@@ -2704,12 +2703,12 @@
-1
- Type 1
+ {if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if}
-1
- Type 1
+ {if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 1{/if}
@@ -2866,7 +2865,7 @@
send;2aB;delete;exit;
delete;xfer;send;exit;
send;2aB;delete;exit;
- history;status;none;none;none;
+ {if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if}
pline;nline;none;none;none;
none;none;voldown;volup;none;
status;none;none;none;reset;
@@ -3498,12 +3497,12 @@
INFO
- stdout
+ {if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if}
platform.log
512KB
platform
- 0.0.0.0
- 514
+ {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
@@ -3522,8 +3521,8 @@
0
020
0
-
- 3478
+ {$fanvil_stun_server}
+ {$fanvil_stun_port}
30000
@@ -3628,7 +3627,7 @@
1
5
{if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if}
-
+ {$fanvil_firmware_config}
5
1
1