summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorAlexander Anikin <may213@yandex.ru>2015-09-10 01:46:44 +0400
committerRichard Mudgett <rmudgett@digium.com>2015-09-09 17:08:00 -0500
commit5bd363010e199dca4660486f43bdf4dfcf25db62 (patch)
treea5c839587c0d7a3990ffb7b549aec0d0feaefbfe /addons
parent647cdcd6a8f5e5dd9b9361929a3c9e4c9d5a8fa3 (diff)
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
Diffstat (limited to 'addons')
-rw-r--r--addons/ooh323c/src/ooq931.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/ooh323c/src/ooq931.c b/addons/ooh323c/src/ooq931.c
index 86ecd9205..cbc4afb0a 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))