[Home]

Summary:ASTERISK-24689: Segfault on hangup after outgoing PRI-Euroisdn call
Reporter:Marcel Manz (simmcomm)Labels:
Date Opened:2015-01-14 12:17:06.000-0600Date Closed:2015-02-19 12:27:11.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_dahdi
Versions:13.1.0 Frequency of
Occurrence
Constant
Related
Issues:
is related toASTERISK-22670 Asterisk crashes when processing ISDN AoC Events
is related toASTERISK-24740 [patch]Segmentation fault on aoc-e event
Environment:Debian Wheezy, Dell R320Attachments:( 0) backtrace.txt
Description:Asterisk immediately crashes with segfault on call hangup for outbound calls out of the PRI. Inbound calls and outbound calls via SIP work normally.

I'm attaching a backtrace of the crash. Should anything further be required, please let me know.

Versions in use:

- libpri version: 1.4.15
- DAHDI Version: 2.10.0.1 Echo Canceller: HWEC
- Asterisk 13.1.0 built by root @ ivr1 on a x86_64 running Linux on 2015-01-11 15:54:07 UTC

PRI Hardware:

- Span 1: WCT13x/0 "Wildcard TE131/TE133 Card 0" (MASTER) CCS/HDB3/CRC4 ClockSource
Comments:By: Marcel Manz (simmcomm) 2015-01-14 12:21:55.124-0600

Backtrace and logs attached

By: Matt Jordan (mjordan) 2015-01-14 12:44:29.481-0600

This is probably a duplicate of ASTERISK-22670, although the crash happens in a slightly different location.

The issue is the AOC messages being received from the ISDN provider. Right now, those are getting mishandled in {{sig_pri}}/{{chan_dahdi}}.

By: Marcel Manz (simmcomm) 2015-01-14 12:50:11.975-0600

Is there a workaround to this issue or a timeline for a fix? Is it possible to completely disable AOC in Asterisk, as in our case we have no need for it.

Right now we're unable to rollout our new Asterisk Servers, as they will crash after every outbound call.

By: Marcel Manz (simmcomm) 2015-01-14 13:26:38.511-0600

FYI: We're connected on Switzerland's Swisscom. They are sending additional AOC display message. Maybe Asterisk isn't expecting such:

chan_dahdi.c: PRI Span: 1 Received message for call 0x7febe8259020 on link 0x246ad60 TEI/SAPI 0/0
chan_dahdi.c: PRI Span: 1 -- Processing IE 28 (cs0, Facility)
chan_dahdi.c: PRI Span: 1 -- Processing IE 40 (cs0, Display)

Looking forward to a solution of this problem. Thanks

By: Panos Gkikakis (roeften) 2015-01-30 16:27:37.531-0600

@ Marcel Manz

this sounds identical to my issue, shame didn't see this and created a new one. Could you please try the patch in ASTERISK-24740?

By: Marcel Manz (simmcomm) 2015-02-05 06:57:57.126-0600

Thanks for the patch. I will be able to test it on Monday, Feb 9th and report back.

By: Marcel Manz (simmcomm) 2015-02-09 15:41:40.808-0600

@ Panos

I have tested the patch from ASTERISK-24740 and can confirm that it's working for us.

By: Richard Mudgett (rmudgett) 2015-02-17 11:55:15.390-0600

I have created a new patch on reviewboard: https://reviewboard.asterisk.org/r/4430/