Author Topic: ActiveX / CallID Status question  (Read 9032 times)

Offline sbc279

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
ActiveX / CallID Status question
« on: January 11, 2009, 02:00:04 AM »
First off, you guys are AMAZING!  Your help is truly appreciated.

How, using Desktop ActiveX, can I get the status of call?  I have the DN and CallID, but I'm lost.

Thanks!

Steve

Offline sbc279

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: ActiveX / CallID Status question
« Reply #1 on: January 15, 2009, 06:09:59 PM »
I should also mention I have an active TConnection object



[quote author=sbc279 link=topic=3720.msg15894#msg15894 date=1231639204]
First off, you guys are AMAZING!  Your help is truly appreciated.

How, using Desktop ActiveX, can I get the status of call?  I have the DN and CallID, but I'm lost.

Thanks!

Steve
[/quote]

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: ActiveX / CallID Status question
« Reply #2 on: January 15, 2009, 08:10:13 PM »
What do you mean by "status of a call"?

Offline sbc279

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: ActiveX / CallID Status question
« Reply #3 on: January 15, 2009, 11:02:35 PM »
[quote author=cavagnaro link=topic=3720.msg15995#msg15995 date=1232050213]
What do you mean by "status of a call"?
[/quote]

Great question. Allow me to attempt to explain what I'm looking for...

#1)
I need to get the STATUS (call state?) of a CallID.  Is it still active? Has it been released, etc.

#2)
I need the number of calls in the queue.  If I use "TQueryAddress" and monitor the returned event, I see none that contain the number of calls. I'm unsure how to use "AddressInfoCallQuery" with TQueryAddress. It always gives me an error.


I have my TExtension "TExtensionType" setup as a "TypeRouteQuery" (is that correct to monitor the trunk?) in supervisor mode. Once the call is diverted to a destination, how can I tell when the analyst completes it?  EventReleased won't help because its been diverted.

HELP???  PLEASE???

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: ActiveX / CallID Status question
« Reply #4 on: January 16, 2009, 03:19:09 AM »
The only way would be to monitor all extensions that receive a call and that your software stores the status of all interactions. then you do a search against your db and find that callid.
And now, what advantage do you get to know if a call has been already released or not?

Offline jbobinsk

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 1
Re: ActiveX / CallID Status question
« Reply #5 on: January 16, 2009, 01:56:59 PM »
Hi,

When you have ActiveX Toolkit or other SDK and you register DN (for example Extension) you will see eventRegistered - inside of it you will see all ConnIDs of active calls on this DN.

Regards
jbobinsk

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: ActiveX / CallID Status question
« Reply #6 on: January 16, 2009, 04:02:56 PM »
Yes, but if he monitors the RP then he will get the info of calls on that DN, what he wants for what I understand is to search a CallID in the whole call process...can be in a RP, in an agent, in a IVR port, even in a non monitored object...no way to achieve that with any SDK. I think Infomart is the way.

Offline sbc279

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: ActiveX / CallID Status question
« Reply #7 on: January 16, 2009, 06:44:30 PM »
[quote author=jbobinsk link=topic=3720.msg16012#msg16012 date=1232114219]
Hi,

When you have ActiveX Toolkit or other SDK and you register DN (for example Extension) you will see eventRegistered - inside of it you will see all ConnIDs of active calls on this DN.

Regards
jbobinsk
[/quote]

But how can to register a DN to monitor if it's in use?  I tried this, and the event came back that it was in use.  I guess the real question then is how do I monitor an extension/DN of an agent logged on to the extension?

Or, would it be better to monitor the agent if possible?  (if so, how would you do that?)  The ultimate goal here is to see how many active calls there are per DN/Trunk/Queue or whatever. I see the call come in (EventQueued), I see it diverted (EventDiverted) to an analyst, and I can even see if it was abandoned (EventAbandoned) while queued.  Once diverted though, I lose it so I can't count it (or any of the hundreds of other calls).  Any ideas??

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: ActiveX / CallID Status question
« Reply #8 on: January 16, 2009, 06:54:07 PM »
Many posts about monitoring objects with example code are already posted. Please search.

Offline sbc279

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: ActiveX / CallID Status question
« Reply #9 on: January 21, 2009, 03:12:09 PM »
[quote author=cavagnaro link=topic=3720.msg16022#msg16022 date=1232132047]
Many posts about monitoring objects with example code are already posted. Please search.
[/quote]

I appreciate all the help everyone has contributed.  Cavagnaro, if you know of a specific search pattern, could you please share it?  Trust me, I've been through practically every message here (any many have helped immensely), but none that answers the question of how to get a call's status (has it been released?) using the CallID and/or ConnID via ActiveX

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7639
  • Karma: 56330
Re: ActiveX / CallID Status question
« Reply #10 on: January 21, 2009, 05:36:37 PM »
[quote]But how can to register a DN to monitor if it's in use?[/quote]

My answer was to this point, all this thread we discussed on your main question of the call status.

Offline sbc279

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: ActiveX / CallID Status question
« Reply #11 on: January 23, 2009, 03:14:35 PM »
[quote author=cavagnaro link=topic=3720.msg16106#msg16106 date=1232559397]
[quote]But how can to register a DN to monitor if it's in use?[/quote]

My answer was to this point, all this thread we discussed on your main question of the call status.
[/quote]

I have no idea what that means, but thanks for trying.  I'll keep searching, and if/when I find a solution I'll be sure to post it here.