diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/autoservice.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/main/autoservice.c b/main/autoservice.c index 246052784..bccee43f8 100644 --- a/main/autoservice.c +++ b/main/autoservice.c @@ -124,7 +124,7 @@ static void *autoservice_run(void *ign) } 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 @@ -132,9 +132,6 @@ static void *autoservice_run(void *ign) * 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 { |