Send date with invite

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-12-19 17:42:50 +00:00
parent ef6973087b
commit d3bf33f9aa
1 changed files with 1 additions and 1 deletions

View File

@ -2817,7 +2817,7 @@ static int transmit_invite(struct sip_pvt *p, char *cmd, int sdp, char *auth, ch
if (auth)
add_header(&req, authheader, auth);
append_date(&req);
if (!strcasecmp(cmd, "REFER")) {
if (strlen(p->refer_to))
add_header(&req, "Refer-To", p->refer_to);