mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	Merged revisions 167478 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r167478 | bweschke | 2009-01-07 13:20:31 -0500 (Wed, 07 Jan 2009) | 7 lines Answer the channel if it has not already been answered and we've already found a valid profile for followme. (closes issue #14140) Reported by: dimas Patches: 14140.patch uploaded by dimas ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -975,6 +975,11 @@ static int app_exec(struct ast_channel *chan, void *data)
 | 
				
			|||||||
	}
 | 
						}
 | 
				
			||||||
	ast_mutex_unlock(&f->lock);
 | 
						ast_mutex_unlock(&f->lock);
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
						/* Answer the call */
 | 
				
			||||||
 | 
						if (chan->_state != AST_STATE_UP) {
 | 
				
			||||||
 | 
							ast_answer(chan);
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (ast_test_flag(&targs.followmeflags, FOLLOWMEFLAG_STATUSMSG)) 
 | 
						if (ast_test_flag(&targs.followmeflags, FOLLOWMEFLAG_STATUSMSG)) 
 | 
				
			||||||
		ast_stream_and_wait(chan, targs.statusprompt, "");
 | 
							ast_stream_and_wait(chan, targs.statusprompt, "");
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user