@Soundhar M , Apologies for the delayed response from over the weekend.
Based on my understanding of your issue description. In Azure Communication Services (ACS) the call id
can be retrieved by calling the call.getCallId()
method on a call object after a call ends. This call
is an instance of a call created by callAgent.startCall(…)
or callAgent.join(…)
methods.
If you are looking for the serverCallId
, it can be accessed by calling call.getInfo().getServerCallId().get();
. You can send this serverCallId
to your recording server to start the call recording ( SO thread, I'd answered).
These methods should be called after the call has ended.
In case, if you are still having trouble finding the call id
, you may checkout these:
- ACS | Manage calls
- Troubleshooting in ACS -When troubleshooting voice or video calls, you may be asked to provide a
call ID
. This value can be accessed via theid
property of thecall
object.
// `call` is an instance of a call created by `callAgent.startCall` or `callAgent.join` methods
console.log(call.id)
Kindly let us know how it goes or if I misunderstood your ask, I'll follow-up with you.
If the answer helped (pointed, you in the right direction) > please click Accept Answer - it will benefit community members to find the answers quickly.