Where VQ is a Virtual Queue object VQ_XXXX like, and AG001 is a xxxx@StatServer75URS.A, but URS seems to not like this last object, telling me the target is not good.
Hi Kubig, thanks for the answer. Usually I use this method cause in this way interaction continues and I can write down some data in a DB object after the target selection (agent, dn, station, etc.). With the Target Selection usually this can’t be done; am I wrong ?
Oh, nice, I’ll try this way. In the Target Selection block if I select a variable as target type or virtual queue, I can’t use the block to specify other parameters as domain or name, so what is the right syntax for agent and vq ?
agent@statserver.A and vq@statserver.Q ? Or what ?
For agents targetname (if specified as targetname@statserver.A or just as targetname.A) is agent’s employee ID.
Agent of course should be ready (no force routing here).
probably the main limitation for after “Target Selection” - often not possible to attach data to the call, but
operations not related with call (writing to data base for example) are OK.
Ok, test done. The routing works finely and as said by Kubig, the interaction goes on and I can write down data to DB. Thanks Kubikle for the detailed tips, I’ll test soon the loss of data attachment capability cause we use call transfert service through a dedicated IRD application to route call from an area to another, manipulating some attached data to mantain a call history. Another thing I lost using Target Selection instead of SelectDN, is the destination agent’s place name ad a result to this function GetStringKey[‘place’,DESTINATION] where “DESTINATION” is the result of the usual SelectDN function. At the moment, after target selection I no longer have a result from that function.
I did quick test and if URS is configured to attach target details (report_targets = true) then it’s possible to read ‘RTargetPlaceSelected’ user data key after call is routed (=leaves Selection block via green port).
If report_targets is disabled and you have URS 8.1.1 (or newer) then you can use FindConfigObject function to find out place to which target DN belongs to.
@René: We use URS 7.5. @Kubig: Sadly, in our configuration the extension corresponds to the station phone number, the PLACE to the agent workstation’s hostname. Using the SelectDN function I can CAT: STATION(extension):AGENTID:PLACE(WORKSTATION HOSTNAME), using Target Selection, seems I can’t.
With old URS versions using of ExtensionData[‘PLACE’] after target selection might help (not related with report_targets option setting).
Also I think original SelectDN aproach also should work (target to be used supposed to be the same as in target selection object) -
if it doesn’t then URS logs need to be checked for exact reason - unlikely it is because of target specification.
@Kubikle Using SelectDN method with the same targeting object results in a “target too old or invalid” when the function result is used to route call. I’ll try the ExtensionData too and will make you know.
EDIT
@Kubikle, oh maybe you intended me to use the SelectDN only to extract the PLACE info ?
Gef - I believe Rene has the right idea. After the target block just try to read the value of the key ‘RTargetPlaceSelected’ ( I believe the spelling is correct ). In the event that it is trying to read the key before URS updates it, you may have to proceed it with a WaitForEvent[‘EventRinging’] before you get the value.
The ExtensionData[‘PLACE’] function after the arget Selection worked like a charm it gives the real place wich agentid depends from at the moment of the target selection.
Ok, I think I can write the “solved” word on this post Thanxalot to all of you, really.