Hi
The chat call which is initiated from webapi server is not getting routed to an agent.I am using the ABC sample chat business process .When i cheked the logs the stat server is recognising the agent as not ready. Any idea why this is happening?
Is the agent logged in a chat media? Any logs would be helpful you know? The magic balls are becoming more difficult to getâŚ
Does the StatServer have a connection to InteractionServer?
Is the option UseAgentCapacity true on URS?
Does the chat agent/agent place have a Capacity Rule that allows chat?
Hi,
Yes the agent has logged into chat media.
- Stat server has connection to Interaction sever
- UseAgentCapacity is false
- There is a capacity rule but that allows chat.
Statserver log:
2009-06-16 22:12:45> Client: Sending message to urs_gts
2009-06-16 22:12:45> Client: Message âInfoâ
âLONG_VALUEâ 0
âTM_LENGTHâ 0
âTM_SERVERâ 1245208365
âUSER_REQ_IDâ 0
âREQ_IDâ 7
2009-06-16 22:12:45> Init: Capacity rule âMMedia_CCRuleâ automatically assigned to agent â9992â
2009-06-16 22:12:45> Status: Capacity snapshot for place âPlace_C_5002â(âGTS_DEVâ), agent â9992â(âGTS_DEVâ) (CR=âMMedia_CCRuleâ)
media_state current_number max_number routable
--------------- --------------- --------------- ---------------
[ NR 0 1 0 ] â chat
[ NR 0 1 0 ] â voice
2009-06-16 22:12:45> Server: Event â_we_event_current_agent_statusâ has been sent to MCR Interaction Server[CR2CLTIIS50:8888:InteractionServer2]
2009-06-16 22:12:45> Server: IxnEvent âevent_media_addedâ message:
attr_actor_type [int] = 2 [AGENT]
attr_actor_place_id [str] = âPlace_C_5002â
attr_actor_tenant_id [int] = 101
attr_actor_agent_id [str] = â9992â
attr_event_time [str] = â2009-06-17T03:12:45Zâ
attr_reason [int] = 0
attr_place_id [str] = âPlace_C_5002â
attr_tenant_id [int] = 101
attr_agent_id [str] = â9992â
attr_media_type_name [str] = âchatâ
attr_media_type_state [int] = 0
2009-06-16 22:13:02> Client: Client 372 Connected from â171.133.247.249â(port 3886)
22:13:02.910 Trc 04521 New client 372 connected from â171.133.247.249â
2009-06-16 22:13:02> Client: Creating Client 372
22:13:02.910 Trc 04541 Message RegisterClient received from 372 ( âcontactserverâ)
2009-06-16 22:13:02> Client: Message from contactserver(372) received
2009-06-16 22:13:02> Client: Message âRegisterClientâ
âCLIENT_NAMEâ âcontactserverâ
âLIB_INTERNAL_VERSIONâ 7
âPROTOCOLâ âStatExchangeProtocol 2.0.4â
22:13:02.910 Trc 04522 Client 372 authorized, name âcontactserverâ, type âUnknownâ
2009-06-16 22:13:02> Client: Sending message to contactserver
2009-06-16 22:13:02> Client: Message âClientRegisteredâ
âSTRING_VALUEâ â7.2.002.05â
âLONG_VALUEâ 61
âTM_LENGTHâ 1245208382
âTM_SERVERâ 1245208382
âUSER_REQ_IDâ 0
âREQ_IDâ 0
22:13:02.972 Trc 04541 Message OpenDataStream received from 372 ( âcontactserverâ)
2009-06-16 22:13:02> Client: Message from contactserver(372) received
2009-06-16 22:13:02> Client: Message âOpenDataStreamâ
âDATASTREAM_DATACONSUMER_URLâ âeServiceContactStat.jarâ
âDATASTREAM_DATASOURCE_NAMEâ âcontactserverâ
âDATASTREAM_TYPEâ 1
âPROTOCOL_VERSION_MINORâ 0
âPROTOCOL_VERSION_MAJORâ 1
âPROTOCOL_DATASOURCE_TYPEâ âMCR Universal Contact Serverâ
âPROTOCOL_NAMEâ âData Stream Wraper protocolâ
âUSER_REQ_IDâ 0
âREQ_IDâ 1
2009-06-16 22:13:02> Client: Sending message to contactserver
2009-06-16 22:13:02> Client: Message âDataStreamOpeningFailureâ
âSTRING_VALUEâ âJava Host Environment is not initializedâ
âLONG_VALUEâ 13
âTM_LENGTHâ 0
âTM_SERVERâ 1245208382
âUSER_REQ_IDâ 0
âREQ_IDâ 1
22:13:03.019 Trc 04541 Message UnRegisterClient received from 372 ( âcontactserverâ)
2009-06-16 22:13:03> Client: Message from contactserver(372) received
2009-06-16 22:13:03> Client: Message âUnRegisterClientâ
âCLIENT_NAMEâ âcontactserverâ
âLIB_INTERNAL_VERSIONâ 7
âPROTOCOLâ âStatExchangeProtocol 2.0.4â
2009-06-16 22:13:03> Client: Client 372 Disconnected
22:13:03.019 Trc 04524 Client âcontactserverâ disconnected
2009-06-16 22:13:03> Client: Removing Client contactserver
2009-06-16 22:13:03> Status: Agent â9992â([2009-06-16 22:13:03]WaitForNextCall)
Place âPlace_C_5002â([2009-06-16 22:13:03]WaitForNextCall)
Chat â5002@sw_cacon_multimediaâ([2009-06-16 05:53:37]NotMonitored)
Media Channel chat([2009-06-16 22:13:03]Available)
2009-06-16 22:13:03> Client: Sending message to Genesys_Desktop-MODULE
2009-06-16 22:13:03> Client: Message âInfoâ
âLONG_VALUEâ 0
âTM_LENGTHâ 0
âTM_SERVERâ 1245208383
âUSER_REQ_IDâ 0
âREQ_IDâ 11
2009-06-16 22:13:03> Client: Sending message to Genesys Supervisor Desktop
2009-06-16 22:13:03> Client: Message âInfoâ
âLONG_VALUEâ 0
âTM_LENGTHâ 0
âTM_SERVERâ 1245208383
âUSER_REQ_IDâ 0
âREQ_IDâ 45
2009-06-16 22:13:03> Status: Agent â9992â([2009-06-16 22:13:03]WaitForNextCall)
Place âPlace_C_5002â([2009-06-16 22:13:03]WaitForNextCall)
Chat â5002@sw_cacon_multimediaâ([2009-06-16 05:53:37]NotMonitored)
Media Channel chat([2009-06-16 22:13:03]Available)
2009-06-16 22:13:03> Client: Sending message to urs_gts
2009-06-16 22:13:03> Client: Message âInfoâ
âLONG_VALUEâ 0
âTM_LENGTHâ 0
âTM_SERVERâ 1245208383
âUSER_REQ_IDâ 0
âREQ_IDâ 7
2009-06-16 22:13:03> Status: Capacity snapshot for place âPlace_C_5002â(âGTS_DEVâ), agent â9992â(âGTS_DEVâ) (CR=âMMedia_CCRuleâ)
media_state current_number max_number routable
--------------- --------------- --------------- ---------------
[ R 0 1 1 ] â chat
[ NR 0 1 0 ] â voice
2009-06-16 22:13:03> Server: Event â_we_event_current_agent_statusâ has been sent to MCR Interaction Server[CR2CLTIIS50:8888:InteractionServer2]
2009-06-16 22:13:03> Server: IxnEvent âevent_ready_for_mediaâ message:
attr_actor_type [int] = 2 [AGENT]
attr_actor_place_id [str] = âPlace_C_5002â
attr_actor_tenant_id [int] = 101
attr_actor_agent_id [str] = â9992â
attr_event_time [str] = â2009-06-17T03:13:03Zâ
attr_reason [int] = 0
attr_place_id [str] = âPlace_C_5002â
attr_tenant_id [int] = 101
attr_agent_id [str] = â9992â
attr_media_type_name [str] = âchatâ
2009-06-16 22:13:11> Server: IxnEvent âevent_properties_changedâ message:
attr_actor_type [int] = 1 [STRATEGY]
attr_actor_strategy_id [str] = âChat inbound strategyâ
attr_actor_router_id [str] = âurs_gtsâ
attr_actor_tenant_id [int] = 101
attr_itx_id [str] = â00018a53EAWA004Eâ
attr_state [int] = 2
attr_itx_type [str] = âInboundâ
attr_itx_subtype [str] = âInboundNewâ
attr_itx_prnt_itx_id [str] = ââ
attr_itx_queue [str] = âChat inbound queueâ
attr_itx_media_type [str] = âchatâ
attr_itx_user_data [bstr] = TKVList:
âContactIdâ [str] = â0000Fa4VHJC50022â
âSubjectâ [str] = âSome Subjectâ
âEmailAddressâ [str] = â[email removed]â
âFirstNameâ [str] = â123â
âLastNameâ [str] = â456â
âChatServerHostâ [str] = âCR2CONVRU04â
âChatServerPortâ [str] = â3003â
âPegRejectedâ [int] = 1
attr_itx_tenant_id [int] = 101
attr_itx_received_at [str] = â2009-06-17T03:12:38Zâ
attr_itx_submitted_at [str] = â2009-06-17T03:12:38Zâ
attr_itx_submitted_to_router_at [str] = â2009-06-17T03:12:41Zâ
attr_itx_placed_in_queue_at [str] = â2009-06-17T03:12:38Zâ
attr_itx_submitted_by [str] = âChatServerâ
attr_itx_is_online [int] = 1
attr_itx_is_locked [int] = 0
attr_itx_moved_to_queue_at [str] = â2009-06-17T03:12:38Zâ
attr_event_time [str] = â2009-06-17T03:13:11Zâ
attr_changed_prop [bstr] = TKVList:
âPegRejectedâ [int] = 1
URS Log:
TARGETS: Chat distribution for processing@ss_cit_chat_rtg_server.GA
20:22:19.533_M_I_0ce001b31194c214 [13:01] current virtual queue: 01ffb030 id=57, nVQ=1-1d2abd0, priority=0, time=1245208358.0
M_I [17:0f] VQ(01ff8400) [at all 1 0] 1 target(s), flag=2a, guid: 0GTS_DEV||1|37|1|0|ââ|||00|00{}{}Chat distribution for processing@ss_cit_chat_rtg_server.GA
20:22:19.533_M_I_0ce001b31194c214 [17:11] VQ(01ff8400) first available call: 0ce001b31194c214, reason=binding
20:22:19.533_M_I_0ce001b31194c214 [13:03] call (virtual queue 01ffb030, id=57, priority 0, time 1245208358.0) waits for VQ 01ff8400 (name=ââ) now
_C_W_0000000000000000 [0D:03] default value (0) will be used for option targets_order
20:22:19.533_M_I_0ce001b31194c214 [17:0e] virtual queue ââ(id=57), VQ 01ff8400 (1 targets): SELECT ANY by statistic NONE(random )
_M_I_0ce001b31194c214 [17:0b] VQ 01ff8400 target âChat distribution for processingâ (#1, 5-4 components): SELECT ANY by statistic StatAgentLoading(random)
_M_I_0ce001b31194c214 [17:0b] component #1 9991: logged out
_M_I_0ce001b31194c214 [17:0b] component #2 1118: logged out
_M_I_0ce001b31194c214 [10:0c] tenant GTS_DEV Agent 9992: dn chat is ignored: other dn type(cfg)
_M_I_0ce001b31194c214 [17:0b] component #3 9992: not ready
_M_I_0ce001b31194c214 [17:0b] component #4 9993: logged out
_M_I_0ce001b31194c214 [17:0b] component #5 9998: logged out
_M_I_0ce001b31194c214 [17:0b] VQ 01ff8400 target âChat distribution for processingâ: component was NOT SELECTED (4 0 1 33550496)
_M_I_0ce001b31194c214 [17:0e] target Chat distribution for processing: not ready passed
_M_I_0ce001b31194c214 [17:0e] virtual queue ââ(id=57), VQ 01ff8400: target for routing was NOT SELECTED (0 0 0 1)
_I_I_0ce001b31194c214 [07:0a] HERE IS WAIT (-1 sec)
_I_I_0ce001b31194c214 [07:0a] HERE IS WAIT (30 sec)
_C_W_0000000000000000 [0D:03] default value (0) will be used for option skip_targets
20:22:19.533_B_I_0ce001b31194c214 [07:09] start chain of treatments
20:22:19.533_I_I_0ce001b31194c214 [09:04] <<<<<<<<<<<<suspend interpretator(WAIT), timers:10000
Before the target object try to use the function UseMedia[âchatâ], that might help.
Hi ,
I am new to genesys . i am not getting u properly. Could u pls explain me .
You mean to say add a function called usemedia[chat] in strategy target
More URS Logs:
22:31:18.012_M_I_ [10:1d] PULSE (calls: 1(1)=1+0-0, targets=2, time=1245216677, mem=0,51672,708,23,172,0)
_M_I_0000000000000000 [10:20] try to route to agent "9993" (place "Place_C_6000", 1 ready DNs reported)
_M_I_ [10:20] VQ(01ffba10) is ignored: other dn type(cfg)
_M_I_0000000000000000 [10:20] try to route to agent "9992" (place "Place_C_5002", 1 ready DNs reported)
_M_I_ [10:20] VQ(01ffba10) is ignored: other dn type(cfg)
22:31:20.012_M_I_ [10:1d] PULSE (calls: 1(1)=1+0-0, targets=2, time=1245216679, mem=0,51672,708,23,172,0)
_M_I_0000000000000000 [10:20] try to route to agent "9992" (place "Place_C_5002", 1 ready DNs reported)
_M_I_ [10:20] VQ(01ffba10) is ignored: other dn type(cfg)
_M_I_0000000000000000 [10:20] try to route to agent "9993" (place "Place_C_6000", 1 ready DNs reported)
_M_I_ [10:20] VQ(01ffba10) is ignored: other dn type(cfg)
22:31:22.012_M_I_ [10:1d] PULSE (calls: 1(1)=1+0-0, targets=2, time=1245216681, mem=0,51672,708,23,172,0)
_M_I_0000000000000000 [10:20] try to route to agent "9993" (place "Place_C_6000", 1 ready DNs reported)
_M_I_ [10:20] VQ(01ffba10) is ignored: other dn type(cfg)
_M_I_0000000000000000 [10:20] try to route to agent "9992" (place "Place_C_5002", 1 ready DNs reported)
_M_I_ [10:20] VQ(01ffba10) is ignored: other dn type(cfg)
22:31:24.012_M_I_ [10:1d] PULSE (calls: 1(1)=1+0-0, targets=2, time=1245216683, mem=0,51672,708,23,172,0)
_M_I_0000000000000000 [10:20] try to route to agent "9992" (place "Place_C_5002", 1 ready DNs reported)
_M_I_ [10:20] VQ(01ffba10) is ignored: other dn type(cfg)
_M_I_0000000000000000 [10:20] try to route to agent "9993" (place "Place_C_6000", 1 ready DNs reported)
_M_I_ [10:20] VQ(01ffba10) is ignored: other dn type(cfg)
someone pls temme a solution âŚ
Hi,
URS isnât able to determine right type of DN required to handle interaction. Please add new âFunctionâ block to your strategy and use following function âUseMedia[âchatâ]â. Please insert this block before routing an interaction to the agents.
R.
Hi Rene,
I have added usemediatype[chat] in strategy , then also the call didnt get routed
the urs logs comes as below
..sent to CR2CLTIIS50:8888(fd=580)
06:38:34.435_M_I_059301b328b6e002 [13:02] entering virtual queue âVQ_CHATâ
M_I [17:0f] VQ(02005f60) [at all 1 0] 1 target(s), flag=a, guid: 0GTS_DEV|VQ_CHAT|1|37|1|0|ââ|||00|00{}{}Chat distribution for processing@ss_cit_tcc_con_rtg_pri.GA
06:38:34.435_M_I_059301b328b6e002 [17:11] VQ(02005f60) first available call: 059301b328b6e002, reason=binding
06:38:34.435_M_I_059301b328b6e002 [13:03] call (virtual queue 020040d0, id=2, priority 0, time 1245245911.0) waits for VQ 02005f60 (name=âVQ_CHATâ) now
_C_W_0000000000000000 [0D:03] default value (0) will be used for option targets_order
06:38:34.435_M_I_059301b328b6e002 [17:0e] virtual queue âVQ_CHATâ(id=2), VQ 02005f60 (1 targets): SELECT ANY by statistic NONE(random )
M_I_059301b328b6e002 [17:0b] VQ 02005f60 target âChat distribution for processingâ (#1, 5-3 components): SELECT ANY by statistic StatAgentLoading(random)
M_I_059301b328b6e002 [17:0b] component #1 9991: not ready
M_I_059301b328b6e002 [17:0b] component #2 1118: logged out
06:38:34.435_M_I [10:0a] object Place_C_5002|GTS_DEV| is unblocked
06:38:34.435_M_I [10:0a] object 9992|GTS_DEV| is unblocked
06:38:34.435_M_I [10:0a] object chat|| is unblocked
_M_I_059301b328b6e002 [10:0c] tenant GTS_DEV Agent 9992: dn chat is ignored: other dn type(cfg)
_M_I_059301b328b6e002 [17:0b] component #3 9992: not ready
_M_I_059301b328b6e002 [17:0b] component #4 9993: logged out
_M_I_059301b328b6e002 [17:0b] component #5 9998: logged out
_M_I_059301b328b6e002 [17:0b] VQ 02005f60 target âChat distribution for processingâ: component was NOT SELECTED (3 1 1 33574016)
_M_I_059301b328b6e002 [17:0e] target Chat distribution for processing: not ready passed
_M_I_059301b328b6e002 [17:0e] virtual queue âVQ_CHATâ(id=2), VQ 02005f60: target for routing was NOT SELECTED (0 0 0 1)
_I_I_059301b328b6e002 [07:0a] HERE IS WAIT (-1 sec)
_I_I_059301b328b6e002 [07:0a] HERE IS WAIT (30 sec)
Also when one chat call is inititated from webapi ,the number of interactions keeps increasing infinitely in the vrp.
How to resolve this . Its urgent. Any pointers wud be helpfull.
Thanks in advance.
Please check that StatServer used by URS is connected to Interaction Server.
R.
Yes the stat server used by URS has connection to Interaction server âŚ
Post the respecting logs please
for 7.x solution you do not need any chat DNs and UseMedia[âchatâ].
You do need UseAgentCapacity =true in URS.
in URS log you have:
media_state current_number max_number routable
--------------- --------------- --------------- ---------------
[ R 0 1 1 ] â chat
it means agent is ready from URS point of view.
The question - do you have all your strategies in chat business process activated?
Have you configured properly routing strategy in this business process?
If you stop your solution, cleanup Ixnteraction server DB, start solution and submit 1 chat interaction, interaction server log will show you what happeneing with interaction.
Try to set URS option âuse_dn_typeâ to value âextensionâ