diff --git a/Classes/CallHistoryTableViewController.m b/Classes/CallHistoryTableViewController.m index 469e338a3..57a5d8459 100644 --- a/Classes/CallHistoryTableViewController.m +++ b/Classes/CallHistoryTableViewController.m @@ -125,7 +125,12 @@ NSString *path; if (callLogs->dir == LinphoneCallIncoming) { - path = [[NSBundle mainBundle] pathForResource:@"in_call" ofType:@"png"]; + if (callLogs->status == LinphoneCallSuccess) { + path = [[NSBundle mainBundle] pathForResource:@"in_call" ofType:@"png"]; + } else { + //missed call + path = [[NSBundle mainBundle] pathForResource:@"missed_call" ofType:@"png"]; + } partyToDisplay=callLogs->from; } else { diff --git a/Resources/missed_call.png b/Resources/missed_call.png new file mode 100644 index 000000000..315b49708 Binary files /dev/null and b/Resources/missed_call.png differ diff --git a/linphone.xcodeproj/project.pbxproj b/linphone.xcodeproj/project.pbxproj index b4c820e74..1d8d6513b 100755 --- a/linphone.xcodeproj/project.pbxproj +++ b/linphone.xcodeproj/project.pbxproj @@ -79,6 +79,7 @@ 22E0A823111C44E100B04932 /* ConsoleViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 22E0A81E111C44E100B04932 /* ConsoleViewController.xib */; }; 22E0A824111C44E100B04932 /* ConsoleViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 22E0A81F111C44E100B04932 /* ConsoleViewController.m */; }; 22E19E1E1386AFB900FBFE87 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 22E19E1C1386AFB900FBFE87 /* Localizable.strings */; }; + 22E19E5A138A89F800FBFE87 /* missed_call.png in Resources */ = {isa = PBXBuildFile; fileRef = 22E19E59138A89F800FBFE87 /* missed_call.png */; }; 22F2508E107141E100AC9B3F /* PhoneViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 22F2508C107141E100AC9B3F /* PhoneViewController.m */; }; 22F2508F107141E100AC9B3F /* PhoneViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 22F2508D107141E100AC9B3F /* PhoneViewController.xib */; }; 22F254811073D99800AC9B3F /* ringback.wav in Resources */ = {isa = PBXBuildFile; fileRef = 22F254801073D99800AC9B3F /* ringback.wav */; }; @@ -391,6 +392,7 @@ 22E0A81F111C44E100B04932 /* ConsoleViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ConsoleViewController.m; sourceTree = ""; }; 22E0A820111C44E100B04932 /* ConsoleViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleViewController.h; sourceTree = ""; }; 22E19E1D1386AFB900FBFE87 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Resources/en.lproj/Localizable.strings; sourceTree = ""; }; + 22E19E59138A89F800FBFE87 /* missed_call.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = missed_call.png; path = Resources/missed_call.png; sourceTree = ""; }; 22F2508B107141E100AC9B3F /* PhoneViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PhoneViewController.h; sourceTree = ""; }; 22F2508C107141E100AC9B3F /* PhoneViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PhoneViewController.m; sourceTree = ""; }; 22F2508D107141E100AC9B3F /* PhoneViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PhoneViewController.xib; sourceTree = ""; }; @@ -861,6 +863,7 @@ 29B97317FDCFA39411CA2CEA /* Resources */ = { isa = PBXGroup; children = ( + 22E19E59138A89F800FBFE87 /* missed_call.png */, 228B19AE130290C500F154D3 /* iTunesArtwork */, 2242E312125235120061DDCE /* oldphone-mono-30s.caf */, 225CB2F911ABB76400628906 /* linphone-banner.png */, @@ -998,6 +1001,7 @@ 22DA443F1354B3B6002CB522 /* Makefile.am in Resources */, 22DA44401354B3B6002CB522 /* Makefile.in in Resources */, 22E19E1E1386AFB900FBFE87 /* Localizable.strings in Resources */, + 22E19E5A138A89F800FBFE87 /* missed_call.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/linphonerc b/linphonerc index 7d7c40915..1f719760e 100644 --- a/linphonerc +++ b/linphonerc @@ -29,4 +29,6 @@ ringer_dev_id=AU: Audio Unit Speaker capture_dev_id=AU: Audio Unit Receiver echocancellation=0 +[misc] +history_max_size=30 diff --git a/submodules/linphone b/submodules/linphone index 71b77319f..27ab8107e 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 71b77319f9b76a1f14bd4be67d4fc201f5fa827a +Subproject commit 27ab8107ef5a0174bd328239e374591b46e8cfb8