Merged revisions 75807 via svnmerge from
authorJason Parker <jparker@digium.com>
Wed, 18 Jul 2007 23:00:30 +0000 (23:00 +0000)
committerJason Parker <jparker@digium.com>
Wed, 18 Jul 2007 23:00:30 +0000 (23:00 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r75807 | qwell | 2007-07-18 17:59:18 -0500 (Wed, 18 Jul 2007) | 1 line

Need to make sure we set milliseconds and timestamp - pointed out by the recent ast_ time stuff from Tilghman
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75808 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index a24e39e..f9f8ec1 100644 (file)
@@ -3774,6 +3774,7 @@ static int handle_time_date_req_message(struct skinny_req *req, struct skinnyses
        req->data.definetimedate.minute = htolel(cmtime.tm_min);
        req->data.definetimedate.seconds = htolel(cmtime.tm_sec);
        req->data.definetimedate.milliseconds = htolel(cmtime.tm_usec / 1000);
+       req->data.definetimedate.timestamp = htolel(tv.tv_sec);
        transmit_response(s, req);
        return 1;
 }