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

Area Code in ANI

pgamage
Level 1
Level 1

Hi, We have to check area code in ANI and route it to a selected CSQ. Could you please tell me how to do this? Is it possible to do this with simple Boolean statement?

3 Replies 3

Ok, my requirement is not that complex.

get call info (calling number == CustomerCLI)

if (customerCLI --Begins with-- 025)

True

I dont know how to check only the first 3 digit of customer CLI.

set areaCode = CustomerCLI.substring(0,3)

and use if or switch after that