[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
Wed Jan 21 12:25:36 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=9096 
====================================================================== 
Reported By:                fleed
Assigned To:                murf
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   9096
Category:                   NewFeature
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for review
Target Version:             2.2.0
====================================================================== 
Date Submitted:             2007-02-18 19:02 CST
Last Modified:              2009-01-21 12:25 CST
====================================================================== 
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...
====================================================================== 

---------------------------------------------------------------------- 
 (0098338) loos (reporter) - 2009-01-21 12:25
 http://bugs.digium.com/view.php?id=9096#c98338 
---------------------------------------------------------------------- 
i've some patchs here for testing:

http://freeroute.com.br/9096.nopolaritypatch
http://freeroute.com.br/asterisk-callerid.patch

I've tried with some success in others environments too, but i got some
noise when connected to an intelbras pbx, but this is working fine on
telefonica lines.

Please give this patch a try. if you need something, just contact me.

thanks,
luiz
PS: i found that is absolutely necessary patch the chan_dahdi.c on
asterisk to change the callerid timeout (as you will get the DTMF CLIP
earlier). this is why i post the second patch. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-21 12:25 loos           Note Added: 0098338                          
======================================================================




More information about the asterisk-bugs mailing list