summaryrefslogtreecommitdiffstats
path: root/chan_lcr.c
diff options
context:
space:
mode:
authorroot2009-09-04 10:52:32 +0200
committerroot2009-09-04 10:52:32 +0200
commitb36acee45f625edde09d2f29918d932d45175d17 (patch)
treea80c7384e4de81a60422efdd2d116f63d8b25f45 /chan_lcr.c
parentAdded patch by Kai Peter for completing screening indicator. Thanx for that! (diff)
downloadlcr-b36acee45f625edde09d2f29918d932d45175d17.tar.gz
lcr-b36acee45f625edde09d2f29918d932d45175d17.tar.xz
lcr-b36acee45f625edde09d2f29918d932d45175d17.zip
Minor fix: chan_lcr will now go into RING state if remote channel is RINGING.
modified: chan_lcr.c
Diffstat (limited to 'chan_lcr.c')
-rw-r--r--chan_lcr.c2
1 files changed, 1 insertions, 1 deletions
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) {