Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: PK on August 28, 2006, 07:46:34 AM
-
Hello,
I think you have a really great site and it is a goldmine to people like me. I am researching enterprise and I have noticed a "multiattach" icon. At our site, ir server attaches more than a dozen pairs of user-data making ir.log very hard to read. If I switch to multiattach, will one RequestAttachData contain multiple user-data in it redcuing the overall number of requests? I do not have URS 7.2 license to test it myself. Any info would be just great!
-PK
*****************************************::
-
Hi PK,
Yes, you're right. One request with multiple key-value pairs is generated only by URS when using MultiAttach. Here is a part of URS log showing that kind of request:
---------------------------------------------------------
2005-11-23T12:48:58.306 Trc 04541 RequestUpdateUserData received from 360 (0004 rut_urs)
message RequestUpdateUserData
AttributeThisDN '3000'
AttributeConnID 0066014727b3fa5a
AttributeUserData [74] 00 03 00 00..
'ServiceType' 'Helpdesk'
'CustomerSegment' 'default'
'ServiceObjective' ''
AttributeReferenceID 26213
---------------------------------------------------------
René
-
Good news ;)
You can use mulitattach already in ver. 6.x. I am not sure with version 5.x.
The trick is you have to build up Key-Value pair list of user data you want to attach, put it in to variable and then use this variable as second parameter of function Attach[_key_,_value_] which is value. Theere is only one condirion. The _key_ parameter MUST be empty!
variable = 'key1:value1|key2:value2|key3:value3'
Attach['',variable]
cheers
e.
-
Ecki!!!!
You are a freaking genius!!! :P
This is nothing short of awesome! I have a load of strategies that are still in 6.5 and this is what I need! I mean - this is totally awesome! :o
Way to go, dude!
Like the original poster, I have a lot of Update (not several dozens though...) and my log is a total mess.
This will make life so simple! ::)
Thanks!!!
Vic
-
Yeah, mate you are bloody welcome ;D
Glad to help you.
cheers,
e.
-
Victor -
The nice part about ecki's solution is that you can also manipulate those values using the List function (GetStringKey, GetIntegerKey, and their Set counterparts) in IRD if you want to massage, validate, normalize, etc those values before attaching.