mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 03:58:08 +00:00
Reply 489 Bad Event if we receive a NOTIFY in a call for anything else than a "refer" event package. This commit is also made in master branch.
This commit is contained in:
parent
4e6961aa36
commit
80c9d0c7eb
1 changed files with 2 additions and 2 deletions
|
|
@ -1521,8 +1521,8 @@ void SalCallOp::processNotify(const belle_sip_request_event_t *event, belle_sip_
|
|||
mRoot->mCallbacks.notify_refer(this,status);
|
||||
}
|
||||
}else{
|
||||
ms_error("Notify without sipfrag, trashing");
|
||||
resp = createResponseFromRequest(req,501);
|
||||
ms_error("Notify without sipfrag or not for 'refer' event package, rejecting");
|
||||
resp = createResponseFromRequest(req, 489);
|
||||
belle_sip_server_transaction_send_response(server_transaction,resp);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue