OR Statements

Status
Not open for further replies.

JasonD

Customer
Joined
Jan 20, 2022
Messages
28
Reaction score
1
Can someone list an example of a conditional statement using the OR syntax, we want to check if specific did's are dialed to route to a specific component, the OR command builds but when importing to 3CX it says their is a compilation error. If we remove the OR statement it still builds and now imports to 3CX just fine.

An example would be great, this is our current OR statement OR(session.did,"+13039998888","+13037778888")
 
I've also tried this and again while it compiles fine in the CFD it errors when uploading to 3CX:

OR(EQUAL(session.did,"+18003633818"),EQUAL(session.did,"+13032141402"),EQUAL(session.did,"+13032141440"),EQUAL(session.did,"+13032141489"),EQUAL(session.did,"+13032141491"))
 
Hi,

OR(EQUAL(session.did,"+18003633818"),EQUAL(session.did,"+13032141402"),EQUAL(session.did,"+13032141440"),EQUAL(session.did,"+13032141489"),EQUAL(session.did,"+13032141491"))
as condition should work, I tested it.
 
  • Like
Reactions: edossantos
OR(EQUAL(session.did,"+18003633818"),EQUAL(session.did,"+13032141402"),EQUAL(session.did,"+13032141440"),EQUAL(session.did,"+13032141489"),EQUAL(session.did,"+13032141491"))
This is the way to go.
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,832
Messages
589,284
Members
164,662
Latest member
DejanMDS