Mehmet Kuzulugil
2010-Sep-01 11:58 UTC
[asterisk-users] Freepbx + Asterisk problem - NEED HELP
Hello,
After installing on Ubuntu 10.04 using the tutorial on
http://hmontoliu.blogspot.com/2010/03/installing-asterisk-and-freepbx-on.html
I have a running instance of Asterisk.
PROBLEM: result of dahdi_cfg:
DAHDI Tools Version - 2.2.1
DAHDI Version: 2.2.1
Echo Canceller(s): MG2
Configuration
=====================
Channel map:
Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04)
4 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
Setting echocan for channel 4 to mg2
The problem is about asterisk CLI results:
asterisk*CLI> dahdi show status
Description Alarms IRQ bpviol CRC4
Fra Codi Options LBO
Wildcard TDM400P REV I Board 5 OK 0 0 0
CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1)
asterisk*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret
Blocked State
pseudo default
default In Service
-----------
INFO:
related lspci result:
07:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
related dahdi_hardware result:
pci:0000:07:00.0 wctdm+ e159:0001 Wildcard TDM400P REV I
One more thing:
root at asterisk:~# lsmod|grep dahdi
dahdi_echocan_mg2 5729 4
dahdi_transcode 6836 1 wctc4xxp
dahdi_voicebus 41854 2 wctdm24xxp,wcte12xp
dahdi 210885 12
dahdi_echocan_mg2,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp
crc_ccitt 1675 2 dahdi,hisax
it seems my dahdi/system.conf is ok.
# Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
fxsks=1
echocanceller=mg2,1
fxsks=2
echocanceller=mg2,2
fxoks=3
echocanceller=mg2,3
fxoks=4
echocanceller=mg2,4
# Global data
loadzone = tr
defaultzone = tr
And this is zapata.conf:
[channels]
language=en
; include zap extensions defined in AMP
#include zapata_additional.conf
; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
context=from-pstn
faxdetect=incoming
echotraining=800
group=0
busydetect=yes
busycount=4
hanguponpolarityswitch
relaxdtmf=yes
callprogress=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=2.0
txgain=2.0
immediate=yes
signalling=fxs_ks
channel=1-2
Is it anything related to COUNTRY?
Any advice?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20100901/04722fe0/attachment-0001.htm
Alex Ferrara
2010-Sep-01 12:10 UTC
[asterisk-users] Freepbx + Asterisk problem - NEED HELP
Hi there, Your problem is with the Tiger ISDN kernel module claiming the digium card. I have the following in /etc/modprobe.d/blacklist.conf blacklist hisax blacklist netjet blacklist isdn blacklist mISDN_core blacklist mISDN_ipac Once the netjet driver isn't claiming the card, the dahdi module will work as advertised. aF On 01/09/2010, at 9:58 PM, Mehmet Kuzulugil wrote:> Hello, > After installing on Ubuntu 10.04 using the tutorial on http://hmontoliu.blogspot.com/2010/03/installing-asterisk-and-freepbx-on.html > I have a running instance of Asterisk. > > PROBLEM: result of dahdi_cfg: > DAHDI Tools Version - 2.2.1 > > DAHDI Version: 2.2.1 > Echo Canceller(s): MG2 > Configuration > =====================> > > Channel map: > > Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01) > Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02) > Channel 03: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03) > Channel 04: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04) > > 4 channels to configure. > > Setting echocan for channel 1 to mg2 > Setting echocan for channel 2 to mg2 > Setting echocan for channel 3 to mg2 > Setting echocan for channel 4 to mg2 > > The problem is about asterisk CLI results: > asterisk*CLI> dahdi show status > Description Alarms IRQ bpviol CRC4 Fra Codi Options LBO > Wildcard TDM400P REV I Board 5 OK 0 0 0 CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1) > > asterisk*CLI> dahdi show channels > Chan Extension Context Language MOH Interpret Blocked State > pseudo default default In Service > > ----------- > INFO: > related lspci result: > 07:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface > > related dahdi_hardware result: > pci:0000:07:00.0 wctdm+ e159:0001 Wildcard TDM400P REV I > > One more thing: > root at asterisk:~# lsmod|grep dahdi > dahdi_echocan_mg2 5729 4 > dahdi_transcode 6836 1 wctc4xxp > dahdi_voicebus 41854 2 wctdm24xxp,wcte12xp > dahdi 210885 12 dahdi_echocan_mg2,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp > crc_ccitt 1675 2 dahdi,hisax > > it seems my dahdi/system.conf is ok. > # Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER) > fxsks=1 > echocanceller=mg2,1 > fxsks=2 > echocanceller=mg2,2 > fxoks=3 > echocanceller=mg2,3 > fxoks=4 > echocanceller=mg2,4 > > # Global data > > loadzone = tr > defaultzone = tr > > And this is zapata.conf: > [channels] > language=en > > ; include zap extensions defined in AMP > #include zapata_additional.conf > > ; XTDM20B Port #1,2 plugged into PSTN > ;AMPLABEL:Channel %c - Button %n > context=from-pstn > faxdetect=incoming > echotraining=800 > group=0 > busydetect=yes > busycount=4 > hanguponpolarityswitch > relaxdtmf=yes > callprogress=yes > callwaiting=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > usecallerid=yes > echocancel=yes > echocancelwhenbridged=yes > rxgain=2.0 > txgain=2.0 > immediate=yes > signalling=fxs_ks > channel=1-2 > > > > > Is it anything related to COUNTRY? > > Any advice? > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Tzafrir Cohen
2010-Sep-01 12:41 UTC
[asterisk-users] Freepbx + Asterisk problem - NEED HELP
On Wed, Sep 01, 2010 at 02:58:59PM +0300, Mehmet Kuzulugil wrote:> Hello, > After installing on Ubuntu 10.04 using the tutorial on > http://hmontoliu.blogspot.com/2010/03/installing-asterisk-and-freepbx-on.html > I have a running instance of Asterisk. > > PROBLEM: result of dahdi_cfg: > DAHDI Tools Version - 2.2.1How nice. Why don't you use the latest? 2.3.0[.1]? (2.4.0 should be released shortly, but that's not really something users are expected to guess).> > DAHDI Version: 2.2.1 > Echo Canceller(s): MG2 > Configuration > =====================> > > Channel map: > > Channel 01: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 01) > Channel 02: FXS Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 02) > Channel 03: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 03) > Channel 04: FXO Kewlstart (Default) (Echo Canceler: mg2) (Slaves: 04) > > 4 channels to configure. > > Setting echocan for channel 1 to mg2 > Setting echocan for channel 2 to mg2 > Setting echocan for channel 3 to mg2 > Setting echocan for channel 4 to mg2 > > The problem is about asterisk CLI results: > asterisk*CLI> dahdi show status > Description Alarms IRQ bpviol CRC4 > Fra Codi Options LBO > Wildcard TDM400P REV I Board 5 OK 0 0 0 > CAS Unk YEL 0 db (CSU)/0-133 feet (DSX-1) > > asterisk*CLI> dahdi show channels > Chan Extension Context Language MOH Interpret > Blocked State > pseudo default default > In ServiceWhat's the output of lsdahdi ? This suggests a misconfigured /etc/dahdi/chan_dahdi.conf or one of its> > ----------- > INFO: > related lspci result: > 07:00.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN > interface > > related dahdi_hardware result: > pci:0000:07:00.0 wctdm+ e159:0001 Wildcard TDM400P REV I > > One more thing: > root at asterisk:~# lsmod|grep dahdi > dahdi_echocan_mg2 5729 4 > dahdi_transcode 6836 1 wctc4xxp > dahdi_voicebus 41854 2 wctdm24xxp,wcte12xp > dahdi 210885 12 > dahdi_echocan_mg2,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp > crc_ccitt 1675 2 dahdi,hisaxHaveing just 'wctdm' in /etc/dahdi/modules would save you a second or two on loading (and a bunch of log messages).> > it seems my dahdi/system.conf is ok. > # Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER) > fxsks=1 > echocanceller=mg2,1 > fxsks=2 > echocanceller=mg2,2 > fxoks=3 > echocanceller=mg2,3 > fxoks=4 > echocanceller=mg2,4 > > # Global data > > loadzone = tr > defaultzone = tr > > And this is zapata.conf:zapata.conf is ignored for asterisk >= 1.6.0 . Please tell me you don't use 1.4.x .> [channels] > language=en > > ; include zap extensions defined in AMP > #include zapata_additional.conf > > ; XTDM20B Port #1,2 plugged into PSTN > ;AMPLABEL:Channel %c - Button %n > context=from-pstn > faxdetect=incoming > echotraining=800 > group=0 > busydetect=yes > busycount=4 > hanguponpolarityswitch > relaxdtmf=yes > callprogress=yes > callwaiting=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > usecallerid=yes > echocancel=yes > echocancelwhenbridged=yes > rxgain=2.0 > txgain=2.0 > immediate=yes > signalling=fxs_ks > channel=1-2-- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir