Share via

CallingCommunicationError: Invalid call configuration when attempoting to join a rooms call, but the exact same code (except for setting the room id) works for a joining group call with uuid?

Breathe Development Team 20 Reputation points
2023-06-22T16:38:43.8933333+00:00

Hi Microsoft Support,Have a problem with callAgent.join for a room call but the same code for a group call works,

//this code works

const context = { groupId: '87f5d819-faba-4d87-8c47-062a3d13afa2' }

...some code

call = callAgent.join(context, { videoOptions });

//this code does not work and causes "CallingCommunicationError: Invalid call configuration" in developer console

const context = { roomsId: '9956258045796892' }

...some code

call = callAgent.join(context, { videoOptions });

using the latest versions with npx parcel

@azure/communication-calling 1.14.1

@azure/communication-common 2.2.1

@azure/communication-rooms 1.0.0

Any ideas? It seemed to work last night then today nothing I try can make the room join call work! 8( It taking up too much time might have to just use group call but as its for a secure mental health video chat support charity the rooms call would be better solution so really would like to find out what the problem is there, I noticed it was only just promoted to public release. Also we where not planning to use the https://github.com/Azure/communication-ui-library as we are integrating into an exising django python app and so we cant just switch to react. But if group call works and I can get the videos and audio working surely its only a minor issue preventing the room call?

Thanks,

Paul

Azure Communication Services

Answer accepted by question author

Ajay Kumar N 28,266 Reputation points Microsoft Employee Moderator
2023-06-25T18:12:37.6833333+00:00

@Breathe Development Team , Following-up on this, from your example:

const context = { roomsId: '9956258045796892' }

Could you please try roomId instead.**
**
Looking at your snippet you have shared it doesnot look like the locator is in the correct format. You are referring to a roomsId property in the locator when it should be roomId.
Kindly let us know how it goes, I'll follow-up with you further.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.