mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 00:59:20 +00:00
Fix BYE authorization when challenged
This commit is contained in:
parent
643ea99258
commit
fb408613cd
1 changed files with 7 additions and 2 deletions
|
|
@ -938,8 +938,13 @@ int sal_call_terminate(SalOp *h){
|
|||
}
|
||||
|
||||
void sal_op_authenticate(SalOp *h, const SalAuthInfo *info){
|
||||
if (h->terminated) return;
|
||||
if (h->pending_auth){
|
||||
bool_t terminating=FALSE;
|
||||
if (h->pending_auth && strcmp(h->pending_auth->request->sip_method,"BYE")==0) {
|
||||
terminating=TRUE;
|
||||
}
|
||||
if (h->terminated && !terminating) return;
|
||||
|
||||
if (h->pending_auth){
|
||||
push_auth_to_exosip(info);
|
||||
|
||||
/*FIXME exosip does not take into account this update register message*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue