" /> ReleasingParty - Genesys CTI User Forum

Author Topic: ReleasingParty  (Read 7755 times)

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
ReleasingParty
« on: April 12, 2016, 10:52:01 AM »
Advertisement
Hi All,

I've a question regarding AttributeExtension for SIP Server releasing-party-report option.

I'm having the releasing party information in logs but I need to pass this value in AttributeUserData in order to show on Genesys Quality Management.

I tried to achieve this 2 years ago via doing something in FUNCTION block in routing strategy and it was working, so it is possible BUT I forget how I did this.

I need advice that how I can attach AttributeExtension key in AttributeUserData ? Would also like if you have better suggestions to provide disconnect party information to Call Center Team Leaders.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: ReleasingParty
« Reply #1 on: April 12, 2016, 11:39:32 AM »
Do not reinvent the wheel. Just check the documentation :

[quote]Extension Data
Extension data is stored with GEN_EXT_ prefix. This data is taken from the Extensions section of Genesys voice events. None of this data is stored by default.
The required data can be configured in driver configuration manually in the xml in the equal group extensionDataKeys with values extDataKey and coupleExtDataKey, which define the event Extension attribute name and key which should be used for external data in Call Recording. The following listing shows configuration of storing BusinessID.
<SpecifiedConfiguration name="genesysDriver">
...
<EqualGroup name="extensionDataKeys">
<Value name="extDataKey">BusinessID</Value>
<Value name="coupleExtDataKey">BusinessID</Value>
</EqualGroup>
...
For Passive GIM integration the SpecifiedConfiguration name is "genesys".
<SpecifiedConfiguration name="genesys">
The rest of the listing is the same as the example above.[/quote]

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: ReleasingParty
« Reply #2 on: April 12, 2016, 12:10:29 PM »
Kubig, which documentation it is ?

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: ReleasingParty
« Reply #3 on: April 12, 2016, 12:14:50 PM »
ZQM/GQM

Offline raza990

  • Full Member
  • ***
  • Posts: 214
  • Karma: 5
Re: ReleasingParty
« Reply #4 on: April 13, 2016, 07:22:38 AM »
Thanks Kubig  :)

I follow the documentation, and successfully configured to showing AttributeExtension in GQM WebUI for releasing party info  8)

Offline deadmeat

  • Jr. Member
  • **
  • Posts: 75
  • Karma: -2
Re: ReleasingParty
« Reply #5 on: March 30, 2017, 01:54:04 PM »
Guys, don't want to add new topic as this one already exists. Question, if I want to add value of ReleasingParty to variable in IRD. Should it be ExtensionData['ReleasingParty'] ? This command after EventRelease returns empty.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: ReleasingParty
« Reply #6 on: March 30, 2017, 02:10:31 PM »
The ReleasingParty is generated on EventRelease and in this stage, there is no routing strategy involved (in almost scenario). So, that's why it is not working as you expect. You have to add some postrouting there to catch it in strategy (to be honest, do not see any reason for that).

Offline deadmeat

  • Jr. Member
  • **
  • Posts: 75
  • Karma: -2
Re: ReleasingParty
« Reply #7 on: March 30, 2017, 02:44:59 PM »
Thanks for the reply. After successful routing block there is suspend for Eventrelease and after successful suspend there assign function. Returns empty for now. What exactly do you mean by post routing, should I add something else ? We have custom reporting in our Environment, where I need to add releasing party, that is the purpose of this action :-)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ReleasingParty
« Reply #8 on: March 30, 2017, 04:56:41 PM »
???
The strategy ended its part already after the Distribution. The Release is happening at Agent DN level, not RP level. You would need to do something at agent softphone code level to catch that event, not on the Strategy level.

Offline deadmeat

  • Jr. Member
  • **
  • Posts: 75
  • Karma: -2
Re: ReleasingParty
« Reply #9 on: March 31, 2017, 05:01:42 AM »
In config manager all agent places have URS->event_arrive->treatmentrequired
We do some post routing after call is released. In logs I see that event released contains ReleasingParty section. But ExtensionData['ReleasingParty'] returns empty. Can't figure out why.

Offline Tambo

  • Sr. Member
  • ****
  • Posts: 456
  • Karma: 5
Re: ReleasingParty
« Reply #10 on: March 31, 2017, 08:06:40 AM »
Dude are you reading what Cav and Kubig have written???

also what has "URS->event_arrive- " got to do with releasing?

once the call goes to the agent the strategy is no longer getting used.

in the logs where id the release coming from? URS or SIP server, check the ip address

Offline deadmeat

  • Jr. Member
  • **
  • Posts: 75
  • Karma: -2
Re: ReleasingParty
« Reply #11 on: March 31, 2017, 08:35:36 AM »
I do read what they've said. Topic starter wrote that he achieved it in IRD in fucntion block. In our scenario strategy suspends for event release and after that triggers DB procedure, so it's not so simple as -> call distributed = strategy ended. EventRelease is received from SIP Server:

[code]
received from 65200(SIP_p)cc-vm-psip-pr:3000(fd=) message EventAgentNotReady
AttributeThisDN '9949'
AttributeAgentID '2081'
AttributeAgentWorkMode 3 (AfterCallWork)
AttributeTimeinSecs 1490948643 (12:24:03)
AttributeTimeinuSecs 28824
AttributeEventSequenceNumber 000000000bdf525d
AttributeExtensions [72] 00 02 01 00..
'WrapUpTime' 2
'AgentSessionID' '00E1RU02A4C7R2750KSTO2LAES1C6LUC'
received from 65200(SIP_p)cc-vm-psip-pr:3000(fd=) message EventReleased
AttributeCallState 0
AttributeCallType 2
AttributePropagatedCallType 2
AttributeCallID 3228268
AttributeConnID 008202976a464e16
AttributeCallUUID '002C8P029SC7R2750KSTO2LAES032GJC'
AttributeUserData [1533] 00 37 00 00..
'DNIS' '6930'
'FIRST_NAME' ''
'LAST_NAME' ''
'MSISDN' '994555902585'
'ERRSTATUS' ''
'SUBSID' ''
'WB_INDICATOR' 'NULL'
'SECCODE' ''
'URSCONNID' '008202976a464e16'
'ORIG_ANI' '994555902585'
'ORIG_DNIS' '6930'
'POID' '770249383'
'APP_ID' '6930'
'BALANCE' 'POSITIVE'
'BALANCE' 'POSITIVE'
'RRequestedSkills'(list)
'CustomerSegment' 'default'
'ServiceType' 'default'
'ServiceObjective' ''
'CUSTOMER_TYPE' 'PPP'
'CUSTOMER_VALUE' 'A'
'LANGUAGE' 'RU'
'SERVICE_TYPE' 'TEC'
'COLLECTEDINPUT' 'start+5+1'
'IVRTENTER' '1490948824494.000000'
'IVRTLEAVE' '1490948834425.000000'
'IVRTSUBMENUENTER' '0'
'IVR_BACK' 'back_to_ivr'
'MENU_ID' ''
'SERVED_ANI' '994555902585'
'SERVICE_ID' 'PPP'
'SUBTREE_ID' ''
'TIMESTAMP_START' '1490948640'
'INTERACTION_SEQ' '1'
'RPVQID' '009FN74C2KCBDC8M04STO2LAES01IP47'
'RVQID' '009FN74C2KCBDC8M04STO2LAES01IP47'
'RVQDBID' '1107'
'RTargetTypeSelected' '2'
'RTargetRuleSelected' ''
'RTargetObjectSelected' '?:skillPPP >= 1 & skillTechnical >=1 & skillTechnical <=2 & skillRussian >=1 & skillRussian <=2'
'RTargetObjSelDBID' ''
'RTargetAgentSelected' '2081'
'RTargetPlaceSelected' 'Place_9949'
'RTenant' 'Resources'
'RStrategyName' 'FM_CSR_Distribution_New'
'RStrategyDBID' '221'
'CBR-actual_volume' ''
'CBR-Interaction_cost' ''
'CBR-contract_DBIDs' ''
'CBR-IT-path_DBIDs' ''
'RRequestedSkillCombination' ''
'RTargetRequested' '?:skillPPP >= 1 & skillTechnical >=1 & skillTechnical <=2 & skillRussian >=1 & skillRussian <=2'
'PegAG?:skillPPP >= 1 & skillTechnical >=1 & skillTechnical <=2 & skillRussian >=1 & skillRussian <=2' 1
'AutoMarkDone' 'Yes'
'AMD_timeout' '1'
AttributeDNIS '6930'
AttributeANI '994555902585'
AttributeThisDN '9949'
AttributeAgentID '2081'
AttributeThisDNRole 2
AttributeThisQueue '5002'
AttributeOtherQueue '6930'
AttributeOtherDN '994555902585'
AttributeOtherDNRole 1
AttributeExtensions [84] 00 03 00 00..
'OtherTrunkName' 'Trunk_MSSBHQH01'
'BusinessCall' 1
'ReleasingParty' '2 Remote'
AttributeTimeinSecs 1490948643 (12:24:03)
AttributeTimeinuSecs 29178
AttributeEventSequenceNumber 000000000bdf525e
12:24:03.864_T_I_008202976a464e16 [14:0c] EventReleased is received for ts SIP_p[SIP_Switch] (this dn=9949)
    _T_I_008202976a464e16 [14:0a] del DN (SIP_p[SIP_Switch] 9949 225da00) controlled=0 calluuid=1 cleanup=0(ref.id=0)
    _T_W_008202976a464e16 [14:0a] there is no DNs for call, selfdestruction(15)
12:24:03.864_I_I_008202976a464e16 [09:05] >>>>>>>>>>>>resume interp(0), func:SuspendForEvent
    _I_I_008202976a464e16 [09:04] ASSIGN: lintINTERACTION_SEQ(LOCAL) <- INTEGER: 3
    _I_I_008202976a464e16 [09:04] ASSIGN: lstrSTATUS(LOCAL) <- STRING: "Call ended"
    _I_I_008202976a464e16 [09:04] ASSIGN: lstrWDC(LOCAL) <- STRING: ""
[/code]

This one:  [b]_I_I_008202976a464e16 [09:04] ASSIGN: lstrWDC(LOCAL) <- STRING: "" [/b]
Is ExtensionData['ReleasingParty'] command which returns empty.

Offline Tambo

  • Sr. Member
  • ****
  • Posts: 456
  • Karma: 5
Re: ReleasingParty
« Reply #12 on: March 31, 2017, 09:36:07 AM »
have you set "releasing-party-report" in SIP server? this picks up who released the call and shows it in the logs

Offline deadmeat

  • Jr. Member
  • **
  • Posts: 75
  • Karma: -2
Re: ReleasingParty
« Reply #13 on: March 31, 2017, 09:59:00 AM »
releasing-party-report is set to true

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ReleasingParty
« Reply #14 on: March 31, 2017, 12:41:35 PM »
Original poster uses GQM which monitors all DNs and there is from where it gets the info, not from URS but from TServer