I have a requirement to initiate another call while user is on first call. In this scenario first call's video will be turned off but audio will be on, User can mute/unmute audio.
When I am trying to initiate the second call , it throws error saying : CallingCommunicationError: Failed to create call agent, call agent for this ACS Id already exists
however in the azure documentation - its mentioned : You can create a new CallClient instance to create a new CallAgent. I am doing the same (creating new instance of CallClient for second call and then create callAgent using this newly created CallClient instance) but still it throws error saying call agent for this ACS Id already exists and I am not sure what exactly this ACS Id is? below is the code snippet
const callClient = new CallClient()
const credential = new AzureCommunicationTokenCredential(avToken)
this.callAgent = await callClient.createCallAgent(credential, { displayName: userId })
this.deviceManager = await callClient.getDeviceManager()