Add peercontext parameter for default outbound context (bug #1929)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-06-26 15:48:30 +00:00
parent 1af31f2c64
commit d9ed36059c
5 changed files with 19 additions and 5 deletions

View File

@@ -647,6 +647,7 @@ static struct ast_frame *alsa_read(struct ast_channel *chan)
left = FRAME_SIZE;
if (chan->_state != AST_STATE_UP) {
/* Don't transmit unless it's up */
ast_mutex_unlock(&alsalock);
return &f;
}
f.frametype = AST_FRAME_VOICE;