[Asterisk-cvs] asterisk/res res_musiconhold.c,1.39.2.1,1.39.2.2

russell at lists.digium.com russell at lists.digium.com
Wed Jan 5 23:10:55 CST 2005


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

Modified Files:
      Tag: v1-0
	res_musiconhold.c 
Log Message:
stop music on hold when channel is hung up instead of after the channel is destroyed (bug #3035)


Index: res_musiconhold.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_musiconhold.c,v
retrieving revision 1.39.2.1
retrieving revision 1.39.2.2
diff -u -d -r1.39.2.1 -r1.39.2.2
--- res_musiconhold.c	18 Nov 2004 04:20:25 -0000	1.39.2.1
+++ res_musiconhold.c	6 Jan 2005 05:15:50 -0000	1.39.2.2
@@ -355,6 +355,7 @@
 		return -1;
 	}
 	while(!ast_safe_sleep(chan, 10000));
+	ast_moh_stop(chan);
 	return -1;
 }
 




More information about the svn-commits mailing list