[asterisk-bugs] [DAHDI-linux 0014104]: [patch] Generate VMWI line reversal from FXS module to light LED on newer 'non intellegent phone'

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Dec 27 03:39:50 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14104 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14104
Category:                   wctdm
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2008-12-18 02:36 CST
Last Modified:              2008-12-27 03:39 CST
====================================================================== 
Summary:                    [patch] Generate VMWI line reversal from FXS module
to light LED on newer 'non intellegent phone'
Description: 
Added initial fundamental support to manipulate FXS line to generate
Message Waiting Indication. Still supports sending FSK as has been
supported for years.

Discovered undocumented parameter 'mwisendtype' in chan_dahdi.conf which
can only be 'rpas' Ring Pulse Alert Signal at the moment.

Intention is to use this field with parameters as follows;
   'fsk' or undefined for exisiting FSK only support.
   'none' no FSK spill heard every second time you go off hook.
   'rpas' for existing support ring pulse before FSK
   'lrev' line reversed while messages exist
   'hvdc' high voltage, 90Vdc idle voltage
   'hvac' high voltage neon generation, Following Silicb AN33

Alec


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

---------------------------------------------------------------------- 
 (0096958) alecdavis (reporter) - 2008-12-27 03:39
 http://bugs.digium.com/view.php?id=14104#c96958 
---------------------------------------------------------------------- 
please remove chan_dahdi.mwisendtype_v2.diff.txt

uploaded chan_dahdi.mwisendtype.diff3.txt

Further testing on tzafrir's advise, revealed a reload chan_dahdi bug. Now
mwisendtype is forced to a known value.

Additional option added for chan_dahdi.conf keyword 'mwisendtype' of
'nofsk',  never send FSK, you'll get dialtone every time you pickup the
handset. This works around the bug that MWISPILL is not aborted immediately
offhook is detected.

Tested with TDM400P with 2 FXS modules, both with 'rpas' enabled so you
know when to pick up the phone to hear the FSK.

snippet from chan_dahdi.conf

 mailbox = 2345
 mwisendtype=nofsk,rpas,lrev
 channel => 32

 mailbox = 2346
 mwisendtype=rpas
 channel => 33

Results:
Channel 33: You hear FSK if you pick up the handset immediately the phone
rings, and you don't get a dial tone.
Channel 32: FSK is never sent. Single ring pulse. LED is on indicating
Message, Stutter Dial Tone 

Alec Davis 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-27 03:39 alecdavis      Note Added: 0096958                          
======================================================================




More information about the asterisk-bugs mailing list