summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 627f50187..5a49392cf 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -28101,7 +28101,7 @@ static int handle_incoming(struct sip_pvt *p, struct sip_request *req, struct as
res = handle_request_invite(p, req, addr, seqno, recount, e, nounlock);
if (res < 9) {
- sip_report_security_event(p, req, res);
+ sip_report_security_event(NULL, &p->recv, p, req, res);
}
switch (res) {
@@ -28140,7 +28140,7 @@ static int handle_incoming(struct sip_pvt *p, struct sip_request *req, struct as
break;
case SIP_REGISTER:
res = handle_request_register(p, req, addr, e);
- sip_report_security_event(p, req, res);
+ sip_report_security_event(p->exten, NULL, p, req, res);
break;
case SIP_INFO:
if (req->debug)