Hello,
In my JSF application, I tried to create a new room with the following piece of code:
String create_parameters = "meetingID=" + urlEncode("DEMO") + "&name=" + urlEncode("DEMO");
String checksum = checksum("create" + create_parameters + Constants.BBB_SALT);
try {
// Attempt to create a meeting
System.out.println("CREATE URL: " + base_url_create + create_parameters + "&checksum=" + checksum);
String xml = getURL(base_url_create + create_parameters + "&checksum=" + checksum);
System.out.println("CREATE RESULT: " + xml);
doc = parseXml(xml);
} catch (Exception e) {
e.printStackTrace();
}
The 1st person to join the meeting doesn't face any issues. However, when I open another browser to connect to the same room, I ran into the "idNotUnique" error. On the console, I saw the following lines:
INFO: CREATE RESULT: <response><returncode>SUCCESS</returncode><meetingID>Demo</meetingID><attendeePW>UEkJhBu0</attendeePW><moderatorPW>tRfwEr1v</moderatorPW><createTime>1368738548081</createTime><hasBeenForciblyEnded>false</hasBeenForciblyEnded><messageKey></messageKey><message></message></response>
INFO: CREATE RESULT: <response><returncode>FAILED</returncode><messageKey>idNotUnique</messageKey><message>A meeting already exists with that meeting ID. Please use a different meeting ID.</message></response>
So as you can see, the 2 URLs called to create the room is the same. However, on the 2nd call, I got an error instead of a "duplicateWarning"... I'd be very grateful if you could show me how to tackle this problem.
Best regards,
James Tran