mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
clean up macro example (bug #4572)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user