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

markster at lists.digium.com markster at lists.digium.com
Wed Jan 5 22:13:19 CST 2005


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

Modified Files:
	res_musiconhold.c 
Log Message:
Fix music on hold to quitat hangup rather than during channel destruction (bug #3035)


Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- res_musiconhold.c	4 Jan 2005 19:09:00 -0000	1.46
+++ res_musiconhold.c	6 Jan 2005 04:18:15 -0000	1.47
@@ -513,6 +513,7 @@
 		return -1;
 	}
 	while(!ast_safe_sleep(chan, 10000));
+	ast_moh_stop(chan);
 	return -1;
 }
 




More information about the svn-commits mailing list