UCCX Scripting

Unanswered Question
Oct 7th, 2008

Hello All,

Can we use a wild entry to use a state based call routing i,e callers with ANI starting with "02" or "03" to get a seperate routing treatments

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Chawki Salhi Wed, 10/08/2008 - 05:15

Hello,

Yes you can! what you have to do is to collect the ANI and then do a switch on the different values it can take. Don't forget to add a default treatment. Each branch can then be routed specifically.

With best regards,

Chawki

rodneygonsalves Wed, 10/08/2008 - 13:17

Thanks Chawki.

But I was not sure the way the ANI collection should be used i,e

Use the "call contact info" and get the calling number, however should the value (i.e the ANI) can be written as a whole number i,e "0282314000" or "02xxxxxxxx" for all the number starting with 02.

Chris Deren Wed, 10/08/2008 - 06:13

Absolutely, you can callect ANI, and then use IF statemnt such as (ANI.beginswith("02") and ANI.length() = 10) OR (ANI.beginswith("03") and ANI.length() = 10). I may be off on the method syntax, but that's the idea.

HTH,

Chris

rodneygonsalves Wed, 10/08/2008 - 15:24

Thanks Chris.

I was looking for the syntax for the above and unable to get into the scripting guide.

Are then are any other docs that can be referred ?

Thanks

Actions

This Discussion