mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Make local channels use ast_channel_move() instead of the inlined version.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -445,9 +445,8 @@ static int local_call(struct ast_channel *ast, const char *dest, int timeout) | ||||
| 	case LOCAL_CALL_ACTION_MASQUERADE: | ||||
| 		local_bridge_event(p); | ||||
| 		ast_answer(chan); | ||||
| 		res = ast_channel_masquerade(p->action.masq, chan); | ||||
| 		res = ast_channel_move(p->action.masq, chan); | ||||
| 		if (!res) { | ||||
| 			ast_do_masquerade(p->action.masq); | ||||
| 			/* Chan is now an orphaned zombie.  Destroy it. */ | ||||
| 			ast_hangup(chan); | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user