Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: nishantank on March 02, 2010, 04:57:17 PM
-
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.
-
[quote author=nishantank link=topic=5200.msg22990#msg22990 date=1267553000]
Exactly .. and thats what the logs show ... nothing.
I cannot even use the print function to print anything pertaining to the call.
[/quote]
well then you've got some other issues there, logs *always* speak up - rule #1 :P . set the appropriate URS log level and then track the call flow from the EventRouteRequest on.
[quote author=cavagnaro link=topic=5200.msg22991#msg22991 date=1267558770]
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.
[/quote]
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.
-
[quote author=Fra link=topic=5200.msg22993#msg22993 date=1267576167]
[quote author=cavagnaro link=topic=5200.msg22991#msg22991 date=1267558770]
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.
[/quote]
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
[/quote]
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
-
[quote author=René link=topic=5200.msg23001#msg23001 date=1267606094]
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.
[/quote]
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.
-
[quote author=ecki link=topic=5200.msg23261#msg23261 date=1267774431]
[quote author=René link=topic=5200.msg23001#msg23001 date=1267606094]
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.
[/quote]
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.
[/quote]
I tried in the old days with Call Concentrator and didn't work..it would worth re-trying now.
Fra
-
Good idea :). I will try as well as soon as I find a bit space in my time frame.
e.