diff options
Diffstat (limited to 'apps/app_milliwatt.c')
-rwxr-xr-x | apps/app_milliwatt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_milliwatt.c b/apps/app_milliwatt.c index 2f162f242..b117441df 100755 --- a/apps/app_milliwatt.c +++ b/apps/app_milliwatt.c @@ -100,11 +100,10 @@ static int milliwatt_exec(struct ast_channel *chan, void *data) { struct localuser *u; - struct ast_frame *f; LOCAL_USER_ADD(u); ast_set_write_format(chan, AST_FORMAT_ULAW); ast_set_read_format(chan, AST_FORMAT_ULAW); - if (chan->state != AST_STATE_UP) + if (chan->_state != AST_STATE_UP) { ast_answer(chan); } |