cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1962
Views
10
Helpful
5
Replies

UCCX Disconnect The Call After Specific Queue Time

m.sabir71
Level 1
Level 1

Hi,

I'm using UCCX11.5 and i want to disconnect the call if the customer exceed 5 Mins of waiting in the Queue how can i do this one 

Thanks. 

5 Replies 5

Anthony Holloway
Cisco Employee
Cisco Employee

You will need:

  • int type variable to store the queue time in (it's in the number of seconds)
  • Get Reporting Statistics step to store the queue time in your int type variable
  • If step to compare the queue time to the threshold
  • Terminate step to disconnect the call
  • Optional, a loop to keep checking the time every so oftern (E.g., 1 minute intervals)

Example:

Select Resource
  Connected
    End
  Queued
    Label The Top
    queue_time = Get Reporting Statistics (Current Wait Duration)
    If (queue_time >= 300)
      True
        /* Caller has waited 5 or more minutes, drop 'em */
        Terminate
Delay 60 sec Goto The Top

 

Dear Anthony Holloway ,

Can you send the steps cuz this is the first time for me with scripting 

Thanks for your support. 

I have highlighted the steps in red.

 

Select Resource
  Connected
    End
  Queued
    Label The Top
    queue_time = Get Reporting Statistics (Current Wait Duration)
    If (queue_time >= 300)
      True
        /* Caller has waited 5 or more minutes, drop 'em */
        Terminate
    Delay 60 sec
    Goto The Top

Thanks its works

Hi Anthony on the CUCCX Editor how can i add the below to the if condition ? Can you show me on the Editor what to select , thanks

 

queue_time >= 300

  CUCCX Editor.PNG