mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-21 04:38:29 +00:00
fix for publish
This commit is contained in:
parent
6de9557d60
commit
505bba5a53
1 changed files with 10 additions and 2 deletions
|
|
@ -1732,8 +1732,16 @@ static bool_t process_event(Sal *sal, eXosip_event_t *ev){
|
||||||
other_request_reply(sal,ev);
|
other_request_reply(sal,ev);
|
||||||
break;
|
break;
|
||||||
case EXOSIP_MESSAGE_REQUESTFAILURE:
|
case EXOSIP_MESSAGE_REQUESTFAILURE:
|
||||||
if (ev->response && (ev->response->status_code == 407 || ev->response->status_code == 401)){
|
if (ev->response) {
|
||||||
return process_authentication(sal,ev);
|
switch (ev->response->status_code) {
|
||||||
|
case 407:
|
||||||
|
case 401:
|
||||||
|
return process_authentication(sal,ev);
|
||||||
|
case 412: {
|
||||||
|
eXosip_automatic_action ();
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
other_request_reply(sal,ev);
|
other_request_reply(sal,ev);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue