Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Area Code in ANI

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
Community Member

Re: Area Code in ANI

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.

Community Member

Re: Area Code in ANI

set areaCode = CustomerCLI.substring(0,3)

and use if or switch after that

130
Views
0
Helpful
3
Replies
CreatePlease to create content