[Home]

Summary:ASTERISK-16349: [patch] DNID not cleared when channel hang up
Reporter:klaus3000 (klaus3000)Labels:
Date Opened:2010-07-12 02:38:13Date Closed:2010-07-22 16:16:04
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_dahdi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) issue17623.patch
Description:Hi!

Asterisk trunk's "dahdi show status" still reports the DNID of the previous call even if the call is already hang up. "dahdi show status" of older releases clear the DNID once the channel is hang up.

****** ADDITIONAL INFORMATION ******

   -- Accepting call from '063911160036' to '3591' on channel 0/27, span 1
...
hvst*CLI> dahdi show channels
  Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
     1 PSTNin default In Service
...
    26 PSTNin default In Service
    27 3591 PSTNin default In Service
    28 PSTNin default In Service
...
   -- Channel 0/27, span 1 got hangup request, cause 16
   -- Hungup 'DAHDI/i1/063911160036-1'
hvst*CLI> dahdi show channels
  Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
     1 PSTNin default In Service
...
    26 PSTNin default In Service
    27 3591 PSTNin default In Service
    28 PSTNin default In Service
    29 PSTNin default In Service
    30 PSTNin default In Service
    31 PSTNin default In Service
hvst*CLI>
Comments:By: Richard Mudgett (rmudgett) 2010-07-22 15:25:48

This seems to be a reappearance of ASTERISK-1109 and should go away with a similar fix.

By: Digium Subversion (svnbot) 2010-07-22 16:16:04

Repository: asterisk
Revision: 278777

U   trunk/channels/chan_dahdi.c

------------------------------------------------------------------------
r278777 | rmudgett | 2010-07-22 16:16:03 -0500 (Thu, 22 Jul 2010) | 15 lines

DNID not cleared when channel hang up (Affects PRI and SS7)

The "dahdi show channels" CLI command still reports the DNID of the
previous call even if the call is already hang up.  The "dahdi show
channels" command of older releases clear the DNID once the channel is
hang up.

Regression from the sig_analog/sig_pri extraction from chan_dahdi.

(closes issue ASTERISK-16349)
Reported by: klaus3000
Patches:
     issue17623.patch uploaded by rmudgett (license 664)
Tested by: rmudgett

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=278777