Tag voicemails with UTC time as opposed to local time zone
[asterisk/asterisk.git] / configs / extensions.ael.sample
index 0c09bbc..89436dc 100644 (file)
@@ -3,11 +3,11 @@
 //
 //
 // Static extension configuration file, used by
-// the pbx_config module. This is where you configure all your 
+// the pbx_ael module. This is where you configure all your 
 // inbound and outbound calls in Asterisk. 
 // 
 // This configuration file is reloaded 
-// - With the "extensions reload" command in the CLI
+// - With the "ael reload" command in the CLI
 // - With the "reload" command (that reloads everything) in the CLI
 
 // The "Globals" category contains global variables that can be referenced
@@ -176,6 +176,7 @@ macro ael-dundi-e164(exten) {
 // ARG1 is the extension to Dial
 //
        goto ${exten}|1;
+       return;
 };
 
 //
@@ -275,7 +276,6 @@ context ael-local {
        ignorepat => 9;
        includes {
                ael-default;
-               ael-parkedcalls;
                ael-trunklocal;
                ael-iaxtel700;
                ael-trunktollfree;
@@ -309,15 +309,16 @@ macro ael-std-exten-ael( ext , dev ) {
         Dial(${dev}/${ext},20);
         switch(${DIALSTATUS}) {
         case BUSY:
-                Voicemail(b${ext});
+                Voicemail(${ext},b);
                 break;
         default:
-                Voicemail(u${ext});
+                Voicemail(${ext},u);
         };
         catch a {
                 VoiceMailMain(${ext});
                 return;
         };
+       return;
 };
 
 context ael-demo {
@@ -405,10 +406,10 @@ context ael-default {
 //        Dial(${HINT}/5245},20,rtT);                    // Use hint as listed
 //        switch(${DIALSTATUS}) {
 //        case BUSY:
-//                Voicemail(b6245);
+//                Voicemail(6245,b);
 //                             return;
 //        default:
-//                Voicemail(u6245);
+//                Voicemail(6245,u);
 //                             return;
 //        };
 //       };