Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: aravind_mano on August 05, 2015, 03:37:05 PM
-
Hi,
I having implemented IWS customizable command for "InteractionVoiceAnswerCall". I have placed customized library in Interaction Workspace folder and it works well as expected in my development lab. However, It does not work in Lab 2. Is there any setting needs to be enabled inorder execute the customcommands? When i looked into logs i see the custom class is instantiated and read configuration settings. But, it does not entered into Execute() Method. Logs are provided below. Please help me to resolve this problem.
Lab2 logs: Has issue
[quote]
15-08-05 15:19:50.888 [ 5] INFO e.InteractionManager - Create a new interactionId 'Id000'
15-08-05 15:19:50.888 [ 5] INFO e.InteractionManager - [InteractionEvent] received InteractionId:Id000(new) Id:00AC0269C206A04E ContextState:Created Profile:Primary State:PresentedIn(EventRinging ReferenceId:None) RelatedId:? MediaType:voice Direction:In ThisDN:3122999 OtherDN:7314203475 CorrelatorData:
15-08-05 15:19:50.904 [.PCT.Invoker#2] INFO ESDK - Notifying [DN] 3122999 [Id] 00AC0269C206A04E [State] Updated [Method] Void ESDKInteractionEvent(Genesyslab.Enterprise.Model.Envelope.IEnvelope`1[Genesyslab.Enterprise.Model.Interaction.IInteraction])
15-08-05 15:19:50.919 [.PCT.Invoker#2] INFO ESDK - Voice strategy 'DeleteStrategy' Cannot identify channel from [Device] 3122999 [Tenant] Resources Event EventAttachedDataChanged [Exception] Sequence contains no matching element
15-08-05 15:19:50.919 [.PCT.Invoker#2] INFO ESDK - Voice strategy 'VoiceProtocolEventStrategy' [Dn] 3122999 Processing msg [Name] EventOffHook [EndPoint] US2_SipServer_Pri - tcp://gen-03.serverus.com:3000 Asynchronous message. No switch policy applies
15-08-05 15:19:50.919 [.PCT.Invoker#2] INFO ESDK - Cannot identify channel from [Device] 3122999 [Tenant] Resources Event EventOffHook [Exception] Sequence contains no matching element
15-08-05 15:19:50.919 [ 18] INFO ice.Voice.MediaVoice - [DeviceEvent] EventOffHook [voice, AgentId:3124001, US_SIP_Switch(3122999)]
15-08-05 15:19:50.919 [.PCT.Invoker#2] INFO ESDK - Voice strategy 'VoiceProtocolEventStrategy' [Dn] 3122999 Processing msg [Name] EventEstablished [EndPoint] US2_SipServer_Pri - tcp://gen-03.serverus.com:3000 Asynchronous message. No switch policy applies
15-08-05 15:19:50.919 [.PCT.Invoker#2] INFO ESDK - Cannot identify channel from [Device] 3122999 [Tenant] Resources Event EventEstablished [Exception] Sequence contains no matching element
15-08-05 15:19:50.935 [.PCT.Invoker#2] INFO ESDK - Notifying [DN] 3122999 [Id] 00AC0269C206A04E [State] Updated [Method] Void ESDKInteractionEvent(Genesyslab.Enterprise.Model.Envelope.IEnvelope`1[Genesyslab.Enterprise.Model.Interaction.IInteraction])
15-08-05 15:19:50.935 [.PCT.Invoker#2] INFO ESDK - Voice strategy 'DeleteStrategy' Cannot identify channel from [Device] 3122999 [Tenant] Resources Event EventEstablished [Exception] Sequence contains no matching element
15-08-05 15:19:50.935 [ 1] INFO ws.ToasterController - Add the interaction (Id000 InteractionVoice)
15-08-05 15:19:50.997 [ 1] INFO ws.CaseDataViewModel - CaseDataFormatBusinessAttribute (IsToast:True): '' [InteractionVoice: Id000/00AC0269C206A04E]
15-08-05 15:19:51.029 [ 1] INFO ToasterWindowCommand - ShowToasterWindowCommand
15-08-05 15:19:51.169 [ 1] INFO cture.ChainOfCommand - End of Execution of Chain of Command ShowToasterWindow ( 140.402 ms)
15-08-05 15:19:51.578 [ 5] INFO e.InteractionManager - [InteractionEvent End Processing] InteractionId:Id000 Id:00AC0269C206A04E (EventRinging ReferenceId:)
15-08-05 15:19:51.578 [ 5] INFO ESDK - Handle [Invoking] [DN] 3122999 [Id] 00AC0269C206A04E [State] Updated [Method] Void ESDKInteractionEvent(Genesyslab.Enterprise.Model.Envelope.IEnvelope`1[Genesyslab.Enterprise.Model.Interaction.IInteraction])
15-08-05 15:19:51.578 [ 7] INFO e.InteractionManager - [InteractionEvent] received InteractionId:Id000 Id:00AC0269C206A04E ContextState:Updated Profile:Primary State:PresentedIn(EventAttachedDataChanged ReferenceId:None) RelatedId:? MediaType:voice Direction:In ThisDN:3122999 OtherDN:? CorrelatorData:
15-08-05 15:19:51.584 [ 7] INFO e.InteractionManager - [InteractionEvent End Processing] InteractionId:Id000 Id:00AC0269C206A04E (EventAttachedDataChanged ReferenceId:)
15-08-05 15:19:51.584 [ 7] INFO ESDK - Handle [Invoking] [DN] 3122999 [Id] 00AC0269C206A04E [State] Updated [Method] Void ESDKInteractionEvent(Genesyslab.Enterprise.Model.Envelope.IEnvelope`1[Genesyslab.Enterprise.Model.Interaction.IInteraction])
15-08-05 15:19:51.585 [ 7] INFO e.InteractionManager - [InteractionEvent] received InteractionId:Id000 Id:00AC0269C206A04E ContextState:Updated Profile:Primary State:Connected(EventEstablished ReferenceId:None) RelatedId:? MediaType:voice Direction:In ThisDN:3122999 OtherDN:7314203475 CorrelatorData:
[color=red]15-08-05 15:19:52.882 [ 1] INFO in.AnswerCallCommand - AnswerCallCommand: Config parameters loaded
15-08-05 15:19:52.883 [ 1] INFO in.AnswerCallCommand - AnswerCallCommand: Params: Telephone1=ani[/color]
15-08-05 15:19:53.033 [ 7] ERROR ice.InteractionVoice - [.Dispo.DC.] The Business Attribute :'DispositionCode' is Empty
15-08-05 15:19:53.111 [ 1] INFO tructure.ViewManager - Cannot find the region 'CaseViewButtonRegion'
15-08-05 15:19:53.117 [ 1] INFO ws.CaseDataViewModel - CaseDataFormatBusinessAttribute (IsToast:False): '' [InteractionVoice: Id000/00AC0269C206A04E]
15-08-05 15:19:53.267 [ 1] INFO tructure.ViewManager - Cannot find the region 'CaseViewButtonRegion'
15-08-05 15:19:53.283 [ 1] INFO ws.CaseDataViewModel - CaseDataFormatBusinessAttribute (IsToast:False): '' [InteractionVoice: Id000/00AC0269C206A04E]
15-08-05 15:19:53.314 [ 1] INFO ws.ToasterController - Remove the interaction (Id000 InteractionVoice)
15-08-05 15:19:53.329 [ 7] INFO e.InteractionManager - [InteractionEvent End Processing] InteractionId:Id000 Id:00AC0269C206A04E (EventEstablished ReferenceId:)
15-08-05 15:19:54.048 [ 5] INFO DataWithDelayCommand - InteracationSetAttachedDataWithDelayCommand
15-08-05 15:19:54.083 [ 5] INFO cture.ChainOfCommand - End of Execution of Chain of Command InteractionSetAttachedDataWithDelay ( 38.004 ms)
15-08-05 15:19:54.107 [.PCT.Invoker#2] INFO ESDK - Voice strategy 'VoiceProtocolEventStrategy' [Dn] 3122999 Processing msg [Name] EventAttachedDataChanged [EndPoint] US2_SipServer_Pri - tcp://gen-03.serverus.com:3000
15-08-05 15:19:54.108 [.PCT.Invoker#2] INFO ESDK - Cannot identify channel from [Device] 3122999 [Tenant] Resources Event EventAttachedDataChanged [Exception] Sequence contains no matching element
15-08-05 15:19:54.120 [.PCT.Invoker#2] INFO ESDK - Notifying [DN] 3122999 [Id] 00AC0269C206A04E [State] Updated [Method] Void ESDKInteractionEvent(Genesyslab.Enterprise.Model.Envelope.IEnvelope`1[Genesyslab.Enterprise.Model.Interaction.IInteraction])
15-08-05 15:19:54.120 [.PCT.Invoker#2] INFO ESDK - Handle [Invoking] [DN] 3122999 [Id] 00AC0269C206A04E [State] Updated [Method] Void ESDKInteractionEvent(Genesyslab.Enterprise.Model.Envelope.IEnvelope`1[Genesyslab.Enterprise.Model.Interaction.IInteraction])
15-08-05 15:19:54.121 [ 8] INFO e.InteractionManager - [InteractionEvent] received InteractionId:Id000 Id:00AC0269C206A04E ContextState:Updated Profile:Primary State:Connected(EventAttachedDataChanged ReferenceId:4) RelatedId:? MediaType:voice Direction:In ThisDN:3122999 OtherDN:? CorrelatorData:
15-08-05 15:19:54.121 [.PCT.Invoker#2] INFO ESDK - Voice strategy 'DeleteStrategy' Cannot identify channel from [Device] 3122999 [Tenant] Resources Event EventAttachedDataChanged [Exception] Sequence contains no matching element
15-08-05 15:19:54.162 [ 8] ERROR ice.InteractionVoice - [.Dispo.DC.] The Business Attribute :'DispositionCode' is Empty
15-08-05 15:19:54.168 [ 8] INFO e.InteractionManager - [InteractionEvent End Processing] InteractionId:Id000 Id:00AC0269C206A04E (EventAttachedDataChanged ReferenceId:)
15-08-05 15:20:06.306 [ 5] INFO ptForEndVoiceCommand - PromptForEndVoiceCommand
15-08-05 15:20:06.312 [ 5] INFO eractionVoiceCommand - ReleaseCallCommand
15-08-05 15:20:06.368 [.PCT.Invoker#2] INFO ESDK - Voice strategy 'VoiceProtocolEventStrategy' [Dn] 3122999 Processing msg [Name] EventAgentNotReady [EndPoint] US2_SipServer_Pri - tcp://gen-03.serverus.com:3000 Asynchronous message. No switch policy applies
15-08-05 15:20:06.368 [.PCT.Invoker#2] INFO ESDK - Cannot identify channel from [Device] 3122999 [Tenant] Resources Event EventAgentNotReady [Exception] Sequence contains no matching element
15-08-05 15:20:06.370 [.PCT.Invoker#2] INFO ESDK - Notifying [DN] 3122999 [Id] ? [State] Updated [Method] Void OnNewEnvelope(Genesyslab.Enterprise.Model.Envelope.IEnvelope`1[Genesyslab.Enterprise.Model.Interaction.IInteraction])
15-08-05 15:20:06.382 [ 7] INFO ESDK - [Agent] 3124001 (FQN=8b674a47-0aa5-41e7-b564-1493e1fcf9c5) Found Virtual Device '3122999' (FQN=f8446520-6641-44eb-8f9c-ee0993a18478)
15-08-05 15:20:06.382 [ 7] INFO ice.Voice.MediaVoice - [AgentEvent Begin] EventAgentNotReady AgentID 3124001 State:AfterCallWork [voice, AgentId:3124001, US_SIP_Switch(3122999)]
15-08-05 15:20:06.382 [.PCT.Invoker#2] INFO ESDK - Voice strategy 'VoiceProtocolEventStrategy' [Dn] 3122999 Processing msg [Name] EventReleased [EndPoint] US2_SipServer_Pri - tcp://gen-03.serverus.com:3000
15-08-05 15:20:06.382 [ 7] INFO ice.Voice.MediaVoice - [AgentEvent] AgentID 3124001 New State:'NotReadyAfterCallWork' [voice, AgentId:3124001, JPR_SIP_Switch(3122999)]
[/Quote]
Lab1 Log: Working fine
[quote]
15-08-05 17:52:47.386 [ 23] INFO e.InteractionManager - Create a new interactionId 'Id000'
15-08-05 17:52:47.386 [ 23] INFO e.InteractionManager - [InteractionEvent] received InteractionId:Id000(new) Id:006E026BB9C22006 ContextState:Created Profile:Primary State:PresentedIn(EventRinging ReferenceId:None) RelatedId:? MediaType:voice Direction:In ThisDN:1001 OtherDN:1004 CorrelatorData:
15-08-05 17:52:47.432 [ 1] INFO ESDK - No ChainRecord for interaction [ID] 006E026BB9C22006
[size=8pt][color=red]
]15-08-05 17:52:47.495 [ 1] INFO in.AnswerCallCommand - AnswerCallCommand: Config Params loaded
15-08-05 17:52:47.495 [ 1] INFO in.AnswerCallCommand - AnswerCallCommand: Params: Telephone1=ani
15-08-05 17:52:47.495 [ 1] INFO in.AnswerCallCommand - Execute AnswerCallCommand Main Thread
15-08-05 17:52:47.495 [ 1] INFO in.AnswerCallCommand - AnswerCallCommand: URL: http://localhost:5000?Telephone1=1004
15-08-05 17:52:49.573 [ 1] ERROR in.AnswerCallCommand - AnswerCallCommand: Error while opening URL. Unable to connect to the remote server
15-08-05 17:52:49.573 [ 19] INFO cture.ChainOfCommand - End of Execution of Chain of Command InteractionVoiceAnswerCall (2078.414 ms)[/color][/size]
15-08-05 17:52:49.573 [ 23] INFO e.InteractionManager - [InteractionEvent End Processing] InteractionId:Id000 Id:006E026BB9C22006 (EventRinging ReferenceId:)
[/quote]