Matt Riddell
2005-Nov-21 17:22 UTC
[Asterisk-Users] chan_capi_cm-0.6.1: ISDN1: too much voice to send for NCCI=0x10101
Hi, I have an AVM Fritz card at a customer location that is crashing whenever it tries to play a sound file. Any ideas? == Started pbx on channel CAPI/ISDN1/11596446-0 -- Executing Answer("CAPI/ISDN1/11596446-0", "") in new stack == ISDN1: Answering for 11596446 CONNECT_RESP ID=001 #0x01b6 LEN=0042 Controller/PLCI/NCCI = 0x101 Reject = 0x0 BProtocol B1protocol = 0x1 B2protocol = 0x1 B3protocol = 0x0 B1configuration = default B2configuration = default B3configuration = default ConnectedNumber = <00 80>11596446 ConnectedSubaddress = default LLC = default AdditionalInfo BChannelinformation = default Keypadfacility = default Useruserdata = default Facilitydataarray = default -- Executing BackGround("CAPI/ISDN1/11596446-0", "beep") in new stack -- Playing 'beep' (language 'en') CONNECT_ACTIVE_IND ID=001 #0x01b7 LEN=0015 Controller/PLCI/NCCI = 0x101 ConnectedNumber = default ConnectedSubaddress = default LLC = default CONNECT_ACTIVE_RESP ID=001 #0x01b7 LEN=0012 Controller/PLCI/NCCI = 0x101 CONNECT_B3_IND ID=001 #0x01b8 LEN=0013 Controller/PLCI/NCCI = 0x10101 NCPI = default CONNECT_B3_RESP ID=001 #0x01b8 LEN=0015 Controller/PLCI/NCCI = 0x10101 Reject = 0x0 NCPI = default CONNECT_B3_ACTIVE_IND ID=001 #0x01b9 LEN=0013 Controller/PLCI/NCCI = 0x10101 NCPI = default CONNECT_B3_ACTIVE_RESP ID=001 #0x01b9 LEN=0012 Controller/PLCI/NCCI = 0x10101 > ISDN1: too much voice to send for NCCI=0x10101 > ISDN1: too much voice to send for NCCI=0x10101 DATA_B3_IND ID=001 #0x01ba LEN=0030 Controller/PLCI/NCCI = 0x10101 Data32 = 0x6f1e7e DataLength = 0xa0 DataHandle = 0x0 Flags = 0x0 Data64 = 0x0 localhost*CLI> Disconnected from Asterisk server -- 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)
Matt Riddell
2005-Nov-22 00:09 UTC
[Asterisk-Users] chan_capi_cm-0.6.1: ISDN1: too much voice to send for NCCI=0x10101
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)
Matt Riddell
2005-Nov-22 06:23 UTC
[Asterisk-Users] chan_capi_cm-0.6.1: ISDN1: too much voice to send for NCCI=0x10101
Answering myself here. It turned out that the machine already had kernelcapi installed and was doing some weird things with the modules. I removed it and reinstalled isdn-utils. All is now well! :) -- 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)