mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user