mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
(closes issue #10122)
Reported by: stevefeinstein Patches: meetme-unmute-manager.diff uploaded by qwell (license 4) Tested by: stevefeinstein After looking over the code I agree with Qwell. Setting the file descriptor to conference each time just causes a fight back and forth. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1780,13 +1780,6 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
|
||||
if (musiconhold == 0 && (confflags & CONFFLAG_MOH)) {
|
||||
ast_moh_start(chan, NULL, NULL);
|
||||
musiconhold = 1;
|
||||
} else {
|
||||
ztc.confmode = ZT_CONF_CONF;
|
||||
if (ioctl(fd, ZT_SETCONF, &ztc)) {
|
||||
ast_log(LOG_WARNING, "Error setting conference\n");
|
||||
close(fd);
|
||||
goto outrun;
|
||||
}
|
||||
}
|
||||
} else if(currentmarked >= 1 && lastmarked == 0) {
|
||||
/* Marked user entered, so cancel timeout */
|
||||
|
Reference in New Issue
Block a user