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

UCCX 8.5 - Script to ring again and again

Hi all. I'm trying to design a script on a trigger that will call a number, ring for 10 seconds, stop, pause for 3 seconds, and then call that number again.

What I have is this:

[label] Keepcalling

Callcontact = Place Call (to destinationring variable, with my number)

No answer (after 10 seconds)

     Terminate (Callcontact)

     Delay 3 sec

     Go to KeepCalling

 

 

What happens is that it makes the call, but after 10 seconds, it drops the caller to the ringback and then error message. I've set in my terminate command not to drop the caller's call leg, but the one it's making to the destination number, so I'm not sure what I'm missing.

 

Any help would be appreciated, thanks.

3 REPLIES
Super Bronze

HiWhen you 'place call' you

Hi

When you 'place call' you'll notice (if you debug) that the script stops at that point until the call connects or fails. When the script moves on, you can only terminate the outbound call if the call still exists.

One of the properties of the place call step is 'timeout' - this is 10 by default. After those 10 seconds if the call was not answered the call does not exist, so when you terminate it this is a logical error. 

You only need to terminate if you want to hang up a connected call.

In your case, you just need to delete the terminate step.

Aaron

Please rate helpful posts...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
Community Member

That did it, thanks!

That did it, thanks!

Super Bronze

Great stuff - don't forget to

Great stuff - don't forget to mark this thread as 'answered' if you are happy, to help highlight useful responses...

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
75
Views
5
Helpful
3
Replies
CreatePlease to create content