mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Remove deprecated syntax from sample ael file
Reported and patched by: dimas Closes issue #10967 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@85536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -309,10 +309,10 @@ macro ael-std-exten-ael( ext , dev ) {
|
|||||||
Dial(${dev}/${ext},20);
|
Dial(${dev}/${ext},20);
|
||||||
switch(${DIALSTATUS}) {
|
switch(${DIALSTATUS}) {
|
||||||
case BUSY:
|
case BUSY:
|
||||||
Voicemail(b${ext});
|
Voicemail(${ext},b);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Voicemail(u${ext});
|
Voicemail(${ext},u);
|
||||||
};
|
};
|
||||||
catch a {
|
catch a {
|
||||||
VoiceMailMain(${ext});
|
VoiceMailMain(${ext});
|
||||||
@@ -405,10 +405,10 @@ context ael-default {
|
|||||||
// Dial(${HINT}/5245},20,rtT); // Use hint as listed
|
// Dial(${HINT}/5245},20,rtT); // Use hint as listed
|
||||||
// switch(${DIALSTATUS}) {
|
// switch(${DIALSTATUS}) {
|
||||||
// case BUSY:
|
// case BUSY:
|
||||||
// Voicemail(b6245);
|
// Voicemail(6245,b);
|
||||||
// return;
|
// return;
|
||||||
// default:
|
// default:
|
||||||
// Voicemail(u6245);
|
// Voicemail(6245,u);
|
||||||
// return;
|
// return;
|
||||||
// };
|
// };
|
||||||
// };
|
// };
|
||||||
|
Reference in New Issue
Block a user