" /> EventCallDeleted - Genesys CTI User Forum

Author Topic: EventCallDeleted  (Read 6999 times)

Offline Ali

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 0
  • Haunted by Genesys
    • My Web Site
EventCallDeleted
« on: April 24, 2013, 01:57:21 PM »
Advertisement
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

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: EventCallDeleted
« Reply #1 on: April 24, 2013, 02:06:14 PM »
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?
« Last Edit: April 24, 2013, 02:07:56 PM by Kubig »

Offline Ali

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 0
  • Haunted by Genesys
    • My Web Site
Re: EventCallDeleted
« Reply #2 on: April 24, 2013, 03:24:10 PM »
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

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: EventCallDeleted
« Reply #3 on: April 25, 2013, 10:20:33 AM »
Hmm..nice..and What am I to do about it? Why do you not use ICON for these purposes - why reinvent the wheel?;-)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: EventCallDeleted
« Reply #4 on: April 25, 2013, 12:20:29 PM »
;D Maybe he doesn't have it and for his needs is too expensive or no need to buy a full ICON... ;)


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: EventCallDeleted
« Reply #5 on: April 25, 2013, 01:42:58 PM »
[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 :-)))

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: EventCallDeleted
« Reply #6 on: April 25, 2013, 02:23:49 PM »
We don't know why he wants to register for Events, why are you so negative? :)

Fra

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: EventCallDeleted
« Reply #7 on: April 25, 2013, 04:00:12 PM »
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.

Offline rpenney

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 2
Re: EventCallDeleted
« Reply #8 on: April 26, 2013, 10:21:23 AM »
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: EventCallDeleted
« Reply #9 on: April 26, 2013, 11:34:29 AM »
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.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: EventCallDeleted
« Reply #10 on: April 26, 2013, 12:25:44 PM »
Exactly Cav, thanks for repair my English (it is not good, I know :-)).

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: EventCallDeleted
« Reply #11 on: April 26, 2013, 12:54:50 PM »
[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

Offline Ali

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 0
  • Haunted by Genesys
    • My Web Site
Re: EventCallDeleted
« Reply #12 on: April 29, 2013, 08:16:10 AM »
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.


Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: EventCallDeleted
« Reply #13 on: April 29, 2013, 08:18:37 AM »
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: EventCallDeleted
« Reply #14 on: April 29, 2013, 03:39:02 PM »
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.