# prepareCallIdForCall

Version: 4.2.0+

Description: process the identifier that will be used for the call.

msgid "During outbound calls, the peerId parameter is transmitted, which inside VideoSDK/Room may be transformed and therefore differ from the original. To find out the final version of the used identifier, you can use this command."

msgstr ""

Request example:

{
    "method" : "prepareCallIdForCall",
    "requestId" : "1",
    "callId" : "https://192.168.0.1/c/sid"
}

Response example:

{
    "method" : "prepareCallIdForCall",
    "requestId" : "1",
    "preparedCallId": "\\c\\sid@some.server#vcs",
    "result" : true
}

Parameter description:

  • callId - a unique identifier that needs to be obtained in its final form. Applicability:

  • preparedCallId - the final version of the identifier that will be used.

  • requestId - unique request identifier. More details can be found here

See also: