mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user