[asterisk-bugs] [Asterisk 0015718]: [patch] Distinctive ring detection not working. Exits after first cadence

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 12 06:27:46 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15718 
====================================================================== 
Reported By:                alecdavis
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   15718
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Target Version:             1.4.35
Asterisk Version:           SVN 
JIRA:                       SWP-1759 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 211232 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-13 22:54 CDT
Last Modified:              2010-07-12 06:27 CDT
====================================================================== 
Summary:                    [patch] Distinctive ring detection not working.
Exits after first cadence
Description: 
ARRAYLEN(ringdata) before call to my_distinctive_ring=3, but inside
my_distincetive_ring=1, so have hardcoded 3. (must be a better way!)

====================================================================== 

---------------------------------------------------------------------- 
 (0124485) alecdavis (manager) - 2010-07-12 06:27
 https://issues.asterisk.org/view.php?id=15718#c124485 
---------------------------------------------------------------------- 
with patch, patterns have changed, but I could probably get them to match
again:
have an additional small debug print prefixed with ALEC

    -- Starting simple switch on 'DAHDI/35-1'
    -- Executing [71 at phones:1] Dial("DAHDI/35-1", "DAHDI/32r1") in new
stack
    -- Called 32r1
    -- DAHDI/32-1 is ringing
    -- DAHDI/32-1 is ringing
    -- Starting simple switch on 'DAHDI/37-1'
    -- DAHDI/32-1 is ringing
    -- DAHDI/32-1 is ringing
    -- Detecting post-CID distinctive ring
    -- DAHDI/32-1 is ringing
[Jul 12 23:21:59] NOTICE[18883]: chan_dahdi.c:1776 my_distinctive_ring:
Got event 2 (Ring/Answered)...
    -- ALEC receivedRingT=0 ringt=247
[Jul 12 23:21:59] NOTICE[18883]: chan_dahdi.c:1776 my_distinctive_ring:
Got event 18 (Ring Begin)...
    -- ALEC receivedRingT=1 ringt=237
    -- DAHDI/32-1 is ringing
    -- DAHDI/32-1 is ringing
[Jul 12 23:22:00] NOTICE[18883]: chan_dahdi.c:1776 my_distinctive_ring:
Got event 2 (Ring/Answered)...
    -- ALEC receivedRingT=2 ringt=187
    -- Detected ring pattern: 247,237,187
    -- Checking 247,337,277
    -- Ring pattern check range: 10
    -- Ring pattern matched in range: 237 to 257
    -- Ring pattern check range: 10
    -- Ring pattern check range: 10
    -- Checking 247,366,277
    -- Ring pattern check range: 10
    -- Ring pattern matched in range: 237 to 257
    -- Ring pattern check range: 10
    -- Ring pattern check range: 10
    -- Checking 97,247,147
    -- Ring pattern check range: 10
    -- Ring pattern check range: 10
    -- Ring pattern matched in range: 237 to 257
    -- Ring pattern check range: 10 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-12 06:27 alecdavis      Note Added: 0124485                          
======================================================================




More information about the asterisk-bugs mailing list