09-13-2011 05:00 AM - edited 03-14-2019 08:31 AM
Hi,
Im trying to get my script to route depending on what the ANI starts with.
i have tried an IF statement with ANI =="first 3 digits"
But it doesnt see it as true.
It looks like i need something that specifies begiins with?
Cheers
Kev
09-13-2011 05:42 AM
I have found a booleon ?.(starts.with).
But it doesnt seem to take
callerani.startsWith(first 3 dig).
Anyone familiar with the syntax for this?
Thanks
Kev
09-13-2011 05:53 AM
Need quotes.
callerani.startsWith("first 3 dig")
sorted
cheers
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