[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
Thu Aug 20 13:53:14 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-20 13:53 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0109365) dbailey (administrator) - 2009-08-20 13:53
 https://issues.asterisk.org/view.php?id=9096#c109365 
---------------------------------------------------------------------- 
Instead of using the driver to send what is a false event (i.e. a polarity
event when none has actually occurred) I have posted a patch that has
chan_dahdi monitor the incoming channel to look for the incoming line
traversal that should signal the start of DTMF CID.  (
9096-chan_dahdi-trunk.diff)

This uses the same mechanism that is already in place for detecting
incoming MWI FSK spills in the do_monitor loop.  

At present, this is trunk only. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-20 13:53 dbailey        Note Added: 0109365                          
======================================================================




More information about the asterisk-bugs mailing list