From 9e1e47450a738a1fb12f1996f0160be289b264a5 Mon Sep 17 00:00:00 2001 From: Olle Johansson <oej@edvina.net> Date: Wed, 22 Mar 2006 08:00:32 +0000 Subject: [PATCH] Issue #6759, generate warning when refusing connection requiring unsupported SIP extensions git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14110 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d13fda4d0a..5b9ed022b0 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -10418,6 +10418,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int if (required_profile) { /* They require something */ /* At this point we support no extensions, so fail */ transmit_response_with_unsupported(p, "420 Bad extension", req, required); + ast_log(LOG_WARNING,"Received SIP INVITE with unsupported required extension: %s\n", required); if (!p->lastinvite) ast_set_flag(p, SIP_NEEDDESTROY); return -1; -- GitLab