From 4659cbdaff989be58b86afbb8db91281a4be1d2c Mon Sep 17 00:00:00 2001 From: Len Date: Thu, 16 May 2019 14:26:09 -0400 Subject: [PATCH 1/2] Update {$mac}.xml --- .../provision/grandstream/gxp2170/{$mac}.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index cb8e5eebc1..76df25a033 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml @@ -138,7 +138,7 @@ - {$account.1.register_expires} + {math equation="x / y" x=$account.1.register_expires y=40} @@ -1073,7 +1073,8 @@ - {$account.2.register_expires} + {math equation="x / y" x=$account.2.register_expires y=40} + @@ -2006,7 +2007,7 @@ - 60 + {math equation="x / y" x=$account.3.register_expires y=40} @@ -2939,7 +2940,7 @@ - {$account.4.register_expires} + {math equation="x / y" x=$account.4.register_expires y=40} @@ -3875,7 +3876,7 @@ - {$account.5.register_expires} + {math equation="x / y" x=$account.5.register_expires y=40} @@ -4809,7 +4810,7 @@ - {$account.6.register_expires} + {math equation="x / y" x=$account.6.register_expires y=40} From 80409fd2a564dbee0867989df540aa7e89a75ee9 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 21 May 2019 10:37:56 -0600 Subject: [PATCH 2/2] Update {$mac}.xml --- .../provision/grandstream/gxp2170/{$mac}.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml b/resources/templates/provision/grandstream/gxp2170/{$mac}.xml index 76df25a033..54a2fac351 100644 --- a/resources/templates/provision/grandstream/gxp2170/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp2170/{$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} @@ -2007,7 +2007,7 @@ - {math equation="x / y" x=$account.3.register_expires y=40} + {$account.3.register_expires} @@ -2940,7 +2940,7 @@ - {math equation="x / y" x=$account.4.register_expires y=40} + {$account.4.register_expires} @@ -3876,7 +3876,7 @@ - {math equation="x / y" x=$account.5.register_expires y=40} + {$account.5.register_expires} @@ -4810,7 +4810,7 @@ - {math equation="x / y" x=$account.6.register_expires y=40} + {$account.6.register_expires}