fix macro usage examples (bug #4579)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-06-22 20:08:43 +00:00
parent f764db2e5b
commit eb19519c86

View File

@@ -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. name. A catch block can be specified to catch special extensions.
macro std-exten( ext , dev ) { macro std-exten( ext , dev ) {
Dial(${ext}/${dev},20); Dial(${dev}/${ext},20);
switch(${DIALSTATUS) { switch(${DIALSTATUS) {
case BUSY: case BUSY:
Voicemail(b${ext}); 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. A macro is then called by preceeding the macro name with an ampersand.
context example { context example {
_5XXX => &std-exten(${EXTEN}); _5XXX => &std-exten(${EXTEN}, "IAX2");
}; };