Area Code in ANI

Unanswered Question
Mar 4th, 2009
User Badges:

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?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
pgamage Thu, 03/05/2009 - 18:42
User Badges:

Ok, my requirement is not that complex.

get call info (calling number == CustomerCLI)

if (customerCLI --Begins with-- 025)


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

Borkes1985 Thu, 03/05/2009 - 22:27
User Badges:

set areaCode = CustomerCLI.substring(0,3)

and use if or switch after that


This Discussion