[asterisk-bugs] [Asterisk 0015288]: [patch] Aborted inbound trunk call to FXO analog port causes internal extensions (SIP or DAHDI) to ring forever.

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 10 07:29:20 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15288 
====================================================================== 
Reported By:                alecdavis
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   15288
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 199298 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-08 05:16 CDT
Last Modified:              2009-08-10 07:29 CDT
====================================================================== 
Summary:                    [patch] Aborted inbound trunk call to FXO analog
port causes internal extensions (SIP or DAHDI) to ring forever.
Description: 
Confirmed with a TDM800P with 1x 1port FX0 module and 1x 4port FXS module.

The only way to stop the ringing extension, was to pick it up.

The senario was:
  FX0 connected to outside line.
  FXS connected to analog phone.
  ring home line (from cellphone).
  wait for internal FXS connected phone to ring 1 or 2 rings. Hangup call
from mobile. 
  FXS connected phone keeps ringing forever.
  To stop the ringing, pickup ringing handset.

Deployed 1.6.1.0 branch, with same configs, no problems now.
====================================================================== 

---------------------------------------------------------------------- 
 (0108836) alecdavis (reporter) - 2009-08-10 07:29
 https://issues.asterisk.org/view.php?id=15288#c108836 
---------------------------------------------------------------------- 
uploaded chan_dahdi_dring.diff.txt

ARRAYLEN(ringdata) before call to my_distinctive_ring=3, but inside
my_distincetive_ring=1, so have hardcoded 3. (must be a better way!)

if dringXcontext=internalX wasn't set, the dial plan would wipe out
default context.
core show channels, after first call had an empty defcontext.

print 'Detected ring pattern, 300,200,100' to aid in distinctive ring
setup.


/etc/asterisk/chan_dahdi.conf
...
;usedistinctiveringdetection=yes
;
; enable dring detection after caller ID for those countries like
Australia
; where the ring cadence is changed *after* the caller ID spill:
;
distinctiveringaftercid=yes
;
; Whether or not to use caller ID:
;
usecallerid=yes
... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-10 07:29 alecdavis      Note Added: 0108836                          
======================================================================




More information about the asterisk-bugs mailing list