" /> Chat not routing - Genesys CTI User Forum

Author Topic: Chat not routing  (Read 4187 times)

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
Chat not routing
« on: April 24, 2014, 03:18:48 PM »
Advertisement
Hi,

I´m using Workflow samples to try chat, but chat interactions are not applying the chat inbound strategy. I checked my connections not founding any problems...This is part of my URS Log

11:37:56.590_T_I_0000000000000000 [14:0c] EventRouteRequest is received for tserver ixnserver[Switch-Multimedia] (this dn=asl_Chat inbound strategy)
    _C_I_0000000000000000 [0D:03] option automatic_attach= 1
    _C_I_0000000000000000 [0D:03] option report_targets= 1
    _C_I_0000000000000000 [0D:03] option report_reasons= 0
    _C_I_0000000000000000 [0D:03] option on_route_error= 4
    _C_I_34d502452b5e23a8 [0D:03] option transition_time= 15
    _C_I_34d502452b5e23a8 [0D:03] option use_parking_threshold= 0
    _C_I_34d502452b5e23a8 [0D:03] option on_route_overlap= 3
    _C_I_34d502452b5e23a8 [0D:03] option use_service_objective= 0
    _T_I_34d502452b5e23a8 [01:11] connid 34d502452b5e23a8 is bound to the call 170206-01f6f3f0
11:37:56.590_I_I_34d502452b5e23a8 [01:01] call (170206-01f6f3f0) for Resources created
    _T_I_34d502452b5e23a8 [14:09] add DN ixnserver asl_Chat inbound strategy <asl_Chat inbound strategy@Switch-Multimedia> (CDN 71 34d502452b5e23a8) to the call 170206-01f6f3f0 truly:22
    _T_I_34d502452b5e23a8 [14:08] check delayed proc
    _C_I_0000000000000000 [0D:03] option on_route_error= 4
    _C_I_34d502452b5e23a8 [0D:03] option transition_time= 15
    _C_I_34d502452b5e23a8 [0D:03] option use_parking_threshold= 0
11:37:56.590 Int 20001 interaction 34d502452b5e23a8 is started
    _C_I_34d502452b5e23a8 [0D:03] option unloaded_cdn= 3
    _I_W_34d502452b5e23a8 [14:03] start without strategy -> default/ignore
11:37:56.590 Int 20003 interaction 34d502452b5e23a8 is routed to default
    _C_W_34d502452b5e23a8 [0D:02] there is no any value for option default_destination
request to 65216(--) message RequestUpdateUserData
AttributeReferenceID 7760
AttributeUserData [301] 00 0D 00 00..
'RVQID' ''
'RTargetTypeSelected' '102'
'RTargetRuleSelected' ''
'RTargetObjectSelected' ''
'RTargetAgentSelected' ''
'RTargetPlaceSelected' ''
'RTenant' 'Resources'
'RStrategyName' ''
'CBR-actual_volume' ''
'CBR-Interaction_cost' ''
'CBR-contract_DBIDs' ''
'CBR-IT-path_DBIDs' ''
'RRequestedSkillCombination' ''
AttributeConnID 34d502452b5e23a8
AttributeThisDN 'asl_Chat inbound strategy'
..sent to GAD-BLUECROSS:6130(fd=448)
    _C_W_34d502452b5e23a8 [0D:02] there is no any value for option default_destination
request to 65216(--) message RequestUpdateUserData
AttributeReferenceID 7761
AttributeUserData [17] 00 01 01 00..
'PegDEF' 1387
AttributeConnID 34d502452b5e23a8
AttributeThisDN 'asl_Chat inbound strategy'
..sent to GAD-BLUECROSS:6130(fd=448)
    _C_W_34d502452b5e23a8 [0D:02] there is no any value for option default_destination
11:37:56.590_T_I_34d502452b5e23a8 [14:19] send to tserver ixnserver RequestRouteCall to dn  on  (dnis= )
request to 65216(--) message RequestRouteCall
AttributeReferenceID 7762
AttributeReason [14] 00 01 01 00..
'RTR' 112
AttributeRouteType 6 (RouteTypeDirect)
AttributeExtensions [75] 00 03 01 00..
'WFROUTETYPE' 1
'CUSTOMER_ID' 'Resources'
'SWITCH' 'Switch-Multimedia'
AttributeOtherDN ''
AttributeConnID 34d502452b5e23a8
AttributeThisDN 'asl_Chat inbound strategy'
..sent to GAD-BLUECROSS:6130(fd=448)
    _A_I_34d502452b5e23a8 [0E:04] ----------->DEPARTURE(processing time 0)
received from 65216(--)GAD-BLUECROSS:6130(fd=448) message EventRouteUsed
AttributeThisQueue 'asl_Chat inbound strategy'
AttributeThisDN 'asl_Chat inbound strategy'
AttributeCallType 0
AttributeCallID 31155
AttributeConnID 34d502452b5e23a6
AttributeCustomerID 'Resources'
AttributeReferenceID 7756
11:37:56.590_T_I_34d502452b5e23a6 [14:0c] EventRouteUsed(normal) is received for tserver ixnserver[Switch-Multimedia] (this dn=asl_Chat inbound strategy)
    _T_I_34d502452b5e23a6 [14:0a] del DN (ixnserver[Switch-Multimedia] asl_Chat inbound strategy) truly(ref.id=7756)
    _T_I_34d502452b5e23a6 [14:0a] there is no DNs for call, delivering in progress
    _C_W_34d502452b5e23a6 [0D:03] there is no any value for option confirm_departure
11:37:56.590_A_I_34d502452b5e23a6 [14:0d] <-----------DEPARTURE
    _T_I_34d502452b5e23a6 [0E:0d] routing done


Any ideas??
Thanks!

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Chat not routing
« Reply #1 on: April 24, 2014, 03:55:36 PM »
It is look like there is no strategy with name "asl_Chat inbound strategy" in URS memory (or VRP "asl_Chat inbound strategy" has no property "strategy" set for this URS to "asl_Chat inbound strategy")
The reasons might be: script object "asl_Chat inbound strategy" doesn't exist in configuration,
or it doesn't have bytecode in its properties (in annex), or version of URS is realtively old and it was not able to load the bytecode
(if bytecode for example has utilizes function not implemented in this URS version).

May be check URS logs from the very beginning - anything it states about reading CfgScript "asl_Chat inbound strategy" from configuration (messages like PopCfgScript(DBID=...) creating/updating). 
 

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
Re: Chat not routing
« Reply #2 on: April 24, 2014, 05:23:43 PM »
Hi, thanks for your help, this is what I found in my gen-urs log

CfgScript=(DBID=398,name=Chat inbound strategy,tenantDBID=101)
    _I_E_ [07:47] unknown function RequestServiceEx

Can't load strategy <*0x65*Chat inbound strategy> from buffer!!!
Strategy preloading (from SCE) failed!!!


I tried copying the strategy, but it doesn´t worrk either!

::)

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
Re: Chat not routing
« Reply #3 on: April 24, 2014, 06:32:22 PM »
I realize that if in the chat inbound strategy, i remove external service block, it´s working properly...Any ideas why is this block causing trouble? i´m using URS 7.5 ;D

Offline terry

  • Sr. Member
  • ****
  • Posts: 328
  • Karma: 35
Re: Chat not routing
« Reply #4 on: April 25, 2014, 12:18:08 AM »
RequestServiceEx was introduced starting from URS  8.0.1.
As any other startegy block External Service block generates some code fragment (which includes invocation of some functions) that URS will execute - you can look at generated str file in IRD working directory in importstr subdireectory after you press Compile button but before your dispose confirmation message box.
Previously this code for External Service included invocation of RequestService function, now it is looks like invoke RequestServiceEx function which is known only to newer URSes.
If you have IRD 7.5 you probably can use it to recompile/resave the strategy (after some editing of this External Service block) - code generated with 7.5 IRD supposed to use only functions knowm to 7.5 URS.


« Last Edit: April 25, 2014, 04:12:52 AM by terry »

Offline GMG

  • Newbie
  • *
  • Posts: 41
  • Karma: 2
  • GCP CIV 8X
Re: Chat not routing
« Reply #5 on: May 05, 2014, 10:04:29 AM »
Make the Check Integrity mode on.

You have strategy Compilation error. New functions used in strategy at the time designing, not present in IRD version 7.5, so you are getting compilation error.

for function definition we can refer URS guide or you can get all small description in IRD installation path (There is a file ini file).


--
GMG