Closed dbarkman closed 6 months ago
@bobiechen-twilio would you be able to review this issue?
Hello,
To enable support for multiple voice calls at the same time, the maximumCallGroups property needs to be set to a value of 2 or greater when you configure the CXProviderConfiguration
for CallKit.
After setting this property, the CallKit screen will allow switching between the ongoing calls. The user will only need to update their VoIP app's UI to show the correct information about the current active call.
We have opened a PR with the necessary changes to support multiple calls in the Voice iOS Quickstart app: https://github.com/twilio/voice-quickstart-ios/pull/557
Closing as answered
Description
Note: This issue is not reproducible on iOS 16.3 and earlier, only 16.4. When testing Call Waiting with Programmable Voice, on an iPhone running the new, iOS 16.4, once both calls are on, one on hold the other active, then I try swapping the calls, placing the active on hold and resuming the held call, the Xcode debug view shows many AVAudioSession errors and both calls get disconnected.
Steps to Reproduce
Code
Expected Behavior
Calls should be able to be switched many times, no known limit to how many times we normally can swap calls.
Actual Behavior
Both calls are hung up.
Reproduces How Often
Every time
Twilio Call SID(s)
CA203dd88fc7638f95865ebd52b8373914 CAbe092384552b6937131a32d531bc1cf4
Logs
Versions
All relevant version information for the issue.
Voice iOS SDK
TwilioVoice 6.5.0, via SPM
Xcode
14.3 (14E222b) - beta version downloaded on 3/28/23 for debugging iOS 16.4
iOS Version
iOS 16.4 (no issues with 16.3 and less)
iOS Device
iPhone 12 Pro