From: Richard Mudgett Date: Tue, 4 Nov 2008 19:01:08 +0000 (+0000) Subject: JIRA ABE-1703 X-Git-Tag: 1.4.23-rc2~3^2~51 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7c8bfed9c4bed30ec253be3490ef26a47d68250;p=thirdparty%2Fasterisk.git 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/branches/1.4@154266 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 6df0715eb3..95314336c0 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");