[asterisk-bugs] [Asterisk 0012276]: hanguponpolarityswitch ignored because I am not using answeronpolarityswitch
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Sep 7 21:03:35 CDT 2008
The following issue has been CLOSED
======================================================================
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: closed
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:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2008-03-22 07:55 CDT
Last Modified: 2008-09-07 21:03 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)) {
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2008-09-07 21:03 snuffy Status feedback => closed
======================================================================
More information about the asterisk-bugs
mailing list