UCCX Script help

Answered Question
Feb 3rd, 2010
User Badges:

What the script trys to accomplish,  & I cant seem to figure out.

Someone calls in if their ANI is recognized (check against a database of numbers for authentication) - send them to another piece of the script.

 

Seems easy but I do not know how to:


1 automatically confirm the digits I.E. compare string from database to ANI


2. Once confirmed automatically send them to the second piece of the script, using location info from database.


Ex. So if I call into the script it knows my cell phone and recognized me and knows Im calling in from the new jersey (because thats in the database) and sends me to the new jersey label in the script.


Database has phonenumbers and location info in it. Can this be done? any insight would help. Im running ccm 7 and UCCX 7.




Julius

Correct Answer by Nathan Luk about 7 years 4 months ago

Sounds pretty straight forward.


  • Create labels for each point in the script you want each location to jump to.
  • Add a Get Call Contact Info step and assign the calling number to a variable.
  • Do a DB Get into the database to search for the ANI, assign the location to another variable if it's matched
  • Do a Switch on the location and for each location in the switch, put a GoTo the appropriate label.
  • Chuck the script in reactive mode and put a call through it to make sure your database has numbers formatted correctly matching what is getting presented as the ANI from the gateways.


Hope that helps.


Cheers,

Nathan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Nathan Luk Wed, 02/03/2010 - 17:36
User Badges:
  • Bronze, 100 points or more

Sounds pretty straight forward.


  • Create labels for each point in the script you want each location to jump to.
  • Add a Get Call Contact Info step and assign the calling number to a variable.
  • Do a DB Get into the database to search for the ANI, assign the location to another variable if it's matched
  • Do a Switch on the location and for each location in the switch, put a GoTo the appropriate label.
  • Chuck the script in reactive mode and put a call through it to make sure your database has numbers formatted correctly matching what is getting presented as the ANI from the gateways.


Hope that helps.


Cheers,

Nathan

JULIUS KINSLER Thu, 02/04/2010 - 07:00
User Badges:

Thanks nathan,


I was able to figure it out yesterday, but I used if statements. I think your suggestion of a switch might be a little more efficient. Thanks for the reply.


Julius

Actions

This Discussion

Related Content