Dear members!
I'm implementing an application (VB.NET) that is supposed to collect ACD object events using RTI (Release 1.2.0). I have been successful in connecting to the server - and collecting the present objects.
However, I do not know how to handle subscriptions.
For instance, I have been able to connect to an acd object with the following code (italic):
Public Function ConnectToAcd(ByVal objType As Integer, ByVal objectkey As Integer) As String
Dim ObjectToGet As Object
Dim InterfaceState As Integer
Dim test As String = ""
Try
' ObjectKey : from a previous call to GetObjectist.
'ObjType : In this case AutmHdr.ObjectType.AgentObject
_result = _server.GetObject(objType, objectkey, ObjectToGet)
' Connects the object to the notification services.
_result = ObjectToGet.Connect(_notifReceiver)
' Retrieves the state of the interface.
_result = ObjectToGet.GetInterfaceState(InterfaceState)
_result = ObjectToGet.SubscribeToData(AutmHdr.AgentInfo.Agent_PhoneState)
Catch ex As Exception
test = ex.Message
End Try
Return test
End Function
ObjectToGet.SubscribeToData(AutmHdr.AgentInfo.Agent_PhoneState) returns ACD_S_OK which indicates that a subscription has been initialized.
But what object is receiving the phone state changes? I'm lost here, and I cannot find any help in the SDK documentation.
Please advice. Any assistance would be highly appreciated!
Kind regards,
Fred
Real Time Interface
-
Freang
Re: Real Time Interface
Ok. I have managed to connect and receive events.
However, it seems like only the EventReceiver class is getting updated.
For instance, if I set up a Pilot_ServiceLevel subscription on Pilot X the Eventreceiver triggers DataUpdateStart and DataUpdateEnd.When DataUpdateStart is being triggered the documentation is stating that "Data notifications (DataReceiver client interface) will soon arrive". But no information is being sent to the DataReceiver, I assume the DataReceiver sub Data is supposed to get called by the server.
Both classes (DataReceiver and EventReceiver) are ComVisible.
When connecting to both the DataReceiver and EventReceive the interfacestate is ACD_S_OK.
Does anyone of you know why the DataReceiver isn't getting updated?
Any advice is highly appreciated!
/Fred
However, it seems like only the EventReceiver class is getting updated.
For instance, if I set up a Pilot_ServiceLevel subscription on Pilot X the Eventreceiver triggers DataUpdateStart and DataUpdateEnd.When DataUpdateStart is being triggered the documentation is stating that "Data notifications (DataReceiver client interface) will soon arrive". But no information is being sent to the DataReceiver, I assume the DataReceiver sub Data is supposed to get called by the server.
Both classes (DataReceiver and EventReceiver) are ComVisible.
When connecting to both the DataReceiver and EventReceive the interfacestate is ACD_S_OK.
Does anyone of you know why the DataReceiver isn't getting updated?
Any advice is highly appreciated!
/Fred
-
Freang
Re: Real Time Interface
Ok,
I have managed to implement a working solution. The application collects all CCS object state changes, and saves the to a SQL database. However, at one of my clients the application has started to throw ACD_E_NOTOKEN whenever trying to run the GetObjectList command on the server. The client has upgraded their CCS to version 9.0.90.10, and the problems started occurring after the upgrade. Does anyone perhaps have an idea on what could be causing this?
Kind regards,
Fredrik
I have managed to implement a working solution. The application collects all CCS object state changes, and saves the to a SQL database. However, at one of my clients the application has started to throw ACD_E_NOTOKEN whenever trying to run the GetObjectList command on the server. The client has upgraded their CCS to version 9.0.90.10, and the problems started occurring after the upgrade. Does anyone perhaps have an idea on what could be causing this?
Kind regards,
Fredrik
-
Freang
Re: Real Time Interface
I'm actually willing to share my source to anyome that can assists in resolving this.
/Fred
/Fred
-
reflexes
Re: Real Time Interface
Hi, I'm c# junior developer. How can i find RTI SDK c# sample code "ACD, Agent phone state, etc..."
Best regards
Jonathan
Best regards
Jonathan
-
Freang
Re: Real Time Interface
Hi Jonathan,
I'm sorry to say that what you are asking for is nowhere to be found. As you can see from my previous posts, noone here is willing to share anything when it comes to Alcatel RTI development. However, they will start whispering if they could have your code as soon as you show any progress.
Alcatel be happy to assist for approx 5000 euro per year (AAPP membership).
This said, you simply need to develop it yourself (from the RTI SDK in the CCS folder).
On a second thought.... Send me a private message, describing the purpose of your application along with your e-mail address. I might be interresting in getting you started after all.
I might have stopped believeing in this forum, but I have not stopped believing in what could be acheived by sharing experiences.
Regards,
Fredrik
I'm sorry to say that what you are asking for is nowhere to be found. As you can see from my previous posts, noone here is willing to share anything when it comes to Alcatel RTI development. However, they will start whispering if they could have your code as soon as you show any progress.
Alcatel be happy to assist for approx 5000 euro per year (AAPP membership).
This said, you simply need to develop it yourself (from the RTI SDK in the CCS folder).
On a second thought.... Send me a private message, describing the purpose of your application along with your e-mail address. I might be interresting in getting you started after all.
I might have stopped believeing in this forum, but I have not stopped believing in what could be acheived by sharing experiences.
Regards,
Fredrik
-
sirius324
Re: Real Time Interface
Hello Fredrik,Freang wrote:Hi Jonathan,
I'm sorry to say that what you are asking for is nowhere to be found. As you can see from my previous posts, noone here is willing to share anything when it comes to Alcatel RTI development. However, they will start whispering if they could have your code as soon as you show any progress.
Alcatel be happy to assist for approx 5000 euro per year (AAPP membership).
This said, you simply need to develop it yourself (from the RTI SDK in the CCS folder).
On a second thought.... Send me a private message, describing the purpose of your application along with your e-mail address. I might be interresting in getting you started after all.
I might have stopped believeing in this forum, but I have not stopped believing in what could be acheived by sharing experiences.
Regards,
Fredrik
sounds like have come along way. I'm not sure why the PM function is disabled for me - but feel free to send me an Email to "sirius" @ "mynnga" D0T de
Thank you so much upfront.
