Outbound dialer custom script

Version 1

    Subject: Automatic reply: New Message from Gabriel Saavedra in Contact Center Expres
    Replied by: JOHN CHOI on 29-10-2012 06:10:58 PM
    Please note that I'm currently out of town on customer project. If you need immediate assistance, please contact peter.wallace@mtsallstream.com, 905-513-4790. Thank you,
    This document was generated from CDN thread

    Created by: Gabriel Saavedra on 29-10-2012 06:08:48 PM
    I have a custom script that takes a phone number from a database or an xml document, after that I use a place call step to call the phone number and then make a redirect call to another script and connect the customer to one agent. The problem is that I need to validate that if there is no available agent, then my script shouldn't proceed with another outbound call, but when the script calls the first customer and connect with the only available agent and both are talking together, the script is calling the second customer, I don't know why if there is zero ready agents.

    I am attaching the script for you to take a look at it. (please change the file extension to .aef)

    Gabriel.

    Subject: RE: Outbound dialer custom script
    Replied by: Steven Pawlak on 15-02-2013 09:53:19 AM
    There is no script attached.
    You should make sure that in the master outer loop that controls when to call you are getting the AreAgentsReady value each time you loop. Also, you might want to add a delay after you redirect to the agent/queue so that the agent has time to pick up.