mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-11 15:18:38 +00:00
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
This commit is contained in:
committed by
Richard Mudgett
parent
34ad877bac
commit
71408df2b8
@@ -758,14 +758,14 @@ int ooEncodeH225Message(OOH323CallData *call, Q931Message *pq931Msg,
|
|||||||
i += pq931Msg->causeIE->length;
|
i += pq931Msg->causeIE->length;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Add progress indicator IE
|
/* Add progress indicator IE */
|
||||||
if(pq931Msg->messageType == Q931AlertingMsg || pq931Msg->messageType == Q931CallProceedingMsg)
|
if(pq931Msg->messageType == Q931AlertingMsg || pq931Msg->messageType == Q931ProgressMsg)
|
||||||
{
|
{
|
||||||
msgbuf[i++] = Q931ProgressIndicatorIE;
|
msgbuf[i++] = Q931ProgressIndicatorIE;
|
||||||
msgbuf[i++] = 2; //Length is 2 octet
|
msgbuf[i++] = 2; //Length is 2 octet
|
||||||
msgbuf[i++] = 0x80; //PI=8
|
msgbuf[i++] = 0x80; //PI=8
|
||||||
msgbuf[i++] = 0x88;
|
msgbuf[i++] = 0x88;
|
||||||
}*/
|
}
|
||||||
|
|
||||||
/*Add display ie. for all but Status message as per ASTERISK-18748 */
|
/*Add display ie. for all but Status message as per ASTERISK-18748 */
|
||||||
if(!ooUtilsIsStrEmpty(call->ourCallerId) && (pq931Msg->messageType != Q931StatusMsg))
|
if(!ooUtilsIsStrEmpty(call->ourCallerId) && (pq931Msg->messageType != Q931StatusMsg))
|
||||||
|
Reference in New Issue
Block a user