[Asterisk-code-review] chan ooh323: Add ProgressIndicator IE with inband info avail... (asterisk[master])

Alexander Anikin asteriskteam at digium.com
Wed Sep 9 16:55:09 CDT 2015


Alexander Anikin has uploaded a new change for review.

  https://gerrit.asterisk.org/1231

Change subject: chan_ooh323: Add ProgressIndicator IE with inband info available
......................................................................

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
---
M addons/ooh323c/src/ooq931.c
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/31/1231/1

diff --git a/addons/ooh323c/src/ooq931.c b/addons/ooh323c/src/ooq931.c
index 86ecd92..cbc4afb 100644
--- a/addons/ooh323c/src/ooq931.c
+++ b/addons/ooh323c/src/ooq931.c
@@ -758,14 +758,14 @@
       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))

-- 
To view, visit https://gerrit.asterisk.org/1231
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I326ad13cb1db9a72b3fd902bafed3c28a3684203
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Alexander Anikin <may213 at yandex.ru>



More information about the asterisk-code-review mailing list