git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@223486
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
}
f = ast_read(chan);
-
+
if (!f) {
/* No frame means the channel has been hung up.
* A hangup frame needs to be queued here as ast_waitfor() may
* of autoservice. So, we'll leave a HANGUP queued up so the
* thread in charge of this channel will know. */
- hangup_frame.frametype = AST_FRAME_CONTROL;
- hangup_frame.subclass = AST_CONTROL_HANGUP;
-
defer_frame = &hangup_frame;
} else {