We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c077903 commit e3fd2c1Copy full SHA for e3fd2c1
ios/RNTwilioVoice/RNTwilioVoice.m
@@ -684,6 +684,14 @@ - (void)provider:(CXProvider *)provider performSetMutedCallAction:(CXSetMutedCal
684
}
685
686
687
+- (void)provider:(CXProvider *)provider performPlayDTMFCallAction:(CXPlayDTMFCallAction *)action {
688
+ TVOCall *call = self.activeCalls[action.callUUID.UUIDString];
689
+ if (call && call.state == TVOCallStateConnected) {
690
+ RCTLogInfo(@"SendDigits %@", action.digits);
691
+ [call sendDigits:action.digits];
692
+ }
693
+}
694
+
695
#pragma mark - CallKit Actions
696
- (void)performStartCallActionWithUUID:(NSUUID *)uuid handle:(NSString *)handle {
697
if (uuid == nil || handle == nil) {
0 commit comments