diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-22 08:00:32 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-22 08:00:32 +0000 |
commit | f38b54071af76a0767bb19ec7ecdfa1dcba9de9b (patch) | |
tree | cc17502b67b43b84067f8eacbcbb7d3c7c436f76 | |
parent | 1948a178a52c9f670247cfa2fb69dc03dbde96d3 (diff) |
Issue #6759, generate warning when refusing connection requiring unsupported SIP extensions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14110 f38db490-d61c-443f-a65b-d21fe96a405b
-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; |