Hi there,
I installed Elastix 1.6 with a Sangoma A400 12FXO 12FXS card, now I have problem dial out from FXO port. I installed DAHDI, wanpipe, trunks etc., I can dial in from the PSTN number and route to my IVR no problem, I can dial out from other Trunks, but I just can’t dial out through the FXO trunks. I think the routing is ok: from the CLI> I do see DAHDI/3-1 answered, which DAHDI/3 is my first FXO port in Group 0 – see below:
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/3361-b00a8990", "DAHDI/g0/512XXXX|300|") in new stack
-- Called g0/512XXXX
-- DAHDI/3-1 answered SIP/3361-b00a8990
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/3361-b00a8990", "hangupcall|") in new stack
but I didn’t hear anything after I dialed, the other party didn’t hear ring, and after around 15 sec, it just hangup. I have tried to add area code, I got same result. Here is part of the configuration files:
CLI>DAHDI show channels:
Chan Extension Context Language MOH Interpret
pseudo default default
1 from-internal default
2 from-internal default
3 from-zaptel default
4 from-zaptel default
5 from-zaptel default
and chan_dahdi.conf:
[trunkgroups]
[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;Sangoma AFT-A400 [slot:4 bus:14 span:1]
context=from-internal
group=1
echocancel=yes
faxdetect=incoming
signalling = fxo_ks
channel => 1
context=from-internal
group=1
echocancel=yes
faxdetect=incoming
signalling = fxo_ks
channel => 2
context=from-zaptel
group=0
echocancel=yes
faxdetect=incoming
signalling = fxs_ks
channel => 3
context=from-zaptel
group=0
echocancel=yes
faxdetect=incoming
signalling = fxs_ks
channel => 4
context=from-zaptel
group=0
echocancel=yes
faxdetect=incoming
signalling = fxs_ks
channel => 5
and dahdi-channels.conf:
; Span 1: WRTDM/0 “wrtdm Board 1” (MASTER)
;;; line="1 WRTDM/0/0 FXOKS (In use) (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 1” <4001> ---- I don’t know where 4001 comes from
mailbox=4001
group=5
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default
;;; line="2 WRTDM/0/1 FXOKS (In use) (SWEC: MG2)"
signalling=fxo_ks
callerid=“Channel 2” <4002>
mailbox=4002
group=5
context=from-internal
channel => 2
callerid=
mailbox=
group=
context=default
;;; line="3 WRTDM/0/2 FXSKS (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default
;;; line="4 WRTDM/0/3 FXSKS (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 4
callerid=
group=
context=default
;;; line="5 WRTDM/0/4 FXSKS (In use) (SWEC: MG2)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 5
callerid=
group=
context=default
and /etc/dahdi/system.conf:
Span 1: WRTDM/0 “wrtdm Board 1” (MASTER)
fxoks=1
echocanceller=oslec,1
fxoks=2
echocanceller=oslec,2
fxsks=3
echocanceller=oslec,3
fxsks=4
echocanceller=oslec,4
fxsks=5
echocanceller=oslec,5
it was echocanceller=mg2,3 before I ran dahdi_genconf, but the results were all the same.
Anyone please help. Thanks a lot.
Fred