Date: Wed, 03 Nov 1999 11:32:26 +0100 (CET) From: Michael Ranner <mranner@netway.at> To: (Hellmuth Michaelis) <hm@hcs.de>, freebsd-isdn@freebsd.org Subject: Re: a little bit more from the dump Message-ID: <XFMail.991103113226.mranner@netway.at> In-Reply-To: <19991103081050.DAE2538DF@hcswork.hcs.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03-Nov-99 Hellmuth Michaelis wrote: >>From the keyboard of Gary Jennejohn: > > [i4b panics] > >> oh my God, it's recursive ! > > Oh yes, it is. It has to be. And it it one of the more complicated things > i wrote. It is basically a stripped down ASN.1 parser just able to parse > AOCD unit charging info based on BER (Basic Encoding Rules for ASN.1). > See the header of isdntrace/q932_fac.c what type of documentation is > available on that subject(s). > >> The panic is evidently triggered by receipt >> of AOCD info from the telephone company. The actual length of the packet >> was 31 bytes (if I read do_component correctly), but at the time of the >> panic it was up to 134 :-(, way beyond the end of the buffer. >> >> I think the only person who even remotely understands this code is Hellmuth, >> since he wrote it. >> >> It might help if you could convince gdb to output in hex rather than >> octal. That would allow one to check whether the packet contents are >> reasonable (I don't know, I know nothing at all about what an AOCD >> packet should contain). >> >> You could try not using AOCD in isdnd.rc, I suppose. That might help. >> But the kernel will probably still try to parse the packets. > > Yes, it will. A FACILITY message will be parsed by i4b_aoc() in layer 3 > in any case. > > There are two formats for a PTT to send charge information, one is in > charging units (which is used here in Germany, this might - or will - > change in the future) and in currency, which is a bit more complex. > > AFAIK, in Austria the currency format is used which is not supported > by i4b (simply because a/ i cannot test it and b/ i don't need it) > and if the currency format is used, this is probably the cause of the > problem. In Austria we can use both variants. Now we have let the PTT change to the other version and everything is fine. But now I can not debug the AOCD message with the currency format - sorry but we need the other format also for our private network for charge accounting and the Gesko Office does not support the currency format (but does not crash ;) cu /\/\ichael Ranner - Michael Ranner <mranner@netway.at> Michael.Ranner@netway.at - webmaster@mariazell.org ---------------------------------------------------------------------- Homepage: http://www.netlounge.at/mranner/ Mariazell Online: http://www.mariazell.at/ ---------------------------------------------------------------------- Vote for ME -- I'm well-tapered, half-cocked, ill-conceived and TAX-DEFERRED! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991103113226.mranner>