diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2002-07-12 09:03:50 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2002-07-12 09:03:50 +0000 |
commit | 0ac7711a22bfc433c394d87fa58d2c553ba52b9f (patch) | |
tree | e2cb193cae19783f6b766de76726004c70d07d97 /apps/app_milliwatt.c | |
parent | 12fd7ca3bbc8df1293b20a615646e35b5033cb72 (diff) |
Version 0.2.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@484 f38db490-d61c-443f-a65b-d21fe96a405b
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); } |