|
If you need a fast solution put two gotoif statements in a row, one to check for the first condition, another to check for the next, you can leave out the redirect If the condition is not matched so it just goes to the next priority.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Keith O'Brien
I am having some trouble implementing OR login in the GotoIf statement. I have followed the examples in the Wiki and I still am getting a syntax error.
Essentially I want to screen for CallerIDs set for "Anonymous" OR "Unknown Caller". If either of these are true I want to send it to statement 3 which clears the CallerID and proceeds to Privacy Manager.
I have also tried removing and adding quotes to no avail. I am running the 6/7/2005 CVS Head.
exten => 5000,1,NoOp,${CALLERIDNAME} -- Executing NoOp("IAX2/[EMAIL PROTECTED]:4569-2", "Anonymous") in new stack |
_______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
