I have a requirement to report on Abandoned calls. Basically, I have to attach a KVP if a call is abandoned.
To do this, I have used the OnCallAbandoned function in the main strategy and passing the name of a sub-routine in it.
And in the Sub-routine, I attach a KVP to the call. But it is not working. I am unable to see the KVP being attached in the URS log.
Am aware I may be doing something fundamentally wrong here (in that am attaching KVP to a call that is already gone). Is that the case?
If yes, Is there a work around?
Anyway I doubt it will work, when the call is terminated the call context in T-Server is closed, you shouldn’t be able to modify anything related to a destroyed call.
There is a function called OnCallAbandon, what I did was to create a SP which was invoqued by a substrategy loaded by this function and then stored some info on a table.
well then you’ve got some other issues there, logs always speak up - rule #1 . set the appropriate URS log level and then track the call flow from the EventRouteRequest on.
Interesting; probably the SP is called just on time and anyway executed separetely, where the RequestAttachData would be executed within the call context, right after has already been abandoned.
As clearly stated in the documentation the call context is gone when a “OnCallAbandoned” strategy is executed. So it isn’t possible to do any operation over the call like attaching user data, applying treatment etc.
Well my idea was as I can’t attach the data to the call, at least save the connid, ANI and do the “Attach” outside Genesys so later you can check that table and see what you needed.
Have someone tried to send userevent with the kvps and connid from this “OnCallAbandoned” strategy? Icon/Infomart can capture this information although call is long gone (of course withing defined timeout) and associate submitted KVPs to original call records.