Hi
Sure. You are already doing this part.
When you issue
{
"action": {
"name": "ConnectConf",
"conferenceId": "InAppToPSTN",
"moh": "ring"
}
}
You will have recieved a call-id in the ICE
event: 'ice',
callid: '9ae753-nnnn-481c-nnnn-8dc81c1f8287',
callResourceUrl: 'https://calling-euc1.api.sinch.com/calling/v1/calls/id/9ae753-nnnn-481c-nnnn-8dc81c1f8287',
timestamp: '2023-10-04T08:47:56Z',
version: 1,
userRate: { currencyId: 'USD', amount: 0.2 },
cli: '4611111111',
to: { type: 'did', endpoint: '+4622222222 },
domain: 'pstn',
applicationKey: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
originationType: 'PSTN',
rdnis:
In the ICE is contained the call-id 9ae763... in the example above
It will be used in the portion of the call-id in kick participant.
https://developers.sinch.com/docs/voice/api-reference/voice/tag/Conferences/#tag/Conferences/operation/Calling_KickConferenceParticipant
For example:
DELETE https://calling.api.sinch.com/calling/v1/conferences/id/{myconference}/{9ae753-nnnn-481c-nnnn-8dc81c1f8287} for the pstn leg
... View more