[asterisk-users] DAHDI - PSTN line always busy

Vito Corleoni vitocorleoni at gmail.com
Sun Sep 20 09:35:12 CDT 2009


Hello

 

I have a TDM410 card (3FXO+1FXS), the card is installed, but it's not
working, whenever I start DAHDI the PSTN line always stay BUSY, and the card
light is Blue on all of the 4 ports, and any one call the number will get
the busy tone.

 

If I stop DAHDI the PSTN line become available and my friend can call but
asterisk will not answer because DAHDI is stopped.

 

I thought the problem is in the signaling that I am using for the FXO port,
I've tried fxs_ks, fxs_ls & fxs_gs none of them solved my problem.

 

Here is my configuration if anyone can help (note I am in Saudi Arabia not
usa).

 

 

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

/etc/asterisk/chan_dahdi.conf

[trunkgroups]

[channels]

language=en

switchtype=national

rxwink=300

usecallerid=yes

cidsignalling=dtmf

callerid=asreceived

hidecallerid=no

callwaiting=yes

usecallingpres=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

canpark=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=no

echotraining=128

rxgain=5.0

txgain=2.0

immediate=no

relaxdtmf=yes

;busydetect=yes

;hanguponpolarityswitch=yes

 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;

; Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER) 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;

;;; line="1 WCTDM/0/0 FXSKS  (In use) (SWEC: MG2)"

group=1

context=from-zaptel

channel => 1

signalling=fxs_ks

 

;;; line="2 WCTDM/0/1 FXSKS  (In use) (SWEC: MG2)"

group=2

context=from-zaptel

channel => 2

signalling=fxs_ks

 

 

;;; line="3 WCTDM/0/2 FXSKS  (In use) (SWEC: MG2)"

group=3

context=from-zaptel

channel => 3

signalling=fxs_ks

 

;;; line="4 WCTDM/0/3 FXOKS  (In use) (SWEC: MG2)"

group=4

context=from-internal

channel => 4

signalling=fxo_ks

callerid="Channel 4" <4004>

mailbox=4004

 

;#include dahdi-channels.conf

;#include chan_dahdi_additional.conf

 

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

/etc/dahdi/system.conf

# Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER) 

fxsks=1

echocanceller=mg2,1

fxsks=2

echocanceller=mg2,2

fxsks=3

echocanceller=mg2,3

fxoks=4

echocanceller=mg2,4

 

# Global data

loadzone        = fi

defaultzone     = fi

=============================================================
note: I have set (loadzone & defaultzone) to fi (Finland) , I am in Saudi
Arabia, but Finland TONE settings is the closest  settings for my country
and unfortunately I cannot set it to sa (sa is not defined in zones.c).

 

 

 

INTERNATIONAL TELECOMMUNICATION UNION 

Saudi Arabia (Kingdom of)                       FREQUENCY in Hz
CADENCE in seconds 

 Busy tone -                                           425
0.5 on 0.5 off 

 Congestion tone -                                  425
0.25 on 0.25 off 

 Conference tone -                                  425
0.5 on 2.0 off 0.5 on 15.0 off 

 Dial tone -                                             425
continuous 

 Payphone recognition tone -                    1600/1200
0.2 on 0.2 off 0.2 on 4.0 off 

 Ringing tone -                                        425
1.2 on 4.6 off 

 Call waiting tone -                                  425
0.15 on 0.2 off 0.15 on 10.0 off

 

Thank you for your help.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090920/7fbddfc0/attachment.htm 


More information about the asterisk-users mailing list