From: Automerge script Date: Mon, 18 Sep 2006 21:00:57 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.13-netsec~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daeb228bb3b684d636730991f740603a5f03500f;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@43229 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2b73993d71..ece3bdbd64 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4156,7 +4156,7 @@ static int respprep(struct sip_request *resp, struct sip_pvt *p, char *msg, stru snprintf(contact, sizeof(contact), "%s;expires=%d", p->our_contact, p->expiry); add_header(resp, "Contact", contact); /* Not when we unregister */ } - } else if (p->our_contact[0]) { + } else if (msg[0] != '4' && p->our_contact[0]) { add_header(resp, "Contact", p->our_contact); } return 0;