[asterisk-commits] qwell: trunk r67422 - in /trunk: ./ channels/chan_skinny.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 5 11:19:54 MST 2007


Author: qwell
Date: Tue Jun  5 13:19:53 2007
New Revision: 67422

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67422
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_skinny.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_skinny.c?view=diff&rev=67422&r1=67421&r2=67422
==============================================================================
--- trunk/channels/chan_skinny.c (original)
+++ trunk/channels/chan_skinny.c Tue Jun  5 13:19:53 2007
@@ -1047,6 +1047,7 @@
 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",
@@ -1795,7 +1796,8 @@
 	struct skinny_device *d = s->device;
 	struct skinny_line *l;
 
-	transmit_displaymessage(s, NULL);
+	/* Update time on device */
+	handle_time_date_req_message(NULL, s);
 
 	/* Set MWI on individual lines */
 	for (l = d->lines; l; l = l->next) {



More information about the asterisk-commits mailing list