diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 21:00:57 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 21:00:57 +0000 |
commit | 229ac032b95d115e738bdb1abbd7b1e35d0e4494 (patch) | |
tree | 04d403997184162c58da8ff4a493116fbfd235fc /channels | |
parent | e9b5c737244b6e10b0f529c4045d1683dac6656c (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@43229 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2b73993d7..ece3bdbd6 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; |