From: Olle Johansson Date: Sat, 25 Nov 2006 09:28:28 +0000 (+0000) Subject: Not having a HINT is not an ERROR. In 1.4 and future releases, you can disable X-Git-Tag: 1.4.0-beta4~74 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a3dcaff3cb8bc13edbc2e1bd0297d6cdf436171;p=thirdparty%2Fasterisk.git 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 --- 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;