From c413151375fa5b8fc4aaaf45704cf8111ae4ebd1 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Wed, 19 May 2004 15:26:16 +0000 Subject: [PATCH] Send progress indicator on progress if appropriate git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@94 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/q931.c b/q931.c index 53c8574..d08309c 100755 --- a/q931.c +++ b/q931.c @@ -1563,7 +1563,11 @@ static int restart_ack(struct pri *pri, q931_call *c) return send_message(pri, c, Q931_RESTART_ACKNOWLEDGE, restart_ack_ies); } +#ifdef ALERTING_NO_PROGRESS static int call_proceeding_ies[] = { Q931_CHANNEL_IDENT, -1 }; +#else +static int call_proceeding_ies[] = { Q931_CHANNEL_IDENT, Q931_PROGRESS_INDICATOR, -1 }; +#endif int q931_call_proceeding(struct pri *pri, q931_call *c, int info) {