Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

UCCX 9.0.2 - Agent state problems when Default script is execute

Unanswered Question
Jul 29th, 2013
User Badges:


I need some help on that problem.

I created a special script I want to use as the default script in my application. When I use this special script as the main script, everything is fine.

But when I use this special script as the "default script" in my application, desabled the main script to force my special script to be executed, I have problems with the agent's states.

--> When my agent receives the call from UCCX,  he becomes in reserved state but when he answers the call, instead of going in talking state, it goes to available state.  The UCCX do not further monitor the call.  The only way to hang up the call is with the telephone. 


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
celine.jeannott... Mon, 07/29/2013 - 18:33
User Badges:


Thank for the information, I will read this chapter.

In my default script, I used the Set Enterprise Call Info to display the message to the agents :

Message1 : Default script in used

Message2:  Please advise your administrator

Message3 : An action need to be taken.

I will see then what can I do.

Anthony Holloway Mon, 07/29/2013 - 12:40
User Badges:
  • Purple, 4500 points or more

The default scripts are not meant to be used as call routing scripts.  The intention is to allow you to gracefully bow out of the call, with a customized and friendly error message, versus the default Cisco message.


Remember that the purpose of the default script is to gracefully terminate the call when the main script fails, not to have a fall back to provide the original services intended by the primary script. This distinction is important because using system resources to execute this default script may impair system performance. If the primary script fails too often, then you should fix the primary script rather than providing another script to attempt the same task.

Source: UCCX Getting Started with Scripts, Chapter 5 - Advanced Scripting Techniques, Section Advanced Error Handling, Subsection Using Default Scripts

Good Example


Accept (--Triggering Contact--)

Play Prompt (--Triggering Contact--, P[whoops.wav] + DP[3000])

Terminate (--Triggering Contact--)


EDIT: August 1, 2013 - I just learned a new trick.  If you need to only play a single prompt as your default script, as in the above "good example", then UCCX has a way to do this without creating a new default script, and setting it on every single application.  You upload your prompt to the repository with the filename: "unrecov_error.wav".  You can even have one per language!  That's pretty cool!

Bad Example


Accept (--Triggering Contact--)


...check for holidays...

...check business hours...

...deliver main menu of 7 choices...

...ask caller for account number...

...perform DB lookup on account number...

...check agents logged in...

...select resource...

...queue the caller for 5 minutes...

...route call to agent...


I'm not saying this is why you are seeing the weird behavior, I'm just trying to inform you that you shouldn't be routing calls to Agents in your default script.

Anthony Holloway

Please use the star ratings to help drive great content to the top of searches.


This Discussion

Related Content