added the no. 18 regression test
authorSteve Murphy <murf@digium.com>
Mon, 26 Mar 2007 22:24:16 +0000 (22:24 +0000)
committerSteve Murphy <murf@digium.com>
Mon, 26 Mar 2007 22:24:16 +0000 (22:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59236 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/ael/ael-test/ael-test18/extensions.ael [new file with mode: 0644]
pbx/ael/ael-test/ref.ael-test18 [new file with mode: 0644]

diff --git a/pbx/ael/ael-test/ael-test18/extensions.ael b/pbx/ael/ael-test/ael-test18/extensions.ael
new file mode 100644 (file)
index 0000000..ee03d59
--- /dev/null
@@ -0,0 +1,40 @@
+context default
+{
+
+706/3077610011 => {
+                 JabberStatus(asterisk|jmls@mike,StatusCode);
+
+                 switch(${StatusCode}) {
+                         case 1:
+                                 Dial(SIP/706,12);
+                                 switch(${DIALSTATUS}) {
+                                        case BUSY:
+                                                 Voicemail(b706);
+                                                 break;
+                                        default:
+                                         Voicemail(u706);
+                                 };
+                                BackGround(hello);
+                                 break;
+                         default:
+                                 Voicemail(u706);
+                 };
+               ifTime(3:00-13:00|*|*|*)
+               {
+                       NoOp(hello);
+                       label1:
+                       NoOp(goodbye);
+               }
+               else
+               {
+                       NoOp(hithere);
+                       label2:
+                       NoOp(whatonearth?);
+               }
+               goto label1;
+               goto label2;
+                 Hangup();
+         };
+
+}
+
diff --git a/pbx/ael/ael-test/ref.ael-test18 b/pbx/ael/ael-test/ref.ael-test18
new file mode 100644 (file)
index 0000000..8e8eb42
--- /dev/null
@@ -0,0 +1,12 @@
+
+(If you find progress and other non-error messages irritating, you can use -q to suppress them)
+
+(You can use the -w option to dump extensions.conf format to extensions.conf.aeldump)
+LOG: lev:2 file:pbx_ael.c  line:3970 func: pbx_load_module  Starting AEL load process.
+LOG: lev:2 file:pbx_ael.c  line:3977 func: pbx_load_module  AEL load process: calculated config file name './extensions.ael'.
+LOG: lev:2 file:pbx_ael.c  line:3985 func: pbx_load_module  AEL load process: parsed config file name './extensions.ael'.
+LOG: lev:2 file:pbx_ael.c  line:3988 func: pbx_load_module  AEL load process: checked config file name './extensions.ael'.
+LOG: lev:2 file:pbx_ael.c  line:3990 func: pbx_load_module  AEL load process: compiled config file name './extensions.ael'.
+LOG: lev:2 file:pbx_ael.c  line:3993 func: pbx_load_module  AEL load process: merged config file name './extensions.ael'.
+LOG: lev:2 file:pbx_ael.c  line:3996 func: pbx_load_module  AEL load process: verified config file name './extensions.ael'.
+LOG: lev:4 file:ael2_parse  line:483 func: main  1 contexts, 5 extensions, 25 priorities