allow diag bytes on Cause IE
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@382 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
84d9aca9b9
commit
59d4031735
|
@ -1029,6 +1029,11 @@ L3INT Q931Uie_Cause(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *pMsg, L3UCHAR * I
|
|||
pie->Value = IBuf[Octet+Off] & 0x7f;
|
||||
Octet++;
|
||||
|
||||
/* Consume optional Diagnostic bytes */
|
||||
while (Q931MoreIE()) {
|
||||
Off++;
|
||||
};
|
||||
|
||||
Q931IESizeTest(Q931E_CAUSE);
|
||||
|
||||
Q931SetIE(*pIE, *OOff);
|
||||
|
|
Loading…
Reference in New Issue