From bdc08177b3d3dc44614a4d67da59b635ccf46b99 Mon Sep 17 00:00:00 2001 From: MelwareDE Date: Sat, 16 Jul 2005 11:57:01 +0000 Subject: [PATCH] Send progress and preoceeding to * when the network signals them. --- chan_capi.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/chan_capi.c b/chan_capi.c index 2b6d1d6..cf7e4fb 100644 --- a/chan_capi.c +++ b/chan_capi.c @@ -1814,9 +1814,15 @@ static void capi_handle_info_indication(_cmsg *CMSG, unsigned int PLCI, unsigned break; case 0x8002: /* CALL PROCEEDING */ cc_ast_verbose(3, 1, VERBOSE_PREFIX_2 "info element CALL PROCEEDING\n"); + fr.frametype = AST_FRAME_CONTROL; + fr.subclass = AST_CONTROL_PROCEEDING; + pipe_frame(p, (struct ast_frame *)&fr); break; case 0x8003: /* PROGRESS */ cc_ast_verbose(3, 1, VERBOSE_PREFIX_2 "info element PROGRESS\n"); + fr.frametype = AST_FRAME_CONTROL; + fr.subclass = AST_CONTROL_PROGRESS; + pipe_frame(p, (struct ast_frame *)&fr); break; case 0x8005: /* SETUP */ cc_ast_verbose(3, 1, VERBOSE_PREFIX_2 "info element SETUP\n"); @@ -1826,9 +1832,6 @@ static void capi_handle_info_indication(_cmsg *CMSG, unsigned int PLCI, unsigned break; case 0x800d: /* SETUP ACK */ cc_ast_verbose(3, 1, VERBOSE_PREFIX_2 "info element SETUP ACK\n"); - fr.frametype = AST_FRAME_CONTROL; - fr.subclass = AST_CONTROL_PROGRESS; - pipe_frame(p, (struct ast_frame *)&fr); break; case 0x800f: /* CONNECT ACK */ cc_ast_verbose(3, 1, VERBOSE_PREFIX_2 "info element CONNECT ACK\n");