" /> Outbound preview mode: Problem making 2nd call - Genesys CTI User Forum

Author Topic: Outbound preview mode: Problem making 2nd call  (Read 3142 times)

Remits

  • Guest
Outbound preview mode: Problem making 2nd call
« on: May 17, 2007, 04:10:30 PM »
Advertisement
Hi,

I am having some problems trying to make an outbound call in preview mode.  I am using AIL 7.2.
I am able to make the first call...and mark the call processed.  However, when I move to the next client I get the following DN error:


17 05 11:51:21:039 [    AWT-EventQueue-0] DEBUG              Ail.Dn  CanMakeCall on 5602 is false
17 05 11:51:21:039 [    AWT-EventQueue-0] DEBUG              Ail.Dn  CanMakeCall on 6102 is false

com.genesyslab.ail.exception.NoDnException: There is no available DN for a new call.
at com.genesyslab.ail.core.DnImpl.cg(Unknown Source)


In "handleInteractionEvent"

case interaction.Status.NEW_: 
  - if campaign = preview
        Interaction ixn = event.getInteraction();

In " handleCampaignEvent"
  - I don't really do anything here relating to preview campaign

I have a button to retrieve record the next client:
ie: outBoundRec = campaignInfo.getPreviewRecord();

than a separate button to make the outbound connection to the client displayed:
    interaction = (InteractionVoice) ixn;
    interaction.makeCall("86139521021",     
                      null,  // location  (if call goes to another switch)
                      InteractionVoice.MakeCallType.REGULAR, // Call type
                      null,  // user data
                      null,  // reasons
                      null);  // tExtensions

Then when i make the call processed after client disconnects as follows in handleInteractionEvent

case interaction.Status.IDLE_: 
  voiceOutbound = (InteractionVoiceOutbound) interaction;
  markCallProcessed(voiceOutbound);   


What am I doing wrong....and if someone can give me an example to handle outbound calls in preview mode I would greatly appricate it..for the docs is very limited in this section.
All so in the same transaction...I would like to update the number attempts made...how would I do that..
I don't see a method like I do with CallResult (ie: setCallResult) that I can use to update...I don't believe it's a custom field either.

Thanks for helping.

Remits