[Asterisk-cvs] asterisk/res res_musiconhold.c,1.47,1.48

markster at lists.digium.com markster at lists.digium.com
Fri Jan 7 08:43:05 CST 2005


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv32210/res

Modified Files:
	res_musiconhold.c 
Log Message:
Fix typo in moh output (bug #3265)


Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- res_musiconhold.c	6 Jan 2005 04:18:15 -0000	1.47
+++ res_musiconhold.c	7 Jan 2005 14:47:51 -0000	1.48
@@ -525,7 +525,7 @@
 		return -1;
 	}
 	if (ast_moh_start(chan, NULL)) {
-		ast_log(LOG_WARNING, "Unable to start music on hold (class '%s') on channel %s\n", (char *)data, chan->name);
+		ast_log(LOG_WARNING, "Unable to start music on hold for %d seconds on channel %s\n", atoi((char *)data), chan->name);
 		return -1;
 	}
 	res = ast_safe_sleep(chan, atoi(data) * 1000);




More information about the svn-commits mailing list