mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Fix transition to operator extension
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -519,8 +519,9 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, int silent, int | ||||
| 				return -1; | ||||
| 			} | ||||
| 		} else if (silent == '0') { | ||||
| 			strncpy(chan->exten, "0", sizeof(chan->exten) - 1); | ||||
| 			strncpy(chan->exten, "o", sizeof(chan->exten) - 1); | ||||
| 			chan->priority = 0; | ||||
| 			ast_softhangup(chan, AST_SOFTHANGUP_ASYNCGOTO); | ||||
| 			free(copy); | ||||
| 			return 0; | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user