Can I Attach data to a call after it is abandoned using OnCallAbandon

Hi

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?

and what do the logs say?

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.

Fra

Exactly .. and thats what the logs show … nothing.
I cannot even use the print function to print anything pertaining to the call.

Anyway, thanks for responding

Nishant

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 :stuck_out_tongue: . 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.

Fra

Hi Nishantank,

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.

R.

1 Like

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.

Yep, makes absolutely sense, Cav, it is as I was trying to explain.

Fra

1 Like

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.

e.

I tried in the old days with Call Concentrator and didn’t work..it would worth re-trying now.

Fra

1 Like

Good idea :). I will try as well as soon as I find a bit space in my time frame.

e.

1 Like