Matthias Urlichs ha scritto: > Hi, Massimo Nuvoli wrote: > >> + if (!channel) >> + return; >> assert(channel); > In that case, the "assert" is superfluous and should be deleted.
I found a lot of these conditions, all making asterisk go in segmentation fault. I am doing testing in this condition 2 pci boards HFC 4-S (each board 4 channels -> 2 TE MODE 2 NT MODE) TESTER (NT MODE) -> channel 1 TE -> channel 3 NT -> channel 5 TE -> channel 7 NT -> channel 2 TE -> channel 4 NT -> channel 6 TE -> channel 8 NT -> ISDN Phne.. The tester can place 2 calls, so with this solution i can use in a second all 16 channels.... Think about the timing, when i place a call from the tester to the isdn phone all 8 channels must go up... A number of problems come out while establishing and closing the call... all segmentation faults by the "assert" or the "ast_chan" problem. As the tester can do trafic generation i made a number of tests, i think more than 50.000 single connections (divide by 8 or 16 if you think this is a big number). I think never the driver was so stressed.. :-) Bye.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Visdn-hackers mailing list [email protected] https://mailman.uli.it/mailman/listinfo/visdn-hackers
