Script question - a call to certain agent

Unanswered Question
Apr 27th, 2009
User Badges:


I have the request from my customer:

They have contact center, UCCX premium, and their's main customers want to talk always with the same agents, but if they are busy than the call can go to some other agent.

How it is possible to solve this?

Some example maybe?

Thanks a lot,


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jonathan Schulenberg Mon, 04/27/2009 - 11:28
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

In current versions of CCX there is a feature called Agent-Based Routing. The same Select Resource step is used but you provide a specific user ID for a resource instead of a CSQ name. The Select Resource step will have a Connected and Failed branch in that case. Within the Failed branch you would then add a second Select Resource to put the caller in a normal CSQ.

Chris Deren Mon, 04/27/2009 - 12:09
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

Yes, it's definitely doable. The question is how do you want to determine if the customer called?

You can do this based on caller ID for example.

Agent-Based routing is a good idea, however it does not support queueing and there is no way to report on these calls well, so if your requirement is also to queue to this agent I would suggest creating new CSQ just for this agent, and if you need to overflow the calls to another queue you simply build nested select resource logic in your script.



vjemin Tue, 04/28/2009 - 07:17
User Badges:


so all my configuration should be in the script?

Do you have some example of these scripts?

Assume that the customer is determined by his phone number. So, I should have some database (.txt file) where I can find that number and his agent. That is first problem to solve.

The second one is, when my agent is not available to answer, the call should be routed to some other agent. How to configure this?


Jonathan Schulenberg Tue, 04/28/2009 - 17:40
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

One note about creating a CSQ by agent: The MCS hardware will have a maximum supported CSQs. If you have to do much of this you could easily reach your limit so be cautious about that.

Regarding the database: You can use an XML file and search it using XPath or a SQL database and use a standard SQL query.

As for "when my agent is not available to answer, the call should be routed to some other agent": Do you mean you want a linear list of people to try one at a time; or, a general CSQ if the initial person is not available?

If the former, you could possibly use resource group-based routing for this depending on how many unique "groups" (lists) you needed.

Either way, you would add a second, nested CSQ within the first Select Resource that attempted a resource.


Select Resource (resourceID)


----Goto END


----Select Resource (csqID1)


--------Goto END

------Queued queued logic here...

nikolaas.noyez@... Tue, 05/05/2009 - 03:47
User Badges:

We use exactly the same feature... call comes in, database gives 1 or 2 user-logins for this customer, if they are not available, we go to the group

in order to use the 'Select Resource' step for agent based routing you need a 'User' object. The 'Get User' step transforms the agent login to a User object. We have noticed that this could take a couple of seconds. ( so for 2 preferred agents = twice the time )

That's why we now start by getting the reporting statistic for the agent login, and when this returns 'ready', then we get the User object and select the resource.

We don't use nested 'Select Resource' steps, because the agents all have skills for the backup-group and if none of the preferred agents are ready, we simply don't do the first 'Select Resource' Step( agent based ).

So far, no problems with this setup, except reporting not beïng all that clear


This Discussion