" /> How to get connid from inbound calls in softphone. - Genesys CTI User Forum

Author Topic: How to get connid from inbound calls in softphone.  (Read 5664 times)

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

Anthony

  • Guest
How to get connid from inbound calls in softphone.
« on: January 01, 1970, 12:00:00 AM »
Advertisement
Hi,

In an inbound campaign I need to flag some calls through my Softhone, in order to then retrive those calls and present stadistical data of those calls in a report.

I was thinking of providing my agents a buton in the Softphone that they can click, in order to get the call 'connid' and store it in a db table. Then I can join those records in the corresponding Call Concentrator tables and run my report.

The only problem is, How can I get the connid out of and inbound call through my Softhone?

If anybody knows, or have an easier way to acomplish this please help.


Thanks,
Anthony

Vic

  • Guest
How to get connid from inbound calls in softphone.
« Reply #1 on: January 01, 1970, 12:00:00 AM »
Why just not use EVREFEX table?

Also, could you please tell us in a bit mroe details what exactly you want to do?

Chances are, CCON already has that info. You can retrieve agent info from AREC table, ConnID from GCDR or SCDR tables and tie them together. You can also use EVREFEX table for additional data that you want to be stored with the call for reporting.

If you want to get connection id with softphone, just use TEvent.ConnID it has connid of the call.

There is no need to make your agent press a button you can get that connid on eventreleased, eventringing or any other event that you think is a good time to pick it up.


Mikael Jansson

  • Guest
How to get connid from inbound calls in softphone.
« Reply #2 on: January 01, 1970, 12:00:00 AM »
Since you are using CCON and if these calls have specific AttachData you can configure CCON to store that data in a db able (GDATAEX,EVREFEX) and then you just have to run your report against that table.

Anthony

  • Guest
How to get connid from inbound calls in softphone.
« Reply #3 on: January 01, 1970, 12:00:00 AM »
Hi Vic,


The reason for the buton in the softphone is, that I want my agents to choose which call to flag.

I'am attaching the connid in my routing strategy, so when the agent receive the call and press the buton the call's connid gets inserted into a customized table.

But the attached connid is not matching with the CCON connid's.

For example Iam getting connid: 0001010f3976b726

but connid's in CCON are all numeric.


Is there a way to match both connid's.



Thanks,
Anthony

Anthony

  • Guest
How to get connid from inbound calls in softphone.
« Reply #4 on: January 01, 1970, 12:00:00 AM »
I went to my CCON application options, and set the evrefex to on, but the table is not getting populated.

Iam missing something?

Dave

  • Guest
How to get connid from inbound calls in softphone.
« Reply #5 on: January 01, 1970, 12:00:00 AM »
Unfortunately, there is no way to change the format that the connIDs are written in - router will provide it in Hex format, CCon will provide it in Dec format. You can build a stored procedure that will do the comparison for you, or your reporting application may be able to do it for you as well.

Given the intent of your feature, it would probably be easier to not use Router to store the ConnID at all. Instead, when the app gets EventRinging, save TEventInfo.ConnID to a variable, let's call it dblConnID. Then write a function to convert that variable to a Hex, and save it as hexConnID. When the button is clicked, you can store that hexConnID, and that will match up with the one that is stored in EVRefEx.

Trang

  • Guest
How to get connid from inbound calls in softphone.
« Reply #6 on: January 01, 1970, 12:00:00 AM »
You need to do 32it hex conversion. People are usually used to 16it conversion. I had a little handy procedure somewhere to convert connid to hex and back. Let me see if I still have it!

Mikael Jansson

  • Guest
How to get connid from inbound calls in softphone.
« Reply #7 on: January 01, 1970, 12:00:00 AM »
Hi again.
You should be able to attach data to the call when the agent clicks the botton, and the let CCON stor that data in a db able.

/ Mikael

Marked as best answer by on Today at 07:55:24 PM

Anthony

  • Guest
How to get connid from inbound calls in softphone.
« Reply #8 on: January 01, 1970, 12:00:00 AM »
  • Undo Best Answer
  • Hi Trang,


    Did you find that storeprocedure?