From daeb228bb3b684d636730991f740603a5f03500f Mon Sep 17 00:00:00 2001 From: Automerge script Date: Mon, 18 Sep 2006 21:00:57 +0000 Subject: [PATCH] automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@43229 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;