From 3d86f4ea703924ef33bd28124b5ebcd670fc9d5d Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Fri, 19 May 2017 15:01:34 +0200 Subject: [PATCH] add call-ids to logs --- Classes/LinphoneManager.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 50fece404..45151b3f3 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -2261,7 +2261,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) { pushBgTaskMsg = 0; pushBgTaskMsg = [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{ if ([UIApplication sharedApplication].applicationState != UIApplicationStateActive) { - LOGW(@"Incomming message couldn't be received"); + LOGW(@"Incomming message with call-id [%@] couldn't be received", callId); UNMutableNotificationContent *content = [[UNMutableNotificationContent alloc] init]; content.title = NSLocalizedString(@"Message received", nil); content.body = NSLocalizedString(@"You have received a message.", nil); @@ -2292,7 +2292,7 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) { pushBgTaskCall = 0; pushBgTaskCall = [[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{ if ([UIApplication sharedApplication].applicationState != UIApplicationStateActive) { - LOGW(@"Incomming call couldn't be received"); + LOGW(@"Incomming call with call-id [%@] couldn't be received", callId); UNMutableNotificationContent *content = [[UNMutableNotificationContent alloc] init]; content.title = NSLocalizedString(@"Missed call", nil); content.body = NSLocalizedString(@"You have missed a call.", nil);