Skip to content
Snippets Groups Projects
Commit eb19519c authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

fix macro usage examples (bug #4579)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent f764db2e
No related branches found
No related tags found
No related merge requests found
......@@ -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");
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment