73ae55698f
- 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
28 lines
812 B
Text
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();
|
|
};
|
|
|
|
}
|
|
|