From 521253342706232d2ca1407636746789d22f296b Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Tue, 27 Jun 2006 20:29:15 +0000 Subject: [PATCH] - set state to RINGING when we got ALERTING --- chan_capi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chan_capi.c b/chan_capi.c index 9a0b787..76e1b49 100644 --- a/chan_capi.c +++ b/chan_capi.c @@ -2825,6 +2825,8 @@ static void capidev_handle_info_indication(_cmsg *CMSG, unsigned int PLCI, unsig fr.frametype = AST_FRAME_CONTROL; fr.subclass = AST_CONTROL_RINGING; local_queue_frame(i, &fr); + if (i->owner) + ast_setstate(i->owner, AST_STATE_RINGING); break; case 0x8002: /* CALL PROCEEDING */ cc_verbose(3, 1, VERBOSE_PREFIX_3 "%s: info element CALL PROCEEDING\n",