PureConnect

 View Only

Discussion Thread View
Expand all | Collapse all

Get full call id keys for a call id?

  • 1.  Get full call id keys for a call id?

    Posted 03-29-2017 15:24
    I'm looking to get the full call ID key from the short call ID for better reporting purposes (the source of the short call ID is call attribute Eic_ConferenceMembers). Does anyone know of a build in method that might accomplish this, or failing that the least resource intensive way to harvest such?


  • 2.  RE: Get full call id keys for a call id?

    GENESYS
    Posted 03-29-2017 16:26
    The Eic_CallIdKey attribute holds that value for a call (there is no equivalent for a ConferenceId) So, in the CustomCallDisconnect handler you can access the Eic_CallId, Eic_CallIdKey, and Eic_ConferenceId attributes. Another attribute you would probably find useful is the CallLog attribute. It contains an entry that shows when the call is added to a conference, including the ConferenceId. Parse that attribute to find each occurrence of "conference" and pull out the 10 characters following the space after conference. [ATTACH]805[/ATTACH]


  • 3.  RE: Get full call id keys for a call id?

    Posted 03-29-2017 16:31
    Originally posted by GGanahl;35046
    The Eic_CallIdKey attribute holds that value for a call (there is no equivalent for a ConferenceId) So, in the CustomCallDisconnect handler you can access the Eic_CallId, Eic_CallIdKey, and Eic_ConferenceId attributes. Another attribute you would probably find useful is the CallLog attribute. It contains an entry that shows when the call is added to a conference, including the ConferenceId. [ATTACH]805[/ATTACH]
    Thanks George. I know about and use those attributes already, too :) I thought I'd just list the source of where I'm getting the IDs from for completeness' sake but it seems to have muddied the waters. All I'm really looking for is a quick and easy way to get the full call id key from the call id via something built in such as a toolstep or subroutine, or if someone knows of a quick and easy way to do so if not.


  • 4.  RE: Get full call id keys for a call id?

    GENESYS
    Posted 03-29-2017 16:34
    Ok...what I would do is pull the Eic_ConferenceMembers attribute, parse out each of the Eic_CallIds from it, use the "Convert String to CallID" tool to convert to the CallID, then use the Get Attribute toolstep to get the Eic_CallIdKey. You have to do that before the calls deallocate from the system (about 2 minutes after disconnect) so that the CallIds are still valid.


  • 5.  RE: Get full call id keys for a call id?

    Posted 03-29-2017 17:17
    Originally posted by GGanahl;35048
    Ok...what I would do is pull the Eic_ConferenceMembers attribute, parse out each of the Eic_CallIds from it, use the "Convert String to CallID" tool to convert to the CallID, then use the Get Attribute toolstep to get the Eic_CallIdKey. You have to do that before the calls deallocate from the system (about 2 minutes after disconnect) so that the CallIds are still valid.
    Yah, that was my preliminary thought too, but I was worried about missing that allocation window and/or it taking up a lot of resources to do so - any ideas on how much of a system resources hit it is to instantiate 4 or 5 call objects at once, for instance? We have a 1200 person contact centre, so the potential load is not inconsiderable.


  • 6.  RE: Get full call id keys for a call id?

    GENESYS
    Posted 03-29-2017 17:48
    I'm asking around...


  • 7.  RE: Get full call id keys for a call id?

    GENESYS
    Posted 03-29-2017 18:26
    Before you go too far down the custom path...have you looked at Interaction Tracker? It already has reports which allow you to see conference calls and the parties involved, grouped by IC User. Tracker Interaction Segment Summary by IC User, and Tracker Interaction Segment Detail by IC User


  • 8.  RE: Get full call id keys for a call id?

    Posted 03-29-2017 19:29
    Originally posted by GGanahl;35051
    Before you go too far down the custom path...have you looked at Interaction Tracker? It already has reports which allow you to see conference calls and the parties involved, grouped by IC User. Tracker Interaction Segment Summary by IC User, and Tracker Interaction Segment Detail by IC User
    Yes, unfortunately Interaction Tracker won't solve the issue we're trying to address with this report :/ Good suggestion tho, thanks!


  • 9.  RE: Get full call id keys for a call id?

    GENESYS
    Posted 03-29-2017 19:42
    Bummer. I haven't had a response on the resource usage yet.


  • 10.  RE: Get full call id keys for a call id?

    Posted 03-29-2017 19:43
    Originally posted by GGanahl;35054
    Bummer. I haven't had a response on the resource usage yet.
    No worries. Thanks for taking up the flag! If someone does get back to you, I'd certainly like to know :)


  • 11.  RE: Get full call id keys for a call id?

    GENESYS
    Posted 03-30-2017 18:38
    Per Dev: "...if it’s just pulling attributes off of existing interactions that shouldn’t be too expensive. IP already has the attributes cached, so there wouldn’t be a round trip to QM to get them. It seems like the worst case is that it would tie up a thread in IP for longer than usual."


  • 12.  RE: Get full call id keys for a call id?

    Posted 03-30-2017 19:40
    Originally posted by GGanahl;35059
    Per Dev: "...if it’s just pulling attributes off of existing interactions that shouldn’t be too expensive. IP already has the attributes cached, so there wouldn’t be a round trip to QM to get them. It seems like the worst case is that it would tie up a thread in IP for longer than usual."
    Many thanks! So it sounds like it is reasonable to assume it won't be a big resource hit then.


Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources