clean up macro example (bug #4572)
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 22 Jun 2005 19:15:02 +0000 (19:15 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 22 Jun 2005 19:15:02 +0000 (19:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5971 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/extensions.ael.sample

index fff1353..80cd6e7 100755 (executable)
@@ -3,7 +3,7 @@
 //
 
 macro std-exten-ael( ext , dev ) {
-        Dial(${ext}/${dev},20);
+        Dial(${dev}/${ext},20);
         switch(${DIALSTATUS}) {
         case BUSY:
                 Voicemail(b${ext});
@@ -51,7 +51,7 @@ instructions:
                Playback(demo-echodone);
                goto instructions;
        };
-       _1234 => &std-exten-ael(${EXTEN});
+       _1234 => &std-exten-ael(${EXTEN}, "IAX2");
        # => {
                Playback(demo-thanks);
                Hangup();