Merged revisions 67421 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67421 | qwell | 2007-06-05 13:18:24 -0500 (Tue, 05 Jun 2007) | 4 lines

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: https://origsvn.digium.com/svn/asterisk/trunk@67422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-06-05 18:19:53 +00:00
parent ac8fc3ad2d
commit 48ac1e8a86

View File

@@ -1047,6 +1047,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_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);
static int skinny_senddigit_begin(struct ast_channel *ast, char digit); 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 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 = { static const struct ast_channel_tech skinny_tech = {
.type = "Skinny", .type = "Skinny",
@@ -1795,7 +1796,8 @@ static void do_housekeeping(struct skinnysession *s)
struct skinny_device *d = s->device; struct skinny_device *d = s->device;
struct skinny_line *l; struct skinny_line *l;
transmit_displaymessage(s, NULL); /* Update time on device */
handle_time_date_req_message(NULL, s);
/* Set MWI on individual lines */ /* Set MWI on individual lines */
for (l = d->lines; l; l = l->next) { for (l = d->lines; l; l = l->next) {