Merged revisions 154266 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Tue, 4 Nov 2008 19:07:26 +0000 (19:07 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 4 Nov 2008 19:07:26 +0000 (19:07 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r154266 | rmudgett | 2008-11-04 13:01:08 -0600 (Tue, 04 Nov 2008) | 4 lines

  JIRA ABE-1703
  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/trunk@154268 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index de40dcf..4b521c4 100644 (file)
@@ -2476,7 +2476,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");