Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Ali on April 24, 2013, 01:57:21 PM
-
Hi folks;
Given the following,
[font=courier][color=navy]@12:28:51.2597 [0] 7.6.001.10 distribute call/party event: message EventCallPartyDeleted
AttributeEventSequenceNumber 0000000008236443
AttributeTimeStamp 517789b30003f69b
AttributeConnID 007402231e45f538
AttributeCallUUID '017UVNI3788JH37HLGEG00LAES0A4LAO'
AttributePartyUUID '017UVNI3788JH37HLGEG00LAES0A4LNB'
12:28:51.259 Int 04544 Interaction message "EventCallPartyDeleted" generated
12:28:51.259 Trc 04542 EventCallPartyDeleted sent to [21] (0000000b ICON_p xxxx:51912)
12:28:51.259 Int 04544 Interaction message "EventCallPartyDeleted" generated
12:28:51.259 Trc 04542 EventCallPartyDeleted sent to [14] (00000004 ICON_b xxx:34842)[/color][/font]
I would like to receive [b]EventCallPartyDeleted[/b] and other Call Monitoring-related events using Platform SDK.
To where I should register? Switch? TServer?
Could you give me a sample code segment?
Thanks in advance
-
On TServer object (TServer generates message of type Event). You have to develop your own T-Lib client, which will connect to the T-Server via T-Library and register required DNs for required events. This forums does not provides step by step manuals for deployment any Genesys solution, for these purposes are here Genesys PS or other Genesys experts. Try to learn the doc and look at some samples, if you do not understand exactly to etiher func, create new topic with more description.
BTW: From the logs I can see, that you have installed ICON, so why do you not use ICON for these purposes?
-
Following code segment should be used:
[code] RequestStartCallMonitoring req = RequestStartCallMonitoring.create(RegModeMask.Default);
...
try {
protocol.send(request);
} catch (ProtocolException ex) {
System.out.println("Error: "+ex);
throw new Exception(ex.getMessage(), ex);
}[/code]
FYI
-
Hmm..nice..and What am I to do about it? Why do you not use ICON for these purposes - why reinvent the wheel?;-)
-
;D Maybe he doesn't have it and for his needs is too expensive or no need to buy a full ICON... ;)
-
[code]12:28:51.259 Trc 04542 EventCallPartyDeleted sent to [21] (0000000b ICON_p xxxx:51912)
12:28:51.259 Int 04544 Interaction message "EventCallPartyDeleted" generated
12:28:51.259 Trc 04542 EventCallPartyDeleted sent to [14] (00000004 ICON_b xxx:34842)
[/code]
as you can see above, user has ICON, therefore I asked :-) But, you make me laugh Cav..thx :-)))
-
We don't know why he wants to register for Events, why are you so negative? :)
Fra
-
I do not know that I was negative, I am only looking for real needs, may be ICON provides all needed functions and he only does not know about it, may be ICON is not enough and then we can suggest other solution, for example via PSDK.
-
Kubig, maybe you should read his post again where he says "I would like to receive EventCallPartyDeleted and other Call Monitoring-related events using Platform SDK". I think he was pretty clear.
Ali, thanks for letting us know the solution.
-
rpenney, please posting to argue against one member who helps much more is not nice. Save your comments. I do understand Kubig, what he says is:
If you have ICON which already monitors all objects and events, why do it again with PSDK?
So maybe you have to read better.
We don't know his needs neither his knowledge, therefore we ask in order to achieve not just what he wants, but probably the best solution in time and effort too.
-
Exactly Cav, thanks for repair my English (it is not good, I know :-)).
-
[quote author=Fra link=topic=7782.msg33757#msg33757 date=1366899829]
We don't know why he wants to register for Events, why are you so negative? :)
Fra
[/quote]
He wants to beat me Fra :D :D :D
-
I would like to thank Mr. Kubig for his comments. However, what I want is not to use ICON but another application
that monitors whole life cycle.
Let me brief information on what I was up to. I was developing Who Dropped Call feature for Genesys 7.6 and
I did. That's why I needed this information.
-
The best way how to achieve it is in developing own application based on T-Lib ,which for example registering required events for particular DNs.
-
Easy way:
1- Register directly for TServer
2- Monitor all DNs you may need.
3- Listen to the Events you may need
For sample code, on Wiki page, seek PSDK samples, look at the agent softphone one, only that instead of monitoring a DN of type Extension you will monitor a DN of type Queue (RP, Queue or VQ). Changes on the code are minimal for the Register Part. Check embedded documentation on the PSDK too. It also has sample code on it.