summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-04-09 21:45:32 +0000
committerMark Spencer <markster@digium.com>2003-04-09 21:45:32 +0000
commitec6cca344b3e2df46bf66ef0fb0b05ef660fb092 (patch)
tree20c3e527ed9c45aed7a511e10e619c1043d5899d /channels
parentc7c91a93f291fda9bf62915921f4e72dd44e4f90 (diff)
Add missing "Contact" line to Register
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 137c75481..6bd89f5d2 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -2558,6 +2558,7 @@ static int transmit_register(struct sip_registry *r, char *cmd, char *auth)
snprintf(tmp, sizeof(tmp), "%d", default_expiry);
add_header(&req, "Expires", tmp);
+ add_header(&req, "Contact", p->our_contact);
add_header(&req, "Event", "registration");
add_header(&req, "Content-length", "0");
add_blank_header(&req);