From 89a678df601635d7f3cb9d7013b1811eb2e8a422 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Tue, 4 Nov 2008 19:07:26 +0000 Subject: [PATCH] Merged revisions 154266 via svnmerge from 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index de40dcfd3a..4b521c4646 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -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");