asterisk/pbx/ael/ael-test/ael-test8/extensions.ael

27 lines
811 B
Plaintext
Raw Permalink Normal View History

2023-05-25 18:45:57 +00:00
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();
};
}