aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_skinny.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-05 18:18:24 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-06-05 18:18:24 +0000
commit45fd97e7fb739e4b69f63e86825a903feec92503 (patch)
treeba3993ade2fbcc0f72a85f59f8ae723a1a6f7b29 /channels/chan_skinny.c
parent1c88fc5e4efc13605acd77029c2f79e88792dff3 (diff)
Correctly update date/time on devices throughout the life of the device, instead of just at registration.
Issue 9152, yet another patch by DEA. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@67421 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_skinny.c')
-rw-r--r--channels/chan_skinny.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index c84baf3d9..b7e433cb2 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -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) {