mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
added the no. 18 regression test
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
40
pbx/ael/ael-test/ael-test18/extensions.ael
Normal file
40
pbx/ael/ael-test/ael-test18/extensions.ael
Normal file
@@ -0,0 +1,40 @@
|
||||
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);
|
||||
};
|
||||
ifTime(3:00-13:00|*|*|*)
|
||||
{
|
||||
NoOp(hello);
|
||||
label1:
|
||||
NoOp(goodbye);
|
||||
}
|
||||
else
|
||||
{
|
||||
NoOp(hithere);
|
||||
label2:
|
||||
NoOp(whatonearth?);
|
||||
}
|
||||
goto label1;
|
||||
goto label2;
|
||||
Hangup();
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user