[Asterisk-Users] chan_capi_cm-0.6.1: ISDN1: too much voice to send for NCCI=0x10101

Matt Riddell matt.riddell at sineapps.com
Tue Nov 22 00:09:30 MST 2005


It seems to be a problem with the data going into the memcpy in line 2651 of
chan_capi.c:

memcpy(b3buf, (char *)DATA_B3_IND_DATA(CMSG), b3len);

However, without that line I get weird staticy kinda of stuff.

Here's the bt:

#1  0x0011b9a5 in capi_handle_msg (CMSG=0xa1426f2) at chan_capi.c:2651
        NCCI = 65793
        PLCI = 257
        wCmd = 33920
        wMsgNum = 19
        wInfo = 65535
        i = (struct ast_capi_pvt *) 0xa1419e8
        __PRETTY_FUNCTION__ = "capi_handle_msg"
#2  0x0011ed1d in do_monitor (data=0x0) at chan_capi.c:4057
        monCMSG = {ApplId = 1, Command = 134 '\206', Subcommand = 130 '\202',
Messagenumber = 19, adr = {adrController = 65793, adrPLCI = 65793,
    adrNCCI = 65793}, AdditionalInfo = CAPI_COMPOSE, B1configuration = 0x0,
B1protocol = 0, B2configuration = 0x0, B2protocol = 0, B3configuration = 0x0,
  B3protocol = 0, BC = 0x0, BChannelinformation = 0x0, BProtocol =
CAPI_COMPOSE, CalledPartyNumber = 0x0, CalledPartySubaddress = 0x0,
  CallingPartyNumber = 0x0, CallingPartySubaddress = 0x0, CIPmask = 0,
CIPmask2 = 0, CIPValue = 0, Class = 0, ConnectedNumber = 0x0,
  ConnectedSubaddress = 0x0, Data32 = 12357246, Data64 = 0, DataHandle = 0,
DataLength = 160, FacilityConfirmationParameter = 0x0, Facilitydataarray = 0x0,
  FacilityIndicationParameter = 0x0, FacilityRequestParameter = 0x0,
FacilityResponseParameters = 0x0, FacilitySelector = 0, Flags = 0, Function = 0,
  Globalconfiguration = 0x0, HLC = 0x0, Info = 0, InfoElement = 0x0, InfoMask
= 0, InfoNumber = 0, Keypadfacility = 0x0, LLC = 0x0, ManuData = 0x0,
  ManuID = 0, NCPI = 0x0, Reason = 0, Reason_B3 = 0, Reject = 0, Useruserdata
= 0xbc8e7e 'ÿ' <repeats 160 times>, SendingComplete = 0x1e "", Data = 0x6 "",
  l = 12344779, p = 12357216, par = 0x0, m = 0x0, buf = '\0' <repeats 179 times>}



-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)




More information about the asterisk-users mailing list