]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Not having a HINT is not an ERROR. In 1.4 and future releases, you can disable
authorOlle Johansson <oej@edvina.net>
Sat, 25 Nov 2006 09:28:28 +0000 (09:28 +0000)
committerOlle Johansson <oej@edvina.net>
Sat, 25 Nov 2006 09:28:28 +0000 (09:28 +0000)
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

index 1a1abf2e085fd45cefe7f2237cd6b1f75fa1de09..2485df85ce284a8724fa24439a6d881d34fcbe86 100644 (file)
@@ -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;