Displaying 1 result from an estimated 1 matches for "aretheyhere".
2007 Jan 23
0
AEL parse failure on 1.2.14
Am I doing something really stupid in this AEL macro, or is nesting an
'if' inside a 'switch', inside an 'if' not supported in the 1.2 AEL
parser?
macro stdexten( ext , dev ) {
// First determine if the SIP peer is registered here
Set(aretheyhere=${SIPPEER(${ext}:status)});
if(${aretheyhere:0:2}) == "OK") {
MixMonitor(${UNIQUEID}.wav|b);
Dial(${dev},30);
switch(${DIALSTATUS}) {
case BUSY:
MailboxExists(${ext});
if("...