From 5a3dcaff3cb8bc13edbc2e1bd0297d6cdf436171 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Sat, 25 Nov 2006 09:28:28 +0000 Subject: [PATCH] Not having a HINT is not an ERROR. In 1.4 and future releases, you can disable subscription support totally or per peer in sip.conf with allowsubscribe = yes | no git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48002 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 1a1abf2e08..2485df85ce 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -14203,7 +14203,7 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req, if ((firststate = ast_extension_state(NULL, p->context, p->exten)) < 0) { - ast_log(LOG_ERROR, "Got SUBSCRIBE for extension %s@%s from %s, but there is no hint for that extension\n", p->exten, p->context, ast_inet_ntoa(p->sa.sin_addr)); + ast_log(LOG_NOTICE, "Got SUBSCRIBE for extension %s@%s from %s, but there is no hint for that extension.\n", p->exten, p->context, ast_inet_ntoa(p->sa.sin_addr)); transmit_response(p, "404 Not found", req); ast_set_flag(&p->flags[0], SIP_NEEDDESTROY); return 0;