fix macro usage examples (bug #4579)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Kevin P. Fleming 20 years ago
parent f764db2e5b
commit eb19519c86

@ -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");
};

Loading…
Cancel
Save