09-06-2022 07:59 AM
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
09-06-2022 10:34 AM
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"
09-06-2022 12:12 PM
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.
09-06-2022 06:03 PM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide