From 2bd45b612bb80cbc55c992aa0024008f1015132c Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 16 May 2019 14:31:16 -0400 Subject: [PATCH 1/2] Update {$mac}.xml --- .../provision/grandstream/gxp2160/{$mac}.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index af9b254ed2..38335230f1 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -138,7 +138,7 @@ - {$account.1.register_expires} + {math equation="x / y" x=$account.1.register_expires y=40} @@ -1073,7 +1073,7 @@ - {$account.2.register_expires} + {math equation="x / y" x=$account.2.register_expires y=40} @@ -2006,7 +2006,7 @@ - 60 + {math equation="x / y" x=$account.3.register_expires y=40} @@ -2939,7 +2939,7 @@ - {$account.4.register_expires} + {math equation="x / y" x=$account.4.register_expires y=40} @@ -3875,7 +3875,7 @@ - {$account.5.register_expires} + {math equation="x / y" x=$account.5.register_expires y=40} @@ -4809,7 +4809,7 @@ - {$account.6.register_expires} + {math equation="x / y" x=$account.6.register_expires y=40} From c50baa3915238d90fd5c951516b34012e39711ea Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 21 May 2019 10:35:44 -0600 Subject: [PATCH 2/2] Update {$mac}.xml --- .../provision/grandstream/gxp2160/{$mac}.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml index 38335230f1..0191f54849 100644 --- a/resources/templates/provision/grandstream/gxp2160/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2160/{$mac}.xml @@ -3,7 +3,7 @@ {$mac|replace:'-':''} - + @@ -138,7 +138,7 @@ - {math equation="x / y" x=$account.1.register_expires y=40} + {$account.1.register_expires} @@ -1073,7 +1073,7 @@ - {math equation="x / y" x=$account.2.register_expires y=40} + {$account.2.register_expires} @@ -2006,7 +2006,7 @@ - {math equation="x / y" x=$account.3.register_expires y=40} + {$account.3.register_expires} @@ -2939,7 +2939,7 @@ - {math equation="x / y" x=$account.4.register_expires y=40} + {$account.4.register_expires} @@ -3875,7 +3875,7 @@ - {math equation="x / y" x=$account.5.register_expires y=40} + {$account.5.register_expires} @@ -4809,7 +4809,7 @@ - {math equation="x / y" x=$account.6.register_expires y=40} + {$account.6.register_expires}