Moving call IDs to the server
RTCID_SOURCE (per tenant) decides who creates the Call ID.
- Client (default): the app chooses the Call ID or asks for one before dialling.
- Server: the Call ID is created when the call is dialled and returned in the dial response.
What changes with Server
- Asking for a Call ID before dialling (
GetNewRtcId) returns 404 withRTCID_ISSUED_BY_DIAL. - A dial that brings its own Call ID (
RtcIdorRoomId) is refused with HTTP 400 andRTCID_ISSUED_BY_DIAL. No call is created. - A dial for an existing call is accepted only with that call's customer token in the
X-Ecv-Call-Tokenheader.
So apps that pick their own Call ID cannot start calls any more. Apps that dial first work with both values.
Release plan
- List every app and integration that dials: mobile apps, web pages, backends.
- Mobile SDK: set
rtcIdSourceto SERVER inECVSdkConfigurationand release the app. - Other integrations: dial without a Call ID and take
RtcIdfrom the dial response. - Wait until old app versions are no longer in use.
- Set
RTCID_SOURCEto Server for the tenant. - Watch for
RTCID_ISSUED_BY_DIALerrors. To go back, set Client.
If a DMZ server could not read the tenant's value yet while other tenants on it use Server, requests that bring or ask for a Call ID get 503 RTCID_SOURCE_UNKNOWN instead of being handled with the wrong value. They succeed once the value is read.
No comments to display
No comments to display