[asterisk-bugs] [Asterisk 0013716]: [patch] Prevent false answer of channel when going off-hook

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 20 13:23:15 CST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13716 
====================================================================== 
Reported By:                alecdavis
Assigned To:                sruffell
====================================================================== 
Project:                    Asterisk
Issue ID:                   13716
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.6.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-10-16 04:58 CDT
Last Modified:              2009-01-20 13:23 CST
====================================================================== 
Summary:                    [patch] Prevent false answer of channel when going
off-hook
Description: 
With answeronpolarityswitch=no asterisk answers channel soon after dialout
has started, or perhaps just finished. Causing Ringing for the caller to
stop, then silence for a while as the call is setup, then telco ringing is
heard and call proceedes as normal.
 
With answeronpolarityswitch=yes asterisk answers channel as soon as the
line goes off-hook. The user hears a very short Ring from Asterisk, long
silence as digits are dialled out and call is setup, then finally telco
ring is heard.
This is caused in our case because the line does a polarity reversal when
going off hook.

I have modifed wctdm.c that adds polarityignore in 3 sections of the code,
strcut fxo, wctdm_voicedaa_check_hook and wctdm_hooksig.

I'll upload for your comment, but welcome any advice if there is a better
way.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013917 [patch] fxo modules incorrectly believe...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-20 13:23 blitzrage      Regression                => No              
2009-01-20 13:23 blitzrage      Assigned To               => sruffell        
======================================================================




More information about the asterisk-bugs mailing list