We are working with the .NET DMCC API and the BDE simulator. Our application successfully performs the StartApplicationSession, GetDeviceId, and RegisterTerminal. But when we then attempt to logon the agent with the SetAgentState API, we are getting an invalidDeviceID error. Our client implementation is actually a restart of a previous development effort for a customer that cancelled out of the contract at that time. The point being that this portion of the code used to function properly, so we are at a loss as to what might be wrong (configuration or otherwise). We do have a new installation of the BDE.
Our response documents:
StartApplicationSession:
<?xml version="1.0" encoding="UTF-8"?><StartApplicationSessionPosResponse xmlns="http://www.ecma-international.org/standards/ecma-354/appl_session"><sessionID>65C3B3FC3C8DAE6A72F05EB98D4026C1-17</sessionID><actualProtocolVersion>http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv5</actualProtocolVersion><actualSessionDuration>180</actualSessionDuration></StartApplicationSessionPosResponse>
GetDeviceId:
GetDeviceIdResponseArgs.getUserState = Soleo.AgentPlatform.Plugins.Avaya.Source.Servers.AsyncRequest.DeviceAPI.DeviceGetDeviceID
GetDeviceIdResponseArgs.getError =
GetDeviceIdResponseArgs.Device.Phone.getMediaMode = UNDEFINED
GetDeviceIdResponseArgs.Device.Phone.getRegistered = False
GetDeviceIdResponseArgs.Device.Phone.getDevice = Avaya.ApplicationEnablement.DMCC.Device
GetDeviceIdResponseArgs.Device.Phone.getMedia = Avaya.ApplicationEnablement.DMCC.Media
GetDeviceIdResponseArgs.Device.getExtension = 40001
GetDeviceIdResponseArgs.Device.getDeviceIdAsString = 40001:cmsim:0.0.0.0:0
GetDeviceIdResponseArgs.Device.ServiceProvider.LicenseResult =
GetDeviceIdResponseArgs.Device.ServiceProvider.getActualProtocolVersion =
http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv5
GetDeviceIdResponseArgs.Device.ServiceProvider.getSessionId = 65C3B3FC3C8DAE6A72F05EB98D4026C1-17
GetDeviceIdResponseArgs.Device.ServiceProvider.getXmlProcessor = Avaya.ApplicationEnablement.DMCC.XmlProcessor
GetDeviceIdResponseArgs.Device.ServiceProvider.GetCallInformationLink = Avaya.ApplicationEnablement.DMCC.CallInformationLink
GetDeviceIdResponseArgs.Device.ServiceProvider.getThirdPartyCallController = Avaya.ApplicationEnablement.DMCC.ThirdPartyCallController
GetDeviceIdResponseArgs.getInvokeId = 2
RegisterTerminal:
RegisterTerminalResponseArgs.getSignallingEncryption = challenge
RegisterTerminalResponseArgs.getCode = 1
RegisterTerminalResponseArgs.getReason = <null>
RegisterTerminalResponseArgs.getUserState = Soleo.AgentPlatform.Plugins.Avaya.Source.Servers.AsyncRequest.PhoneAPI.PhoneRegisterTerminal
RegisterTerminalResponseArgs.getError =
RegisterTerminalResponseArgs.getInvokeId = 5
RegisterTerminalResponseArgs.Phone.getMediaMode = NONE
RegisterTerminalResponseArgs.Phone.getRegistered = True
RegisterTerminalResponseArgs.Phone.Device.getPhone = Avaya.ApplicationEnablement.DMCC.Phone
RegisterTerminalResponseArgs.Phone.Device.getExtension = 40001
RegisterTerminalResponseArgs.Phone.Device.getDeviceIdAsString = 40001:cmsim:0.0.0.0:0
RegisterTerminalResponseArgs.Phone.Device.ServiceProvider.LicenseResult =
RegisterTerminalResponseArgs.Phone.Device.ServiceProvider.getActualProtocolVersion =
http://www.ecma-international.org/standards/ecma-323/csta/ed3/priv5
RegisterTerminalResponseArgs.Phone.Device.ServiceProvider.getSessionId = 65C3B3FC3C8DAE6A72F05EB98D4026C1-17
RegisterTerminalResponseArgs.Phone.Device.ServiceProvider.getXmlProcessor = Avaya.ApplicationEnablement.DMCC.XmlProcessor
RegisterTerminalResponseArgs.Phone.Device.ServiceProvider.GetCallInformationLink = Avaya.ApplicationEnablement.DMCC.CallInformationLink
RegisterTerminalResponseArgs.Phone.Device.ServiceProvider.getThirdPartyCallController = Avaya.ApplicationEnablement.DMCC.ThirdPartyCallController
RegisterTerminalResponseArgs.Phone.getMedia = Avaya.ApplicationEnablement.DMCC.Media
SetAgentState sent:
2014-04-10 14:07:13.4108 | 22 | TRACE | Plugins.Avaya.InteractionModel.AvayaDn.MoveNext | LoginId: paul
2014-04-10 14:07:13.4264 | 22 | TRACE | Plugins.Avaya.Servers.RequestTelephony.MoveNext | Device: 40001:cmsim:0.0.0.0:0; RequestedAgentState: AM_LOG_IN; WorkMode: ManualIn; AgentId: paul; Group: 1; ReasonCode: 0; EnablePending: False
SetAgentState received:
<?xml version="1.0" encoding="UTF-8"?><CSTAErrorCode xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3"><operation>invalidDeviceID</operation></CSTAErrorCode>