Skip to main content

Group Call Event callback

When a participant joins or leaves a group call (conference), the Group Call Event callback is called. Applications can do the following tasks with the Group Call Event callback.

  • Notify participants that the call has just started
  • Check the call status (for example, whether the group call ended or not)
  • Collect statistical data

Method and URI

  • Method: GET
  • URI: {on_gcall_evt_cb_url}

Query parameters

ParameterTypeNullableDescriptionExample
sidStringNSession ID. You can identify a call using a sid. Fixed size of 32 bytes without NULL.6364e8b3bdac436e96310bce2498ce0c
svc_idStringNGroup call service IDroom-service-id
idStringNGroup call IDroom-id
user_svc_idStringNParticipant service IDuser-service-id
user_idStringNParticipant user IDuser-id
host_svc_idStringNHost service IDhost-service-id
host_idStringNHost user IDhost-user-id
scStringNGroup call status code
- S: Started
- C: Changed
- E: Ended
S
setup_timeLongNTime when this group call was made (seconds)0
start_timeLongNTime when this group call started (seconds)0
end_timeLongNTime when this group call ended (seconds)0
onlineIntegerNThe number of online participants (connected participants)0
media_typeStringNMedia type
- A: Audio group call
- V: Video group call
A
mscStringNParticipants status code
- C: Connected
- D: Disconnected
- T: Timeout
- M: Media changed
C
stidStringYDeprecated.
Application data delivered from joinConference() in PlanetKit SDK
application-data
tsNumericNTimestamp in milliseconds2277272
rel_codeIntegerYDetailed release code of a call. This is used to track the call release reason in the platform.
Refer to Call release reason.
1
rel_code_strStringYDetailed release code of a call. This is used to track the call release reason in the platform.
Refer to Call release reason.
NORMAL
ue_typeStringNType of the user equipment
- UE_TYPE_UNDEFINED
- ANDROID
- IOS
- DESKTOPMAC
- DESKTOPWIN
- BROWSER
- SIP_TERMINAL
IOS
display_nameStringYDisplay name of the user equipmentiosApp
client_addressStringYClient's IP address1.1.1.1
mtg_dataStringYMeeting data specified when creating a meetingJP
rc_idcStringYRepresents the IDC of the group call server. All uppercase in the ISO 3166-1 alpha-2 code format.JP
disconnect_reasonIntegerYDisconnect reason. For more information, see Disconnect reasons.1001
releaser_typeIntegerYType of the releaser (disconnect source). For more information, see Disconnect sources.1
app_svr_dataStringYApplication data delivered from joinConference() in PlanetKit SDK.
For more information, refer to the app server data guide for each client platform:
- Android
- iOS/macOS
- Windows
- Web
Note: This parameter delivers the same data as stid.
generated-by-application

Example

# Let's suppose on_gcall_evt_cb_url is
# http://sample.server.com:20200/gcall_event
# LINE Planet server will send a request to on_gcall_evt_cb_url as follows.

GET http://sample.server.com:20200/gcall_event?
sid=59db2167e13911ea83a8213945545d1c&
svc_id=room-service-id&
id=1111&
user_svc_id=user-service-id&
user_id=9286&
host_svc_id=host-service-id&
host_id=2809&
sc=C&
setup_time=1597744702514&
start_time=1597744703058&
end_time=0&
online=2&
mediaType=V&
msc=C&
stid=application-data&
ts=1599463610820&
ue_type=IOS&
display_name=iosApp&
client_address=1.1.1.1&
mtg_data=JP&
rc_idc=JP&
app_svr_data=appSvrData