[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 05:35:11 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 05:35 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!)

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

---------------------------------------------------------------------- 
 (0124482) alecdavis (manager) - 2010-07-12 05:35
 https://issues.asterisk.org/view.php?id=15718#c124482 
---------------------------------------------------------------------- 
and correct distinctive ring 3 match console output:

asterix*CLI>
    -- Starting simple switch on 'DAHDI/35-1'
    -- Executing [73 at phones:1] Dial("DAHDI/35-1", "DAHDI/32r3") in new
stack
    -- Called 32r3
    -- DAHDI/32-1 is ringing
    -- 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
    -- DAHDI/32-1 is ringing
[Jul 12 22:34:10] NOTICE[11657]: chan_dahdi.c:1776 my_distinctive_ring:
Got event 2 (Ring/Answered)...
    -- Detected ring pattern: 97,247,147
    -- Checking 247,337,277
    -- Ring pattern check range: 10
    -- Ring pattern check range: 10
    -- Ring pattern check range: 10
    -- Checking 247,366,277
    -- Ring pattern check range: 10
    -- Ring pattern check range: 10
    -- Ring pattern check range: 10
    -- Checking 97,247,147
    -- Ring pattern check range: 10
    -- Ring pattern matched in range: 87 to 107
    -- Ring pattern check range: 10
    -- Ring pattern matched in range: 237 to 257
    -- Ring pattern check range: 10
    -- Ring pattern matched in range: 137 to 157
    -- Distinctive Ring matched context internal3
    -- Executing [s at internal3:1] NoOp("DAHDI/37-1", "callerid="" <>") in
new stack
    -- Executing [s at internal3:2] Wait("DAHDI/37-1", "10") in new stack
    -- DAHDI/32-1 is ringing
    -- DAHDI/32-1 is ringing
    -- Hanging up on 'DAHDI/32-1'
    -- Hungup 'DAHDI/32-1'
  == Spawn extension (phones, 73, 1) exited non-zero on 'DAHDI/35-1'
    -- Hanging up on 'DAHDI/35-1'
    -- Hungup 'DAHDI/35-1'
asterix*CLI> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-12 05:35 alecdavis      Note Added: 0124482                          
======================================================================




More information about the asterisk-bugs mailing list