mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
fix dms
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@286 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
fb9d36c8a7
commit
0b76c79371
@ -1205,7 +1205,10 @@ L3INT Q931Uie_ChanID(Q931_TrunkInfo_t *pTrunk, Q931mes_Generic *pMsg, L3UCHAR *
|
|||||||
/* Octet 3.3 */
|
/* Octet 3.3 */
|
||||||
/* Temp fix. Assume B channel. H channels not supported */
|
/* Temp fix. Assume B channel. H channels not supported */
|
||||||
pie->ChanSlot = IBuf[Octet+Off] & 0x7f;
|
pie->ChanSlot = IBuf[Octet+Off] & 0x7f;
|
||||||
|
/* 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 = Q931ReadExt(&IBuf[Octet+Off], Off);
|
||||||
|
}
|
||||||
Off++;
|
Off++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user