- Newest
- Most votes
- Most comments
Integrating Amazon Connect's outbound calling functionality into an iOS application requires a different approach than using the Amazon Connect Streams library, which is designed for web applications. For native iOS integration, you'll need to use a combination of Amazon Connect APIs and the Amazon Chime SDK.
Here's a high-level overview of how to implement outbound calling in your iOS app:
-
Use the Amazon Connect StartWebRTCContact API to initiate the outbound call. This API call will create the contact and return the necessary details for joining the call.
-
Utilize the Amazon Chime client library for iOS to handle the actual call functionality. You'll need to integrate this SDK into your iOS app.
-
Use the information returned from the StartWebRTCContact API to configure the Amazon Chime SDK client. You'll create a MeetingSessionConfiguration object with these details.
-
Instantiate a DefaultMeetingSession using the MeetingSessionConfiguration to create a client meeting session.
-
Use the audioVideo.start() method from the Chime SDK to join the WebRTC contact with audio.
-
Implement additional features as needed, such as muting/unmuting, handling DTMF tones, or managing video calls if required.
This approach allows you to natively integrate Amazon Connect's calling capabilities into your iOS app without relying on web views or the Streams library. It provides a more seamless and robust solution for mobile applications.
Remember to handle user authentication carefully, possibly using services like Amazon Cognito for secure access management in your mobile app. Also, ensure that outbound calling is enabled in your Amazon Connect instance and that your agents have the necessary permissions to make outbound calls.
As you develop, thoroughly test the integration to ensure it works as expected in various network conditions and scenarios typical of mobile usage.
Sources
Integrate in-app, web, video calling and screen sharing natively into your mobile application - Amazon Connect
Enable outbound calls in your Amazon Connect instance - Amazon Connect
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 3 years ago
