]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
JIRA ABE-1703
authorRichard Mudgett <rmudgett@digium.com>
Tue, 4 Nov 2008 19:01:08 +0000 (19:01 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 4 Nov 2008 19:01:08 +0000 (19:01 +0000)
mISDN sets the channel to the wrong state when it receives
the indication AST_CONTROL_RINGING.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@154266 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index 6df0715eb34c2f6a9b2b7f7420cb684c44d13cf6..95314336c0b5e6c53f2e390c7666aec56e943bd9 100644 (file)
@@ -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");