From: Michael Jerris Date: Wed, 23 May 2007 22:58:56 +0000 (+0000) Subject: quick hack to try to get somthing working. X-Git-Tag: v1.0.6~38^2~733 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e864e6ed7c850fd4fa55cc42dbaa85e1930cf45;p=thirdparty%2Ffreeswitch.git quick hack to try to get somthing working. git-svn-id: http://svn.openzap.org/svn/openzap/trunk@121 a93c3328-9c30-0410-af19-c9cd2b2d52af --- diff --git a/libs/openzap/src/isdn/Q931ie.c b/libs/openzap/src/isdn/Q931ie.c index 1435e3abc7..46e0173aa4 100644 --- a/libs/openzap/src/isdn/Q931ie.c +++ b/libs/openzap/src/isdn/Q931ie.c @@ -819,7 +819,8 @@ L3INT Q931Uie_CallingNum(Q931_TrunkInfo_t *pTrunk, ie *pIE, L3UCHAR * IBuf, L3UC pie->Digit[x] = IBuf[Octet+Off] & 0x7f; Off++; x++; - }while((IBuf[Octet+Off]&0x80) != 0 && x < 20); +/* }while((IBuf[Octet+Off]&0x80) != 0 && x < 20); Temporary dirty hack. */ + }while(Octet+Off < IESize); Q931IESizeTest(Q931E_CALLINGNUM);