diff options
author | Olle Johansson <oej@edvina.net> | 2006-03-22 08:00:32 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-03-22 08:00:32 +0000 |
commit | 9e1e47450a738a1fb12f1996f0160be289b264a5 (patch) | |
tree | cc17502b67b43b84067f8eacbcbb7d3c7c436f76 /channels/chan_sip.c | |
parent | 7cfb9b3515966b9f6231aa53953d844c9300c7d6 (diff) |
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
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d13fda4d0..5b9ed022b 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; |