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

UCCX 7.X ENH 2 CSQ

I need to call CSQ 1, then if no agents are available for 1 minute escalate it to CSQ 2 but I still need it to be able to be answered by someone in CSQ 1. Basicall if CSQ1 is allbusy send to CSQ1 and CSQ 2. I have it working by using the following code but it causing the reporting to count calls multiple times, basically every time it goes through the loop. Any suggestions would be appreciated:

queueLoop2:
Select Resource (--Triggering Contact-- from CSQ)
   Connected
      Set Contact Info (--Triggering Contact--, handled)
   Queued
      If (Held == 0) Then
          True
             Menu (--Triggering Contact--, QueuePrompt)
                ES
                   Call Redirect (--Triggering Contact-- to ESPhoneNumber)
                      Successful
                          Goto End
                      Busy
                          Goto NoEStrans
                      Invalid
                          Goto NoEStrans
                      Unsuccessful
                          Goto NoEStrans
                Timeout
                Unsuccessful
             Call Hold (--Triggering Contact--)
             Delay DelayWhileQueued sec
             Call Unhold (--Triggering Contact--)
             Set Held = 1
          False
      Menu (--Triggering Contact--, Queue2Prompt)
          ES
             Call Redirect (--Triggering Contact-- to ESPhoneNumber)
                Successful
                   Goto End
                Busy
                   Goto NoEStrans
                Invalid
                   Goto NoEStrans
                Unsuccessful
                   Goto NoEStrans
          Timeout
          Unsuccessful
      Call Hold (--Triggering Contact--)
      Delay DelayWhileQueued sec
      Call Unhold (--Triggering Contact--)
      Select Resource (--Triggering Contact-- from CSQ2)
          Connected
             Set Contact Info (--Triggering Contact--, handled)
          Queued
             Menu (--Triggering Contact--, Queue2Prompt)
                ES
                   Call Redirect (--Triggering Contact-- to ESPhoneNumber)
                      Successful
                          Goto End
                      Busy
                          Goto NoEStrans
                      Invalid
                          Goto NoEStrans

                                  Unsuccessful
                                       Goto NoEStrans
                        Timeout
                        Unsuccessful
                    Call Hold (--Triggering Contact--)
                    Delay DelayWhileQueued sec
                    Call Unhold (--Triggering Contact--)
                    Goto queueLoop2
End:
Terminate (--Triggering Contact--)
End

416
Views
0
Helpful
0
Replies
CreatePlease to create content