diff --git a/Classes/CallView.m b/Classes/CallView.m index e99679082..b936de75b 100644 --- a/Classes/CallView.m +++ b/Classes/CallView.m @@ -607,6 +607,9 @@ static void hideSpinner(LinphoneCall *call, void *user_data) { content.title = NSLocalizedString(@"Video request", nil); content.body = title; content.categoryIdentifier = @"video_request"; + content.userInfo = @{ + @"CallId" : [NSString stringWithUTF8String:linphone_call_log_get_call_id(linphone_call_get_call_log(call))] + }; UNNotificationRequest *req = [UNNotificationRequest requestWithIdentifier:@"video_request" content:content trigger:NULL]; diff --git a/Classes/LinphoneUI/StatusBarView.m b/Classes/LinphoneUI/StatusBarView.m index 92cc0631e..e0e2c785e 100644 --- a/Classes/LinphoneUI/StatusBarView.m +++ b/Classes/LinphoneUI/StatusBarView.m @@ -327,6 +327,10 @@ content.title = NSLocalizedString(@"ZRTP verification", nil); content.body = message; content.categoryIdentifier = @"zrtp_request"; + content.userInfo = @{ + @"CallId" : [NSString + stringWithUTF8String:linphone_call_log_get_call_id(linphone_call_get_call_log(call))] + }; UNNotificationRequest *req = [UNNotificationRequest requestWithIdentifier:@"zrtp_request" content:content trigger:NULL];