From: root Date: Fri, 4 Sep 2009 08:52:32 +0000 (+0200) Subject: Minor fix: chan_lcr will now go into RING state if remote channel is RINGING. X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=b36acee45f625edde09d2f29918d932d45175d17;hp=1acc11b02cda38524c30c2dbb7497d516b7b44fc Minor fix: chan_lcr will now go into RING state if remote channel is RINGING. modified: chan_lcr.c --- diff --git a/chan_lcr.c b/chan_lcr.c index b3463eb..d1b57e6 100644 --- a/chan_lcr.c +++ b/chan_lcr.c @@ -2209,7 +2209,7 @@ static int lcr_indicate(struct ast_channel *ast, int cond, const void *data, siz break; case AST_CONTROL_RINGING: CDEBUG(call, ast, "Received indicate AST_CONTROL_RINGING from Asterisk.\n"); - ast_setstate(ast, AST_STATE_RINGING); + ast_setstate(ast, AST_STATE_RING); if (call->state == CHAN_LCR_STATE_IN_SETUP || call->state == CHAN_LCR_STATE_IN_DIALING || call->state == CHAN_LCR_STATE_IN_PROCEEDING) {