Developing the Function of Making One-Click Outbound Calls
- Execute a one-click outbound call.
AICCSupport.clickToOutbound({mediaType: 'audio',calledNum: '12345678'});
audio is the value of the mediaType sub-attribute of the outboundParam object parameter of the clickToOutbound method.
12345678 is the value of the calledNum sub-attribute of the outboundParam object parameter of the clickToOutbound method.
Table 1 Input parameter of the clickToOutbound method Parameter
Type
Name
Mandatory or Not
Description
outboundParam
Object
Outbound parameter
Yes
Outbound parameter.
Table 2 outboundParam parameters outboundParam
Type
Name
Mandatory or Not
Description
mediaType
String
Media type
Yes
The options are audio, video, email, and whatsapp.
calledNum
String
Called number
Yes
Called number.
- Press F12 to open the browser console. If the output log "[AICCSupport Log] -Info- clickToOutbound - execute One-click out call" can be found, the one-click outbound call function is developed successfully.
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