diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-02 17:16:36 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-02 17:16:36 +0000 |
commit | 3ac9f58b445c0b72bf82ec74163b9858b14c6a3d (patch) | |
tree | 484cd8127cd707a1a32c305725dbb34df304c25d | |
parent | 6c86936bc56cc040d4c308488496bd461331c61f (diff) |
Don't set state to UP state within the driver, but instead allow ast_read to do so.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3884 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | channels/chan_zap.c | 2 | ||||
-rwxr-xr-x | config.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 27d26a6bc..cc0e3eace 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -3867,7 +3867,6 @@ struct ast_frame *zt_read(struct ast_channel *ast) p->subs[index].needanswer = 0; p->subs[index].f.frametype = AST_FRAME_CONTROL; p->subs[index].f.subclass = AST_CONTROL_ANSWER; - ast_setstate(ast, AST_STATE_UP); ast_mutex_unlock(&p->lock); return &p->subs[index].f; } @@ -4019,7 +4018,6 @@ struct ast_frame *zt_read(struct ast_channel *ast) of a DTMF digit */ p->subs[index].f.frametype = AST_FRAME_CONTROL; p->subs[index].f.subclass = AST_CONTROL_ANSWER; - ast_setstate(ast, AST_STATE_UP); f = &p->subs[index].f; } else if (p->callwaitcas) { if ((f->subclass == 'A') || (f->subclass == 'D')) { @@ -3,9 +3,9 @@ * * Configuration File Parser * - * Copyright (C) 1999, Mark Spencer + * Copyright (C) 1999-2004, Digium, Inc. * - * Mark Spencer <markster@linux-support.net> + * Mark Spencer <markster@digium.com> * * This program is free software, distributed under the terms of * the GNU General Public License |