Switching Between Audio and Video Calls
- Identifier
- Function
In the scenario where an audio call is switched to a video call, the agent invokes the audio and video switchover interface and sets the media type to video. After the interface is successfully invoked, the agent receives the event that an audio call is switched to a video call. If reason is set to 0, the IVR returns an event successfully.
- Additional information
reason indicates the switchover reason code. The value 0 indicates success, and other values indicate failure.
caller indicates the calling number.
called indicates the called number.
callId indicates the unique ID of the call.
mediaType indicates the media type.
- Example
{"eventType":"AgentEvent_MediaSwith","workNo":"111","content":{"callid":"1603286369-16773","reason":0,"caller":"","mediaType":3,"called":"88022","jsonKey":["callid","reason","caller","mediaType","called"]},"jsonKey":["eventType","workNo","content"]}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot