git-svn-id: http://svn.openzap.org/svn/openzap/trunk@286 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2007-06-21 15:14:46 +00:00
parent b9634b84a0
commit 936459a5c0
1 changed files with 4 additions and 1 deletions

View File

@ -1205,7 +1205,10 @@ L3INT Q931Uie_ChanID(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *pMsg, L3UCHAR *
/* Octet 3.3 */
/* Temp fix. Assume B channel. H channels not supported */
pie->ChanSlot = IBuf[Octet+Off] & 0x7f;
Off = Q931ReadExt(&IBuf[Octet+Off], Off);
/* Some dialects don't follow the extension coding properly for this, but this should be safe for all */
if (Octet + Off -1 != IESize) {
Off = Q931ReadExt(&IBuf[Octet+Off], Off);
}
Off++;
}
}