[asterisk-commits] qwell: branch 1.4 r67421 - /branches/1.4/channels/chan_skinny.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 5 11:18:24 MST 2007


Author: qwell
Date: Tue Jun  5 13:18:24 2007
New Revision: 67421

URL: http://svn.digium.com/view/asterisk?view=rev&rev=67421
Log:
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:
    branches/1.4/channels/chan_skinny.c

Modified: branches/1.4/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_skinny.c?view=diff&rev=67421&r1=67420&r2=67421
==============================================================================
--- branches/1.4/channels/chan_skinny.c (original)
+++ branches/1.4/channels/chan_skinny.c Tue Jun  5 13:18:24 2007
@@ -1038,6 +1038,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",
@@ -1711,7 +1712,8 @@
 	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) {



More information about the asterisk-commits mailing list