Send date with invite
authorMark Spencer <markster@digium.com>
Fri, 19 Dec 2003 17:42:50 +0000 (17:42 +0000)
committerMark Spencer <markster@digium.com>
Fri, 19 Dec 2003 17:42:50 +0000 (17:42 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1871 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index c213e56..c44f312 100755 (executable)
@@ -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);