]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Clarify error message.
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 7 Nov 2008 22:27:32 +0000 (22:27 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 7 Nov 2008 22:27:32 +0000 (22:27 +0000)
(closes issue #13809)
 Reported by: denke
 Patches:
       20081104__bug13809.diff.txt uploaded by Corydon76 (license 14)
 Tested by: denke

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@155398 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index b040238c204052b1681a5de85a197e5b2bc880dd..d2fc230a750a5e067806fc28b7eacbad13e78ffb 100644 (file)
@@ -12685,7 +12685,7 @@ static int handle_response_register(struct sip_pvt *p, int resp, char *rest, str
                break;
        case 200:       /* 200 OK */
                if (!r) {
-                       ast_log(LOG_WARNING, "Got 200 OK on REGISTER that isn't a register\n");
+                       ast_log(LOG_WARNING, "Got 200 OK on REGISTER, but there isn't a registry entry for '%s' (we probably already got the OK)\n", S_OR(p->peername, p->username));
                        ast_set_flag(&p->flags[0], SIP_NEEDDESTROY);    
                        return 0;
                }