[asterisk-bugs] [Asterisk 0015381]: [patch] TDM400P FXS port, doesn't ring correctly when mwisendtype=rpas

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 23 07:29:37 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15381 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15381
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 202497 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-23 03:22 CDT
Last Modified:              2009-06-23 07:29 CDT
====================================================================== 
Summary:                    [patch] TDM400P FXS port, doesn't ring correctly
when mwisendtype=rpas
Description: 
With mwisendtype=rpas in chan_dahdi.conf, when ringing a TDM400P FXS port
only a very short ring is heard once every 10 seconds.
  1st is immediately phone starts to ring
  2nd ring https://issues.asterisk.org/view.php?id=11#c10 seconds
  3rd ring https://issues.asterisk.org/view.php?id=14#c20 seconds just before
Voicemail kicks in.
It doesn't matter whether messages are present or not. 

If mwisendtype is allowed to default to 'fsk', then the ring is normal.

If mwisendtype is set to 'lrev', then the ring is normal, 'fsk' is sent,
and line reversal happens while messages are present.


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

---------------------------------------------------------------------- 
 (0106839) alecdavis (reporter) - 2009-06-23 07:29
 https://issues.asterisk.org/view.php?id=15381#c106839 
---------------------------------------------------------------------- 
uploaded bug15381_mwisend_rpas.diff.txt
resets DAHDI_SETCADENCE to NULL after MWI FSK SPILL

RPAS before MWI FSK SPILL sets DAHDI_SETCADENCE to AS_RP_CADENCE
(250,10000)
But didn't reset it back to default. Previously, before sig_analog, dahdi
call would set it correctly on before each call.

Now in sig_analog.c 10 lines in analog_call '/* Choose proper cadence */'
which would normally choose the correct cadence for the call, is currently
disabled!!!!!

Tested correctly with 2 phones connected to FXS ports on TDM400P and
CallerId unit in series with 1 line.

 /etc/dahdi/system.conf loadzone=nz
 /etc/dahdi/system.conf defaultzone=nz
 /etc/asterisk/indications.conf country=nz

 /etc/dahdi/system.conf loadzone=us
 /etc/dahdi/system.conf loadzone=us
 /etc/asterisk/indications.conf country=us

Correct ring cadences was observed calling between extensions.
RingPulse before FSK was correct.
CallerID unit updates were correct.
Message Waiting updates on CallerID unit were correct.
Line reversal was correct.

What wasn't tested, as it's not yet implemented in sig_analog.c is
distinctive ring. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-23 07:29 alecdavis      Note Added: 0106839                          
======================================================================




More information about the asterisk-bugs mailing list