Add missing "Contact" line to Register

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent c7c91a93f2
commit ec6cca344b

@ -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);

Loading…
Cancel
Save