forked from mirrors/linphone-iphone
Synchronize settings
This commit is contained in:
parent
bf08bfbe62
commit
23a55d699f
1 changed files with 7 additions and 1 deletions
|
|
@ -595,6 +595,8 @@ static LinphoneCoreVTable linphonec_vtable = {
|
|||
linphone_core_set_zrtp_secrets_file(theLinphoneCore, [zrtpSecretsFileName cStringUsingEncoding:[NSString defaultCStringEncoding]]);
|
||||
|
||||
[self setupNetworkReachabilityCallback];
|
||||
/* MODIFICATION: Update following NSUserDefault settings */
|
||||
[self reconfigureLinphoneIfNeeded:nil];
|
||||
|
||||
// start scheduler
|
||||
mIterateTimer = [NSTimer scheduledTimerWithTimeInterval:0.1
|
||||
|
|
@ -746,7 +748,11 @@ static LinphoneCoreVTable linphonec_vtable = {
|
|||
}
|
||||
|
||||
- (void)becomeActive {
|
||||
[self refreshRegisters];
|
||||
/* MODIFICATION Use NSSUerDefault settings */
|
||||
if (![self reconfigureLinphoneIfNeeded:currentSettings]) {
|
||||
[self refreshRegisters];
|
||||
}
|
||||
/**/
|
||||
|
||||
/*IOS specific*/
|
||||
linphone_core_start_dtmf_stream(theLinphoneCore);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue