[asterisk-bugs] [Asterisk 0012276]: hanguponpolarityswitch ignored because I am not using answeronpolarityswitch

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 22 09:59:24 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12276 
====================================================================== 
Reported By:                benbrown
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12276
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-03-22 07:55 CDT
Last Modified:              2008-08-22 09:59 CDT
====================================================================== 
Summary:                    hanguponpolarityswitch ignored because I am not
using answeronpolarityswitch
Description: 
As you can see from the debug below I am using hanguponpolarityswitch but
not answeronpolarityswitch.

However, the hangup polarity detection is being ignored, I believe,
because p->polaritydelaytv is not being initialised and calculating the
large negative delay.

Perhaps line 4478 should read:

 if ((p->answeronpolarityswitch) && (ast_tvdiff_ms(ast_tvnow(),
p->polaritydelaytv) > p->polarityonanswerdelay)) {

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

---------------------------------------------------------------------- 
 (0091650) snuffy (manager) - 2008-08-22 09:59
 http://bugs.digium.com/view.php?id=12276#c91650 
---------------------------------------------------------------------- 
Do you have any update to report on this benbrown?
Possible code upload? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-22 09:59 snuffy         Note Added: 0091650                          
======================================================================




More information about the asterisk-bugs mailing list