From 203bd13186049ccca2eb0da7063cfccda6b83eef Mon Sep 17 00:00:00 2001 From: Loren Moore Date: Sun, 14 Aug 2022 13:20:21 -0400 Subject: [PATCH] Missed label. Fixed. --- README.md | 1 + ajw.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index df50ad0..ceb8302 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ pressing 0. # History ``` +14-AUG-2022 - Fixed missed (goodbye) label in setup context. 12-AUG-2022 - Doesn't write delay if you set Delay to 0. 11-MAY-2022 - Fatal error in accidently escaped character fixed. 07-MAY-2022 - Initial Commit diff --git a/ajw.sh b/ajw.sh index 3629520..8d78154 100644 --- a/ajw.sh +++ b/ajw.sh @@ -12,7 +12,7 @@ setup() { printf "[$name-main]\nexten = s,1,Answer()\nsame =n,Set(VOLUME(TX)=$vol)\nsame = n,Set(c=$name-main)\nsame = n(return),Set(m=1)\nsame = n(loop),Background($rootfolder/$introfile)\n" [ "$delay" -ne 0 ] printf "same = n,WaitExten($delay)\n" -printf "same = n,Set(m=\$[\${m} + 1])\nsame = n,GoToIf(\$[\"\${m}\" < \"$loop\"]?loop)\nsame = n,Background($rootfolder/$goodbye)\nsame = n,Hangup()\n\n" +printf "same = n,Set(m=\$[\${m} + 1])\nsame = n,GoToIf(\$[\"\${m}\" < \"$loop\"]?loop)\nsame = n(goodbye),Background($rootfolder/$goodbye)\nsame = n,Hangup()\n\n" } >> $name-juke.conf album() {