From: Kevin P. Fleming Date: Wed, 22 Jun 2005 20:08:43 +0000 (+0000) Subject: fix macro usage examples (bug #4579) X-Git-Tag: 1.2.0-beta1~408 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb19519c8631330e26789a761e108dcade2aec9c;p=thirdparty%2Fasterisk.git fix macro usage examples (bug #4579) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5974 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/doc/README.ael b/doc/README.ael index b1b72d837b..ed209bb3c2 100755 --- a/doc/README.ael +++ b/doc/README.ael @@ -177,7 +177,7 @@ specified with the name of the macro. They are then reffered to by that same name. A catch block can be specified to catch special extensions. macro std-exten( ext , dev ) { - Dial(${ext}/${dev},20); + Dial(${dev}/${ext},20); switch(${DIALSTATUS) { case BUSY: Voicemail(b${ext}); @@ -194,7 +194,7 @@ macro std-exten( ext , dev ) { A macro is then called by preceeding the macro name with an ampersand. context example { - _5XXX => &std-exten(${EXTEN}); + _5XXX => &std-exten(${EXTEN}, "IAX2"); };