Call.CallingLineID in Script Editor

Unanswered Question
Feb 17th, 2004
User Badges:

How do I in script editor (ICM 4.6.2) do the following:


if the ANI (Call.CallingLineID) is less than 10 digits, then go to one set of logic and if ANI is equal to 10 digits then go to another set of logic. I tried doing an “if” box with “len(Call.CallingLineID)=10” and all calls “pass”. The object Call.CallingLineID is always 10 in length. I want to be able to say that if my ANI is less than 10 digits, don't consider it for a certain set of logic.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
downeys Mon, 02/23/2004 - 01:50
User Badges:

Are you using ANI Masking? If so what charachter are you using? Instead of using len you could use the function right to examine the last charachter to see if it is blank or * for instance. e.g. if right(Call.CallingLineID)=*


Regards

Sam

Actions

This Discussion