[asterisk-bugs] [Asterisk 0013443]: rc5: chan_dahdi doesn't recognize TDM400P channels

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Oct 5 18:21:17 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13443 
====================================================================== 
Reported By:                seandarcy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13443
Category:                   Channels/chan_dahdi
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.0-beta9 
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-09-08 19:47 CDT
Last Modified:              2008-10-05 18:21 CDT
====================================================================== 
Summary:                    rc5: chan_dahdi doesn't recognize TDM400P channels
Description: 
using dahdi-linux-rc4 and 1.6.0-rc5, no dial tone or answer on TDM400P
channels. Nothing on CLI.

dahdi-linux seems to work, but chan_dahdi sees only the card not the
channels.
====================================================================== 

---------------------------------------------------------------------- 
 (0093196) seandarcy (reporter) - 2008-10-05 18:21
 http://bugs.digium.com/view.php?id=13443#c93196 
---------------------------------------------------------------------- 
1. The v2 patch which compiled cleanly.

2. the patch applied cleanly

3. restarted asterisk.

Now using 1.6.0, 2.0.0 dahdi-linux & tools.

I switch back and forth between channels-> and dahdichan-> in the attached
chan_dahdi.conf by commenting and uncommenting the lines. If I restart
asterisk with dahdichan uncommented, i.e.,

;;;[home-phones]
context=internal      ; Uses the [internal] context in extensions.conf
signalling=auto     ; fxo_ks Use FXO signalling for an FXS channel - as
set in $
;;channel => 1          ; Telephone attached to port 1
;;
channel => 2          ; Telephone attached to port 2
dahdichan => 1,2

;;;[pstn]
context=incoming-pstn-line  ; Incoming calls go to [incoming-pstn-line] in
exte$
signalling=auto     ; fxs_ks Use FXS signalling for an FXO channel - use
as set$
faxdetect=incoming
busydetect=yes
;;channel => 4
dahdichan => 4          ; PSTN attached to port 4

asterisk*CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret        Blocked
   State     
 pseudo            incoming-pstn-l            default                     
   In Service
      4            incoming-pstn-l            default                     
   In Service


But if I uncomment the channels=> lines, comment out the dahdican=> lines
and restart asterisk, I get:



asterisk*CLI> dahdi show channels
   Chan Extension  Context         Language   MOH Interpret        Blocked
   State     
      1            internal                   default                     
   In Service
      2            internal                   default                     
   In Service
      4            incoming-pstn-l            default                     
   In Service


BTW, I get the same behavior if I use dahdi restart. Changing
chan_dahdi.conf gives the same results. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-05 18:21 seandarcy      Note Added: 0093196                          
======================================================================




More information about the asterisk-bugs mailing list