How to install Xorcom astribank?

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#1
I have installed elastix 2.0 on my hp server, and it is working fine. And I want to connect xorcom astribank to my hp server (USB FXS) for analogue phone.

When I did 'lsusb', it showed Astribank 2. But if I dis 'service dahdi restart', my server did not detect Astribank.

[root@voip ~]# lsusb
Bus 001 Device 005: ID e4e4:1161 Xorcom Ltd. Astribank 2 series
Bus 001 Device 001: ID 0000:0000
[root@voip ~]#

Astribanks initialization is starting
Astribanks detection ..........TIMEOUT

Can anyone help me ?

Thanks
 

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#2
With lsusb e4e4:1161 means that the astribank firmware isn't loaded.
When the firmware is loaded it will changed to e4e4:1162.
See if you can load the firmware manually:
/usr/share/dahdi/xpp_fxloader usb
/etc/init.d/dahdi restart

If it does it is likely you have the Asterisk/Dahdi bundle that has the bug that prevents the firmware from loading. Try doing a yum update to change the asterisk/dahdi bundle.


ELASTIX ASTERISK 1.4.33.1 INCOMPATIBILITY ISSUES SOLVED

We are happy to announce that the Elastix Asterisk 1.4.33.1 DAHDI related issues that we reported recently have been solved by Elastix engineers. The users who
ran into the problem described in our earlier technical support alert http://www.xorcom.com/alerts/elastix-in ... ility.html should simply update their DAHDI packages
to the latest version available in the Elastix repository.
 

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#3
Thanks.

I have tried but it still not not success, please check below error.

[root@voip ~]# /usr/share/dahdi/xpp_fxloader usb
'xpp_fxloader'[12702]: --------- FIRMWARE LOADING: (usb) [1 devices]
Got all 1 devices
'xpp_fxloader'[12731]: --------- FIRMWARE IS LOADED
[root@voip ~]# service dahdi restart
Unloading DAHDI hardware modules: ERROR: Module wctdm24xxp is in use
ERROR: Module wctdm24xxp is in use
ERROR: Module dahdi_voicebus is in use by wctdm24xxp
ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module dahdi is in use by dahdi_echocan_oslec,wctdm24xxp,dahdi_voicebus
ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module echo is in use by dahdi_echocan_oslec
error
Loading DAHDI hardware modules:
wctdm24xxp: [ OK ]
xpp_usb: [ OK ]

Astribanks initialization is starting
Astribanks detection ..........TIMEOUT
Running dahdi_cfg: [ OK ]
[root@voip ~]#

I also did 'yum update', after updating, it still have the same problem.

Please advise.




















website clone script
 

tzafrir

Joined
Aug 15, 2010
Messages
1
Likes
0
Points
0
#4
What is the output of:

dahdi_hardware -v
rpm -q dahdi

The command '/usr/share/dahdi/xpp_fxloader usb' will not load the FPGA firmware. In this case the USB firmware is already loaded, and thus it will not trigger loading through hotplug. Try:

/usr/share/dahdi/xpp_fxloader load
 

lfain

Joined
May 11, 2008
Messages
22
Likes
0
Points
0
#5
Hi,
1. Define
XPP_UDEV_SLEEP_TIME=2

in the /etc/dahdi/init.conf

2. Run
/usr/share/dahdi/xpp_fxloader reset

If it doesn't help then please post output of lspci

Best regards,
Leonid Fainshtein
Xorcom Ltd
 

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#6
It is not help.

[root@voip ~]# /usr/share/dahdi/xpp_fxloader load
'xpp_fxloader'[4959]: --------- FIRMWARE LOADING: (load) [1 devices]
Got all 1 devices
INFO: usb:001/008: ID=E4E4:1161 [Xorcom LTD / Astribank / X1037098]
INFO: Loading hexfile to FPGA: /usr/share/dahdi/FPGA_1161.hex (version 7276)
astribank_usb.c:395: ERROR(send_usb): bulk_write to endpoint 0x4 failed: (-110) No error
send_usb[ERR] : 0C 00 01 00 05 01 37 32 37 36 00 32
'xpp_fxloader'[5009]: /usr/sbin/astribank_hexload failed with status 2
[root@voip ~]# /usr/share/dahdi/xpp_fxloader reset
astribank_usb.c:395: ERROR(send_usb): bulk_write to endpoint 0x4 failed: (-110) No error
send_usb[ERR] : 07 00 01 00 01 14 26
'xpp_fxloader'[5041]: /usr/sbin/astribank_tool failed with status 2
[root@voip ~]# lspci
00:00.0 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset) (rev 33)
00:00.1 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
00:00.2 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
00:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:04.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 01)
00:04.2 System peripheral: Compaq Computer Corporation Integrated Lights Out Processor (rev 01)
00:0f.0 ISA bridge: Broadcom CSB5 South Bridge (rev 93)
00:0f.1 IDE interface: Broadcom CSB5 IDE Controller (rev 93)
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05)
00:0f.3 Host bridge: Broadcom CSB5 LPC bridge
00:10.0 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
00:10.2 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
00:11.0 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
00:11.2 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
01:03.0 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
01:03.1 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
01:04.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet (rev 02)
02:01.0 Ethernet controller: Digium, Inc. Wildcard TDM800P 8-port analog card (rev 11)
0a:02.0 RAID bus controller: Compaq Computer Corporation Smart Array 64xx (rev 01)
[root@voip ~]# dahdi_hardware -v
Failed running '/usr/sbin/astribank_tool': at /usr/lib/perl5/site_perl/5.8.8/Dahdi/Xpp/Mpp.pm line 181.
usb:001/008 xpp_usb- e4e4:1161 Astribank-modular USB-firmware
pci:0000:02:01.0 wctdm24xxp+ d161:0800 Wildcard TDM800P
[root@voip ~]# rpm -q dahdi
dahdi-2.3.0.1-3
[root@voip ~]#

Thanks

auction cms
 

lfain

Joined
May 11, 2008
Messages
22
Likes
0
Points
0
#7
According to lspci your server doesn't have USB 2.0 interface. There is OHCI controller that provides USB 1.1 only:

00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05)

This is the reason why Astribank doesn't work.

Best regards,
Leonid
 

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#8
Thats a good catch; I don't think I'd have caught that!
I had to look up how to tell from lspci if it had 1.1/2.0 usb ports
1.1 shows OHCI or UHCI and 2.0 shows EHCI.
So I imagine that he could get a USB2.0 card that works with Linux
(most do) and be fine?
JD
 

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#9
I think the other way to tell is by looking in /proc/bus/usb/devices and look at the version of the controller (2.0).

JD
 

lfain

Joined
May 11, 2008
Messages
22
Likes
0
Points
0
#10
In /proc/bus/usb/devices you will see the connected devices. So if a USB2 device is connected to the computer you will see Ver=2 for that device. But it doesn't mean that the controller supports 2.0
 

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#11
my server only support USB1
 

lfain

Joined
May 11, 2008
Messages
22
Likes
0
Points
0
#12
Astribank requires USB2. You can try to install USB 2.0 PCI card in your computer.
 

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#13
I can not find USB 2 PCI card to support my server, hp prolaint ML370 G3. Do you have any idea to xorcom astribank to support USB 1?

Thanks
 

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#14
I have found below article of how to enable USB1 to work with Astribanks. but I don't how to do:

http://docs.tzafrir.org.il/dahdi-linux/ ... lsusb_test

usb1 (xpp_usb)
Enable (1) or disable (0) support of USB1 devices. Disabled by default.

USB1 devices are not well-tested. It seems that they don't work at all
for Astribank BRI. Generally they should work with the current code, but
we expect the voice quality issues. Hence we would like to make it
very clear that you if you have a USB1 port (rather than a USB2 one, as
recommended) you will have to take an action to enable the device.



Can you help?

Thanks
 

lfain

Joined
May 11, 2008
Messages
22
Likes
0
Points
0
#15
You can try to define

options xpp_usb usb1=1

in the /etc/modprobe.d/xpp.conf (The file doesn't exist therefore you have to create it)

In my opinion you waste the time. Are you sure that there is no a USB PCI card that you can install? Or, probably, do you have no a free PCI slot?
 

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#16
oh, no. I still have two PCI slots available.
I have asked my vendor, but they said that my server's model, hp prolaint ML370 G3 is very old, and there is no USB2 PCI card support because the factory is no longer to produce.

anyway, do you know any other possibility?
 

lfain

Joined
May 11, 2008
Messages
22
Likes
0
Points
0
#17
I suggest you to go to the nearest computer store and buy a USB2 PCI card.
 

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#18
Thanks for your advice.

I will try to find one.
 

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#19
I concur with the other person; just go buy a PCI card (make sure it's PCI and not PCI Express). With some servers (1U/2U) you might need a PCI adapter to orient the card sideways. Alternately servers with sufficient power and USB2 are cheap. One place I buy from periodically is andovercg.com that sells re-furbished servers from failed/downsized companies.
JD
 

elastixer

Joined
Aug 13, 2010
Messages
15
Likes
0
Points
0
#20
Hi,
It is really amazing, now I found pci card to USB2. When I did ' and dahdi-hardware -v, lsusb and service dahdi restart' it showed:

[root@voip ~]# dahdi_hardware -v
Failed running '/usr/sbin/astribank_tool': at /usr/lib/perl5/site_perl/5.8.8/Dahdi/Xpp/Mpp.pm line 181.
usb:001/002 xpp_usb+ e4e4:1162 Astribank-modular FPGA-firmware
LABEL=[usb] CONNECTOR=@usb-0000:0a:01.2-3
pci:0000:02:01.0 wctdm24xxp+ d161:0800 Wildcard TDM800P
[root@voip ~]# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID e4e4:1162 Xorcom Ltd. Astribank 2 series
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
[root@voip ~]#
[root@voip ~]# service dahdi restart
Unloading DAHDI hardware modules: ERROR: Module wctdm24xxp is in use
ERROR: Module wctdm24xxp is in use
ERROR: Module dahdi_voicebus is in use by wctdm24xxp
ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module dahdi is in use by dahdi_echocan_oslec,wctdm24xxp,dahdi_voicebus
ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module echo is in use by dahdi_echocan_oslec
error
Loading DAHDI hardware modules:
wct4xxp: [ OK ]
opvxd115: [ OK ]
wcte12xp: [ OK ]
wct1xxp: [ OK ]
wcte11xp: [ OK ]
wctdm24xxp: [ OK ]
wcfxo: [ OK ]
wctdm: [ OK ]
wcb4xxp: [ OK ]
wctc4xxp: [ OK ]
xpp_usb: [ OK ]
opvxa1200: [ OK ]
ystdm8xx: [ OK ]
ystdm16xx: [ OK ]
ap400: [ OK ]
dahdi_dynamic_eth: [ OK ]
dahdi_dynamic_ethmf: [ OK ]
ax1600p: [ OK ]
zaphfc: [ OK ]
wcopenpci: [ OK ]
rxt1: DAHDI Tools Version - 2.3.0

DAHDI Version: 2.3.0.1
Echo Canceller(s): OSLEC
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 08)

8 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec
Setting echocan for channel 5 to oslec
Setting echocan for channel 6 to oslec
Setting echocan for channel 7 to oslec
Setting echocan for channel 8 to oslec
[ OK ]
r1t1: DAHDI Tools Version - 2.3.0

DAHDI Version: 2.3.0.1
Echo Canceller(s): OSLEC
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 08)

8 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec
Setting echocan for channel 5 to oslec
Setting echocan for channel 6 to oslec
Setting echocan for channel 7 to oslec
Setting echocan for channel 8 to oslec
[ OK ]
rcbfx: DAHDI Tools Version - 2.3.0

DAHDI Version: 2.3.0.1
Echo Canceller(s): OSLEC
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Echo Canceler: oslec) (Slaves: 08)

8 channels to configure.

Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
Setting echocan for channel 4 to oslec
Setting echocan for channel 5 to oslec
Setting echocan for channel 6 to oslec
Setting echocan for channel 7 to oslec
Setting echocan for channel 8 to oslec
[ OK ]

Astribanks initialization is starting
Astribanks detection
Astribanks initializing spans
XPDS_READY: XBUS-00: 0/0
Astribanks initialization is done
Running dahdi_cfg: [ OK ]
[root@voip ~]#

How can I auto configure zap channel?

Thanks.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,565
Latest member
omarmenichetti
Top