(closes issue #13257)
Reported by: travishein
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@139015
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
}
/* Only allow audio through if they sent progress with SDP, or if the channel is actually answered */
- if (fr->frametype == AST_FRAME_VOICE && p->invitestate != INV_EARLY_MEDIA && ast->_state != AST_STATE_UP) {
+ if (fr && fr->frametype == AST_FRAME_VOICE && p->invitestate != INV_EARLY_MEDIA && ast->_state != AST_STATE_UP) {
fr = &ast_null_frame;
}