cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
342
Views
0
Helpful
3
Replies

how to put multiple CallingLineID in the IF node.

kavle
Level 3
Level 3

we want mulitple ANIs to be sent to staright disconnect on the script .

so is there a way to put multiple ANIs on the IF node using """Call.CallingLineID==123456789"""" like this.

currently i am able to get only one number working , I tried && and || (AND and OR) , but not working

3 Replies 3

Piyush Verma
Level 4
Level 4

This should work on a IF node in the ICM script. or you can also use that same string in a custom function.

Call.CallingLineID=="123456789"||Call.CallingLineID=="12345"||Call.CallingLineID=="123451"

You can do how Piyush mentioned, but if this is something that you'll want to apply to many other scripts, you might want to consider doing it in other methods (i.e. use a custom function, use a CVP/VXML application, etc.). Basically, so that if you have to add 2 new numbers, you don't always have to touch a ton of UCCE scripts. Hope this helps.

kavle
Level 3
Level 3

Thank you .. I did it this way

if(Call.CallingLineID=="13131313131","BLOCK",if(Call.CallingLineID=="12121212121","BLOCK","ALLOW"))

and connected to IF node next and got it working.