projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c97841d
)
Merging patch from 1.2 - Issue #7682
author
Olle Johansson
<oej@edvina.net>
Mon, 18 Sep 2006 20:13:14 +0000
(20:13 +0000)
committer
Olle Johansson
<oej@edvina.net>
Mon, 18 Sep 2006 20:13:14 +0000
(20:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43221
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
f59c3ba
..
74c5982
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-5338,7
+5338,7
@@
static int respprep(struct sip_request *resp, struct sip_pvt *p, const char *msg
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;