From: Alexander Anikin Date: Wed, 9 Sep 2015 21:46:44 +0000 (+0400) Subject: chan_ooh323: Add ProgressIndicator IE with inband info available X-Git-Tag: 11.20.0-rc1~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198a1cab8ed070fd077361ca931898850e7b0d49;p=thirdparty%2Fasterisk.git chan_ooh323: Add ProgressIndicator IE with inband info available Add ProgressIndicator IE with inband info present to Progress and Alerting Q.931 message ASTERISK-25227 #close Reported by: Alexandr Dranchuk Change-Id: I326ad13cb1db9a72b3fd902bafed3c28a3684203 --- diff --git a/addons/ooh323c/src/ooq931.c b/addons/ooh323c/src/ooq931.c index 86ecd92056..cbc4afb0a8 100644 --- a/addons/ooh323c/src/ooq931.c +++ b/addons/ooh323c/src/ooq931.c @@ -758,14 +758,14 @@ int ooEncodeH225Message(OOH323CallData *call, Q931Message *pq931Msg, i += pq931Msg->causeIE->length; } - /*Add progress indicator IE - if(pq931Msg->messageType == Q931AlertingMsg || pq931Msg->messageType == Q931CallProceedingMsg) + /* Add progress indicator IE */ + if(pq931Msg->messageType == Q931AlertingMsg || pq931Msg->messageType == Q931ProgressMsg) { msgbuf[i++] = Q931ProgressIndicatorIE; msgbuf[i++] = 2; //Length is 2 octet msgbuf[i++] = 0x80; //PI=8 msgbuf[i++] = 0x88; - }*/ + } /*Add display ie. for all but Status message as per ASTERISK-18748 */ if(!ooUtilsIsStrEmpty(call->ourCallerId) && (pq931Msg->messageType != Q931StatusMsg))