Make sure we update parameters correctly with reinvite
authorMark Spencer <markster@digium.com>
Tue, 9 May 2006 09:47:22 +0000 (09:47 +0000)
committerMark Spencer <markster@digium.com>
Tue, 9 May 2006 09:47:22 +0000 (09:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25959 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 7ad5d8d..4d4a3e1 100644 (file)
@@ -1167,8 +1167,7 @@ static char *referstatus2str(enum referstatus rstatus)
 static void initialize_initreq(struct sip_pvt *p, struct sip_request *req)
 {
        if (p->initreq.headers) {
-               ast_log(LOG_WARNING, "Initializing already initialized SIP dialog??? %s\n", p->callid);
-               return;
+               ast_log(LOG_DEBUG, "Initializing already initialized SIP dialog %s (presumably reinvite)\n", p->callid);
        }
        /* Use this as the basis */
        copy_request(&p->initreq, req);