aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_misdn.c
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-04 19:01:08 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-04 19:01:08 +0000
commitab21249208afe354dd609a6de738ba6c9992e288 (patch)
tree9ba344b199c26c6bbefe6845962b24e22d2a30ad /channels/chan_misdn.c
parent93dabc5c5ee3364a085212d03ccddfef82d0916b (diff)
JIRA ABE-1703
mISDN sets the channel to the wrong state when it receives the indication AST_CONTROL_RINGING. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@154266 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_misdn.c')
-rw-r--r--channels/chan_misdn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c
index 6df0715eb..95314336c 100644
--- a/channels/chan_misdn.c
+++ b/channels/chan_misdn.c
@@ -2267,7 +2267,7 @@ static int misdn_indication(struct ast_channel *ast, int cond, const void *data,
}
chan_misdn_log(3, p->bc->port, " --> * SEND: State Ring pid:%d\n", p->bc ? p->bc->pid : -1);
- ast_setstate(ast, AST_STATE_RINGING);
+ ast_setstate(ast, AST_STATE_RING);
if (!p->bc->nt && (p->originator == ORG_MISDN) && !p->incoming_early_audio)
chan_misdn_log(2, p->bc->port, " --> incoming_early_audio off\n");