unlock pvt when we drop voice frames received in early media when in t.38 mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@322699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Matthew Nicholson 14 years ago
parent 70bf4a47f4
commit ffb13d7d38

@ -6511,6 +6511,7 @@ static int sip_write(struct ast_channel *ast, struct ast_frame *frame)
sip_pvt_lock(p);
if (p->t38.state == T38_ENABLED) {
/* drop frame, can't sent VOICE frames while in T.38 mode */
sip_pvt_unlock(p);
break;
} else if (p->rtp) {
/* If channel is not up, activate early media session */

Loading…
Cancel
Save