[asterisk-bugs] [DAHDI-linux 0017764]: [patch] Prevent FXS Proslic Linefeed state from staying in "Forward/Reverse OnHookTransfer" during call

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 30 06:16:15 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17764 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   17764
Category:                   wctdm24xxp
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2010-07-30 05:49 CDT
Last Modified:              2010-07-30 06:16 CDT
====================================================================== 
Summary:                    [patch] Prevent FXS Proslic Linefeed state from
staying in  "Forward/Reverse OnHookTransfer" during call
Description: 
Now that the 3 second click after answering the call on an FXS port has
been fixed, the side effect is that the Proslic during a call, still has
the audio signal paths still powered on.

Reading the Si3215 specs it reads that an extra ~20mA is consumed while in
OHT mode.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017724 [patch] Race condition in handling writ...
====================================================================== 

---------------------------------------------------------------------- 
 (0125371) alecdavis (manager) - 2010-07-30 06:16
 https://issues.asterisk.org/view.php?id=17764#c125371 
---------------------------------------------------------------------- 
debug output from dmesg:

<b>incorrectly setting LF state as we answer (from yesterday)</b>
[101823.408182] wctdm24xxp 0000:05:04.0: Setting FXS hook state to 2 (04)
intcount=92596
[101823.417951] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=24
lasttxhook=04 intcount=92602
[101823.809558] wctdm24xxp 0000:05:04.0: Setting FXS hook state to 1 (02)
intcount=92996
[101823.817951] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=42
lasttxhook=02 intcount=93002
[101824.010533] wctdm24xxp 0000:05:04.0: Setting FXS hook state to 2 (04)
intcount=93196
[101824.026535] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=14
lasttxhook=04 intcount=93202
[101824.030194] wctdm24xxp 0000:05:04.0: wctdm: Card 3 Going off hook
[101824.031335] wctdm24xxp 0000:05:04.0: <b><u>Setting FXS hook state to 1
(02) intcount=93207</u></b>
[101824.031335] wctdm24xxp 0000:05:04.0: Channel 3 OnHookTransfer abort
[101824.039336] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=42
lasttxhook=02 intcount=93214
[101824.044172] wctdm24xxp 0000:05:04.0: wctdm: Card 3 Going on hook
[101824.048170] wctdm24xxp 0000:05:04.0: Channel 3 Set Reverse Polarity
[101824.052172] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=66
lasttxhook=06 intcount=93226
[101824.196034] wctdm24xxp 0000:05:04.0: wctdm: Card 3 Going off hook


<b>Correct setting the LF state as we answer (Today).</b>

[206463.554968] wctdm24xxp 0000:05:04.0: Setting FXS hook state to 2 (04)
intcount=551790
[206463.559110] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=24
lasttxhook=04 intcount=551794
[206464.075196] wctdm24xxp 0000:05:04.0: Setting FXS hook state to 1 (02)
intcount=552190
[206464.078049] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=42
lasttxhook=02 intcount=552194
[206466.418402] wctdm24xxp 0000:05:04.0: fxs_off_hook: Card 3 Going off
hook
[206466.418430] wctdm24xxp 0000:05:04.0: <b><u>Setting FXS hook state to 1
(01) intcount=553914</u></b>
[206466.418466] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=11
lasttxhook=01 intcount=553914
[206466.418500] wctdm24xxp 0000:05:04.0: Channel 3 OnHookTransfer abort
[206466.419207] wctdm24xxp 0000:05:04.0: Channel 3 Set Reverse Polarity
[206466.740868] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=55
lasttxhook=05 intcount=553922
[206466.762694] wctdm24xxp 0000:05:04.0: fxs_on_hook: Card 3 Going on
hook
[206466.762754] wctdm24xxp 0000:05:04.0: Setting FXS hook state to 0 (05)
intcount=553946
[206466.762788] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=55
lasttxhook=05 intcount=553946
[206466.784626] wctdm24xxp 0000:05:04.0: fxs_off_hook: Card 3 Going off
hook
[206466.784653] wctdm24xxp 0000:05:04.0: Setting FXS hook state to 1 (05)
intcount=553966
[206466.784688] wctdm24xxp 0000:05:04.0: SLIC_LF OK: card=3 shadow=55
lasttxhook=05 intcount=553966 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-30 06:16 alecdavis      Note Added: 0125371                          
======================================================================




More information about the asterisk-bugs mailing list