how to get call id from genesys sdk platform

950 views Asked by At

i want to get the Call id when the call is answered from agent with using the WDE (Workspace Desktop Edition) Platform SDK for .NET [ C# ] without using SIP Server ?

to call the Rest API https://docs.genesys.com/Documentation/HTCC/latest/API/CallsAnswer

so that i need to know /{id} for answer call and get Connid and MSISDN from the response

2

There are 2 answers

3
osman aymaz On

You can connect to T-server and monitor agent extension's events. When the agent answers the call, T-server sends an established message to you. This established message includes DeviceId(ThisDn),AgentId,CallId,ConnId and other informations of call.

In the link below, you can see that how to connect t-server and monitor extension's events.

Genesys Platform : Get Call Details From Sip Server

0
ostergaard On

You can get the list of all calls or search for a specific call by GETing /api/v2/me/calls or /api/v2/me?subresources=*. Details here.