mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +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 dev_refactor_cpp branch.
This commit is contained in:
parent
76c5c97cc6
commit
ca911cc55b
1 changed files with 2 additions and 2 deletions
|
|
@ -265,8 +265,8 @@ void sal_op_call_process_notify(SalOp *op, const belle_sip_request_event_t *even
|
|||
op->base.root->callbacks.notify_refer(op,status);
|
||||
}
|
||||
}else{
|
||||
ms_error("Notify without sipfrag, trashing");
|
||||
resp = sal_op_create_response_from_request(op,req,501);
|
||||
ms_error("Notify without sipfrag or not for 'refer' event package, rejecting");
|
||||
resp = sal_op_create_response_from_request(op,req,489);
|
||||
belle_sip_server_transaction_send_response(server_transaction,resp);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue