]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Correctly update date/time on devices throughout the life of the device, instead...
authorJason Parker <jparker@digium.com>
Tue, 5 Jun 2007 18:18:24 +0000 (18:18 +0000)
committerJason Parker <jparker@digium.com>
Tue, 5 Jun 2007 18:18:24 +0000 (18:18 +0000)
Issue 9152, yet another patch by DEA.

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

channels/chan_skinny.c

index c84baf3d96f515c1958d03bb4ff91e19ded5b433..b7e433cb22df0a57a2b350e3647c67acba20da33 100644 (file)
@@ -1038,6 +1038,7 @@ static int skinny_indicate(struct ast_channel *ast, int ind, const void *data, s
 static int skinny_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);
 static int skinny_senddigit_begin(struct ast_channel *ast, char digit);
 static int skinny_senddigit_end(struct ast_channel *ast, char digit, unsigned int duration);
+static int handle_time_date_req_message(struct skinny_req *req, struct skinnysession *s);
 
 static const struct ast_channel_tech skinny_tech = {
        .type = "Skinny",
@@ -1711,7 +1712,8 @@ static void do_housekeeping(struct skinnysession *s)
        struct skinny_line *l;
 */
 
-       transmit_displaymessage(s, NULL);
+       /* Update time on device */
+       handle_time_date_req_message(NULL, s);
 
 /*
        for (l = d->lines; l; l = l->next) {