Need simple True/ False Lookup

Unanswered Question
Aug 27th, 2007

I'm over my head in trying to figure out how to collect the ANI from a call, strip down to the area code only, compare this to an xml document and return a true or false.

I know some of you pro's can do this one in your sleep?


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
JavierFT1 Wed, 08/29/2007 - 07:41

To strip items off of the number you will need to use a Java step.

Take the number and put it into a variable, then pull across the Execute Java Method and since the number is down in a string variable you will have that as a variable type here. When you go to the second tab "Explore Class information" Pick the following method "public String substring(int,int)"

This will give you 2 arguments, the first should be 0 the second will be 3. This will give you the first 3 numbers wich are the area code.




This Discussion