Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Check other CSQ before transferring call

Hi, I would like to know if this is possible and if someone has a sample on how to accomplish this.

I would like to do the following:

If a customer is waiting on a queue for more than 5 mins to transfer the call to a different queue if only the other queues have Agents on Ready Status. I would like the script to check the other queues for Agents Ready first before it transfers the call to that queue. Hope someone can help me, thanks.

9 REPLIES
Hall of Fame Super Silver

Re: Check other CSQ before transferring call

Sure you can do this, simply use the Get Reporting Statistics step and check the "Ready Resources" object, store it as a local variable and perform IF statement to check if it's larger than 0, if so select that CSQ otherwise do whatver else you want with the call.

HTH,

Chris

New Member

Re: Check other CSQ before transferring call

Do you have an example? I am trying how to get the variable to look into CSQ2 and not the current CSQ1 it is on.

Hall of Fame Super Silver

Re: Check other CSQ before transferring call

Under "Row Identifier" select the CSQ value of CSQ2 not CSQ1.

Chris

New Member

Re: Check other CSQ before transferring call

I only have CSQ value and my other contact queues do not appear, how do I tell which CSQ it is looking at? Sorry I am new at scripting. Thanks for your help.

Hall of Fame Super Silver

Re: Check other CSQ before transferring call

OK, here is what to do in your script:

define varaibles:

string: CSQ1 == "name of the inital CSQ"

string: CSQ2 == "name of the second CSQ"

integer: intAgentsReady == 0

....

select resource (CSQ1)

queue

....

get reporting statistic (CSQ2, resrouces ready, intAgentsReady)

if intAgentsReady > 0

true

dequeue CSQ1

select resrouce (CSQ2)

...

false

....

HTH,

Chris

New Member

Re: Check other CSQ before transferring call

Thanks Chris, I think I got it. Now one more question please. I first want to check if the customer has been on hold for atleast 5 mins before i check the other CSQ, How would I define the variable to check if the customer has been on hold for atleast 5 mins?

Hall of Fame Super Silver
New Member

Re: Check other CSQ before transferring call

I think I got it, now when I select the Resource for CSQ2 i have the following

contact -> trigger contact

Routing TargetType -> Contact Service Que

CSQ Target -> CSQ2

Connect -> no

Timeout -> 12

resource selected -> _TmpRsrc1163171232265

Now the resource selected is the same as CSQ1, does that matter? Thanks Chris

Hall of Fame Super Silver

Re: Check other CSQ before transferring call

no.

Chris

217
Views
10
Helpful
9
Replies
CreatePlease to create content