" /> Definity G3 reason codes with ActiveX - Genesys CTI User Forum

Author Topic: Definity G3 reason codes with ActiveX  (Read 4704 times)

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

cpeters

  • Guest
Definity G3 reason codes with ActiveX
« on: January 01, 1970, 12:00:00 AM »
Advertisement
We have a visual basic application that uses the Genesys ActiveX controls.

I have logged the agents in and can put them in Aux but I can't find a way to set the Aux reason code that works.

I have tried TSetAgentIdleReason but can't seem to get that to work.

The only code sample I can find is for c++ and when I try to translate it into vb doesn't seem to work.

has anyone done this succesfully? Do you have an code samples?

Jibby

  • Guest
Definity G3 reason codes with ActiveX
« Reply #1 on: January 01, 1970, 12:00:00 AM »
Are you certain the reasons codes are not being attached? How have you verified this? If its through CC Pulse or CCA you may not have configured the filters on the stat server to interpret the reason codes.

cpeters

  • Guest
Definity G3 reason codes with ActiveX
« Reply #2 on: January 01, 1970, 12:00:00 AM »
I am using Avaya CentreVu Supervisor to confirm the results of the request. So the ocnfiguration of the stat server shouldn't be an issue

Marked as best answer by on Today at 06:23:16 PM

Ernie Barson

  • Guest
Definity G3 reason codes with ActiveX
« Reply #3 on: January 01, 1970, 12:00:00 AM »
  • Undo Best Answer
  • Have you checked the Tserver logs, as my understanding is that you attach data with a Key of _REASON. If that key value pair is there then your problem is not in the code. if it is not there then I suggest you use the Genesys softphone and attach the KV pair to prove that it will work first as that requires no programming effort.

    Mark Newcomb

    • Guest
    Definity G3 reason codes with ActiveX
    « Reply #4 on: January 01, 1970, 12:00:00 AM »
    You may find the following useful....... the notReadyIndex equates to the single digit number in lucent (0 is default).

    Dim reasonpair As New CTKVPair
    Dim reasonlist As New CTKVList

    reasonpair.Key = "ReasonCode"
    reasonpair.Type = CKVTypeNum
    reasonpair.NumValue = notReadyIndex
    reasonlist.AddHead reasonpair
    spTExt.TSetExtensions reasonlist
    spTExt.TAgentWorkMode = auxwork
    spTExt.TNotReady
    set reasonpair = Nothing
    set reasonlist = Nothing

    Hope it helps
    mark