Hi
I am using the 7.2 ActiveX SDK to embed telephony functionality on our inhouse CRM programm.
The company has been using the 5.1 CTI version and we upgraded to 7.6 to implement the predictive dialing mode.
So far the preview mode was custom made through the CRM database using only the basic telephony events and commands(Tdial and so on).
We have managed to implement preview dialing and all the needed functionality through the api (addrecord recuests, predictive callbacks and so on) , but it seems that we are hiting the wall when trying to issue PreviewRecordRequest .
Sniffing trough the OCS logs that request is never actually registered and we receive only a eventACK from the Tserver.
Below is the sub implementing the request
[code]Public Sub PreviewRecordRequest(CampaignName As String)
Dim MyUserData As TEventInfo
Dim mypair As CTKVPair
Dim myData As CTKVList
Set MyUserData = New TEventInfo
Set myData = New CTKVList
myData.Clear
Set mypair = New CTKVPair
mypair.Key = "GSW_AGENT_REQ_TYPE"
mypair.Type = CKVTypeString
mypair.StringValue = "PreviewRecordRequest"
myData.AddHead mypair
Set mypair = New CTKVPair
mypair.Key = "GSW_APPLICATION_ID"
mypair.Type = CKVTypeNum
mypair.NumValue = GSW_APPLICATION_ID
myData.Insert myData.GetCount + 1, mypair
Set mypair = New CTKVPair
mypair.Key = "GSW_CAMPAIGN_NAME"
mypair.Type = CKVTypeString
mypair.StringValue = "Pilot_20080702"
myData.AddTail mypair
GenesysControls.my_Extension.TSendUserEvent MyUserData
End Sub[/code]
The above coding logic is used in every other request we make and works like a charm.
Any idea what might be wrong in this case? (FYI : Preview requests through the GAD web interface are working)