asterisk/pbx/ael/ael-test/ael-test8/extensions.ael
Russell Bryant 73ae55698f merge changes from team/murf/AEL-trunk-fixesonly
- fix callerid matching for extensions
 - fix nested switch statements
 - fix compilation with bison 2.1a or higher
(issue #7309)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 21:36:24 +00:00

28 lines
812 B
Text

context default
{
706/3077610011 => {
JabberStatus(asterisk|jmls@mike,StatusCode);
switch(${StatusCode}) {
case 1:
Dial(SIP/706,12);
switch(${DIALSTATUS}) {
case BUSY:
Voicemail(b706);
break;
default:
Voicemail(u706);
};
BackGround(hello);
break;
default:
Voicemail(u706);
};
Hangup();
};
}