properly update callerid for incoming calls

pull/1/head
Jazz Alyxzander Turner-Baggs 11 years ago
parent 109ecb36b2
commit 08b68abb57

@ -97,9 +97,11 @@
return;
}
Contact* callingContact = [[[Environment getCurrent] contactsManager] latestContactForPhoneNumber:session.initiatorNumber];
CallController* callController = [self cancelExistingCallAndInitNewCallWork:false
remote:session.initiatorNumber
optionalContact:nil];
optionalContact:callingContact];
id<CancelToken> lifetime = [callController untilCancelledToken];
Future* futureConnected = [CallConnectUtil asyncRespondToCallWithSessionDescriptor:session

Loading…
Cancel
Save