mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Add special call failure popup on UserNotFound error
This commit is contained in:
parent
50cf044b46
commit
3604881db9
2 changed files with 8 additions and 5 deletions
|
|
@ -204,12 +204,15 @@ extern void libmssilk_init();
|
|||
lMessage=NSLocalizedString(@"Please make sure your device is connected to the internet and double check your SIP account configuration in the settings.",nil);
|
||||
} else {
|
||||
lMessage=[NSString stringWithFormat : NSLocalizedString(@"Cannot call %@",nil),lUserName];
|
||||
|
||||
}
|
||||
|
||||
if (message!=nil){
|
||||
lMessage=[NSString stringWithFormat : NSLocalizedString(@"%@\nReason was: %s",nil),lMessage, message];
|
||||
}
|
||||
if (linphone_call_get_reason(call) == LinphoneReasonNotFound) {
|
||||
lMessage=[NSString stringWithFormat : NSLocalizedString(@"'%@' not registered to Service",nil), lUserName];
|
||||
} else {
|
||||
if (message!=nil){
|
||||
lMessage=[NSString stringWithFormat : NSLocalizedString(@"%@\nReason was: %s",nil),lMessage, message];
|
||||
}
|
||||
}
|
||||
lTitle=NSLocalizedString(@"Call failed",nil);
|
||||
|
||||
UIAlertView* error = [[UIAlertView alloc] initWithTitle:lTitle
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 5bf95231b51641ce095af49a864cf00fa6837750
|
||||
Subproject commit 9140451acf5f86f2b14ac1cbfca269148fc6536f
|
||||
Loading…
Add table
Reference in a new issue