appointment_videocall_join ()
Function prototype | appointment_videocall_join (session, ref) |
---|---|
API Version | 2.7.32 and higher |
SOAP, REST |
Description
Request to join an appointment by video or audio call
A member of an appointment can use this function to obtain the connection parameters required to join a video or audio call.
Depending on the configuration of the appointment, the response may be:
Direct connection is allowed: this means that the member can bypass the lobby and can join directly the appointment
Stay in the lobby: The member can’t join directly the conference and needs to be accepted by the owner. Depending on the implementation of the client application requesting the access, the notification can be obtained in one of the following ways:
If the client has subscribed to receive notifications using the API function alert_subscribe () , then an alert will be sent to the callback configured.
Continue asking access using appointment_join() to check whether the access has already been granted
Required permissions: The active user must be a member invited to the appointment. Otherwise an INSUFFICIENT_PRIVILEGES error will be returned.
Input parameters: |
|
Output parameters: |
|
Request example
appointment_videocall_join ( “LCAAAAAAAAAAAA”, 8845)
Response
The response format is XML when the function has been invoked via the SOAP API, and JSON when it has been invoked via the REST API
Return Error codes
ERROR CODE |
|
---|---|
INVALID_TOKEN | The session token provided is not valid |
INSUFFICIENT_PRIVILEGES | The session user does not have the necessary privileges to request joining the appointment |