[asterisk-bugs] [DAHDI-linux 0015485]: FXO used status may not work.

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 10 23:56:57 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15485 
====================================================================== 
Reported By:                hoowa
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15485
Category:                   wctdm/NewFeature
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-07-10 08:46 CDT
Last Modified:              2009-07-10 23:56 CDT
====================================================================== 
Summary:                    FXO used status may not work.
Description: 
system:
Centos 5.3
asterisk 1.4.25
dahdi-linux 2.2.0.1
dahdi-tools 2.2.0

hardware:
pci:0000:04:00.0     wctdm+       e159:0001 Wildcard TDM400P REV I

[root at testa53 ~]# dahdi_scan
[1]
active=yes
alarms=OK
description=Wildcard TDM400P REV I Board 5
name=WCTDM/4
manufacturer=Digium
devicetype=Wildcard TDM400P REV I
location=PCI Bus 04 Slot 01
basechan=1
totchans=4
irq=66
type=analog
port=1,FXO
port=2,FXO
port=3,FXO
port=4,FXS


FXO 1 installed PSTN line:
[root at testa53 ~]# cat /proc/dahdi/1
Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)

           1 WCTDM/4/0 FXSKS (In use) RED
           2 WCTDM/4/1 FXSKS (In use)
           3 WCTDM/4/2 FXSKS RED
           4 WCTDM/4/3 FXOKS

call in asterisk i can hear playback.


when move PSTN to port 2:
[root at testa53 ~]# cat /proc/dahdi/1
Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)

           1 WCTDM/4/0 FXSKS (In use) RED
           2 WCTDM/4/1 FXSKS (In use) RED
           3 WCTDM/4/2 FXSKS RED
           4 WCTDM/4/3 FXOKS

call in asterisk no answer. i think dahdi ignore that change port.

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

---------------------------------------------------------------------- 
 (0107611) hoowa (reporter) - 2009-07-10 23:56
 https://issues.asterisk.org/view.php?id=15485#c107611 
---------------------------------------------------------------------- 
[root at testa53 ~]# cat /etc/asterisk/chan_dahdi.conf
[trunkgroups]
;
[channels]
language=cn
;context=from-trunk-dahdi
;
;
; common used
;
echocancel=no
echocancelwhenbridged=no
echotraining=undefined
rxgain=0.0
txgain=0.0
usecallerid=yes
; bell v23 v23_jp dtmf smdi
cidsignalling=bell
; ring polarity
cidstart=ring
hidecallerid=no
;
;
; for fxs
;
signalling=fxo_ks
adsi=yes
immediate=no
transfertobusy=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
context=from-exten-dahdi
;
#include chan_dahdi_fxs.conf
;
;
; for fxo
;
signalling=fxs_ks
usedistinctiveringdetection=no
distinctiveringaftercid=no
busydetect=yes
busycount=5
busypattern=
callprogress=no
pulsedial=no
; both incoming outgoing no
faxdetect=both
answeronpolarityswitch=no
hanguponpolarityswitch=no
context=from-trunk-dahdi
;
#include chan_dahdi_fxo.conf
;
;
; for digital
;
signalling=pri_cpe
switchtype=euroisdn
nsf=none
pridialplan=national
prilocaldialplan=national
resetinterval=100000000
overlapdial=no
;inbanddisconnect=yes
; priindication = outofband
; priexclusive = yes
; pritimer => t200,1000
facilityenable = yes
restrictcid=no
;usecallingpres=yes
context=from-trunk-dahdi
;
#include chan_dahdi_digital.conf


[root at testa53 ~]# cat /etc/asterisk/chan_dahdi_fxo.conf
group=0
accountcode=0
channel=1

group=1
accountcode=1
channel=2 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-10 23:56 hoowa          Note Added: 0107611                          
======================================================================




More information about the asterisk-bugs mailing list