Tag voicemails with UTC time as opposed to local time zone
[asterisk/asterisk.git] / configs / extensions.ael.sample
index 59bd4bd..89436dc 100644 (file)
@@ -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;
 //        };
 //       };