[asterisk-bugs] [DAHDI-linux 0009096]: [patch] DTMF CID without polarity reversal implementation in wctdm for Denmark, Brazil, etc

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 30 14:15:53 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=9096 
====================================================================== 
Reported By:                fleed
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   9096
Category:                   NewFeature
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             2.2.0
====================================================================== 
Date Submitted:             2007-02-18 19:02 CST
Last Modified:              2009-08-30 14:15 CDT
====================================================================== 
Summary:                    [patch] DTMF CID without polarity reversal
implementation in wctdm for Denmark, Brazil, etc
Description: 
Caller id signaling in Denmark, Brazil and other places is done through
DTMF tones before the first ring, without polarity reversal to indicate the
start of incoming data. Currently wctdm can only detect dtmf callerid if
there is a polarity reversal before the dtmf digits, so it's not working in
some countries.

This uses the idea reported in bug id 9 for wcfxo, but implements it in
wctdm. It fakes a polarity reversal so that the code already in chan_zap
can take that and pass it through the dtmf bit.

To use, patch and build the zaptel part, load the module with option
dtmf=1. Then use the following in zapata.conf:
callerid=asreceived
usecallerid=yes
cidsignalling=dtmf
hidecallerid=no
cidstart=polarity

Works fine in Brazil, on a Telemar line.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0000009 [patch] DTMF CLIP not supported by Aste...
related to          0012658 [patch] DTMF issues on Zap
related to          0009201 Problem with caller ID detection when D...
====================================================================== 

---------------------------------------------------------------------- 
 (0109816) sum (reporter) - 2009-08-30 14:15
 https://issues.asterisk.org/view.php?id=9096#c109816 
---------------------------------------------------------------------- 
ok, Tested with  SVN-trunk-r214819M, the CID is ok, but there seems to be
an issue with audio after the line is answer, I just listen static (I don't
have that problem without the CID detection). example

  == Starting DTMF CID detection on channel 1
    -- Starting simple switch on 'DAHDI/1-1'
    -- Executing [s at incoming:1] Answer("DAHDI/1-1", "") in new stack
    -- Executing [s at incoming:2] NoOp("DAHDI/1-1", "XXXXXXXXXXX") in new
stack
    -- Executing [s at incoming:3] BackGround("DAHDI/1-1", "test") in new
stack
    -- <DAHDI/1-1> Playing 'demo-nogo.gsm' (language 'es')
    -- Auto fallthrough, channel 'DAHDI/1-1' status is 'UNKNOWN'
    -- Hanging up on 'DAHDI/1-1'
    -- Hungup 'DAHDI/1-1'

XXXXX is the callerid detected ok.
the test audio is ok without cid detection, but when I enable it I just
listen static. any idea? I have the test environment ready. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-30 14:15 sum            Note Added: 0109816                          
======================================================================




More information about the asterisk-bugs mailing list