" /> [SOLVED] RequestRecordCancel From Routing Strategy - Genesys CTI User Forum

Author Topic: [SOLVED] RequestRecordCancel From Routing Strategy  (Read 2400 times)

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
[SOLVED] RequestRecordCancel From Routing Strategy
« on: June 19, 2017, 05:07:52 AM »
Advertisement
[b]Hi All,[/b]

I am trying to cancle the records from routing strategy if call comes with same ANI where status in calling list/OCS buffer would be campaign rescheduled.

I tried below in routing.

Add External Service object to the routing strategy and specify the following items:
Application Type: OCServer
Application name: <The name of OCS application>
Service: Outbound
Method: RequestRecordCancel
Parameters (Key: Value):
ContactInfo: vANI
AllChain:0
UserDataToUpdate.GSW_TENANT_DBID: 1


But when URS request to IXN Server, IXN Server showing  below.

12:16:48.126 Trc 24101 Received from Universal Routing Server: Universal Routing Server: 'RequestPrivateService' (149) message:
AttributeReferenceID [int] = 963
AttributeExtensions [list, size (unpacked)=987] =
  'SWITCH' [str] = "EServices Switch"
  'CUSTOMER_ID' [str] = "Environment"
  'Envelope3rdServer' [list] = (size=183)
      'Version' [str] = "1.0"
      'AppName' [str] = "OCS"
      'Service' [str] = "Outbound"
      'Method' [str] = "RequestRecordCancel"
      'Parameters' [list] = (size=84)
        'ContactInfo' [str] = "************"
        'AllChain' [str] = "0"
        'UserDataToUpdate' [str] = "GSW_TENANT_DBID: 1"
AttributeUserData [list, size (unpacked)=120, user data may be hidden] =
  'TenantId' [int] = 1
AttributeConnID [long] = 006c02a2811bd045
AttributeThisDN [str] = "exr"
AttributePrivateMsgID [int] = 3 [XMSG_REQ_3RD_SERVER]

[color=red][b]12:16:48.126 Trc 24112 Cannot find appropriate 3rd-party server: name: OCS, type: Unknown[/b][/color]
12:16:48.126 Trc 24102 Sending to Universal Routing Server: Universal Routing Server: 'EventError' (52) message:
AttributeReferenceID [int] = 963
AttributeCustomerID [str] = "Environment"
AttributeErrorCode [int] = 3
AttributeErrorMessage [str] = "Unavailable"
AttributeTimeinSecs [int] = 1497845808
AttributeTimeinuSecs [int] = 126815

I check connections and they are fine - also restated OCS/IXN/URS after addition of connections

URS => OCS, IXN
IXN  => OCS (ESP Port)
OCS => IXN

Anyone have an idea why IXN Server not able to find 'OCS' application  ???
[/list][/list]
« Last Edit: June 19, 2017, 08:35:24 AM by raza990 »

Offline vmc

  • Full Member
  • ***
  • Posts: 112
  • Karma: 0
Re: RequestRecordCancel From Routing Strategy
« Reply #1 on: June 19, 2017, 05:26:02 AM »
I'll check mine tomorrow.  I'm doing something similar but not using IXN - URS and OCS only.

Sent from my Redmi Note 3 using Tapatalk


Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: RequestRecordCancel From Routing Strategy
« Reply #2 on: June 19, 2017, 05:32:45 AM »
I am also calling external services from routing to OCS application but I dont know why IXN is involving here. As per Genesys, you should have connection of OCS in IXN and I also can see information in logs. I dont know how ixn is involving here  ;D

Please let me know how you did it, so I can  do the same  :)

Sorry for the silly question but I need to confirm that if we send RequestRecordCancle then the record will be canceled from OCS buffer as well asthe records not retrieved will also canceled by OCS via pass update statement to calling list table. right ???

Offline vmc

  • Full Member
  • ***
  • Posts: 112
  • Karma: 0
Re: RequestRecordCancel From Routing Strategy
« Reply #3 on: June 19, 2017, 06:33:23 AM »
Yes the cancel will affect buffered and records still in the table not yet retrieved.

Sent from my Redmi Note 3 using Tapatalk


Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: RequestRecordCancel From Routing Strategy
« Reply #4 on: June 19, 2017, 07:03:41 AM »
My Bad .. Tenant was missed to define in OCS Application  :-[

But now new issue  ;D

                  'UserDataToUpdate' 'GSW_TENANT_DBID: 1'
                  'FaultCode' 102
                  'FaultString' 'Attribute <GSW_TENANT_DBID> not found'


Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
[SOLVED] RequestRecordCancel From Routing Strategy
« Reply #5 on: June 19, 2017, 08:33:33 AM »
Ops, I used the wrong KV in External Service block in routing strategy.

Now its Working  8)