RCBFX8 - 0 channels detected

naughtyusmaximus
Posts: 31
Member Since:
2007-09-14

I'm having a really hard time getting my 8 port FXO card working in Trixbox 2.6. I'm using the 2.6 rpm from the rhino 'beta' ftp site, as well as the newest beta firmware for the card. dmesg shows the following output:

rcbfx 1: Waiting for response from card .........
rcbfx 1: Firmware Version 1.e
rcbfx 1: Firmware File Version is 1.e
rcbfx 1: Hardware version 10
rcbfx 1: G168 07 08 DSP Loader file size = 170 App file size = 48414
rcbfx 1: G168 DSP Ping DSP Version 106
rcbfx 1: G168 DSP Active and Servicing 8 Channels - ff
rcbfx 1: Starting DMA
rcbfx 1: Spotted a Rhino: Rhino RCB8FXX (4 modules)

Unfortunately, I can't seem to get past this step. Running ztcfg and setup-pstn don't seem to do anything, and the only output I can get is:

[trixbox1.localdomain ~]# ztcfg -vvv

Zaptel Version: 1.4.9.2
Echo Canceller: OSLEC
Configuration
======================

Channel map:

0 channels to configure.

Please if anyone has any ideas let me know!



jfinstrom
Posts: 2008
Member Since:
2007-03-07
This is because you haven't

This is because you haven't configured zaptel.conf and my guess is you probably havent configured zapata.conf.

zaptel.conf
http://voip-info.org/wiki/index.php?page=Asterisk+config+zaptel.c...

zapata.conf
http://voip-info.org/wiki/index.php?page=Asterisk+config+zapata.c...

--



naughtyusmaximus
Posts: 31
Member Since:
2007-09-14
Sorry, I wrote a huge reply,

Sorry, I wrote a huge reply, and my internet died so it didn't get through.

I am in Indonesia if it makes a difference. AFIK the tones here are the same as in the US though.

I'm currently just trying to get this thing to work, so I only have one of the PSTN lines connected.

From those docs, I believe my zaptel.conf should read:
loadzone=us
defaultzone=us
fxoks=1

It seems as though this is overwritten any time I run any of the config tools though. I've read through zapata.conf, and I think it should be ok with the defaults, is this wrong?



naughtyusmaximus
Posts: 31
Member Since:
2007-09-14
After running genzaptelconf

After running genzaptelconf and ztcfg, my zaptel.conf looks like this:

# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order

# Span 1: Rhino RCB8FXX/1 "Rhino RCB8FXX/1" (MASTER)
fxsks=1
fxsks=2
fxsks=3
fxsks=4
fxsks=5
fxsks=6
fxsks=7
fxsks=8

# Global data

loadzone = us
defaultzone = us



naughtyusmaximus
Posts: 31
Member Since:
2007-09-14
OK, I've updated to the

Ok, I edited the zaptel.conf file to show only the one line, and have not run any other config options after that, and it seems to work.

However, the line is very very noisy (and it isn't when just plugging a phone directly into the PSTN line that is now in the rhino card), what can I do to fix that?



naughtyusmaximus
Posts: 31
Member Since:
2007-09-14
Ok, sorry for all the posts,

Ok, sorry for all the posts, but I thought I should write out exactly what I did to get this working in case someone else has similar problems. Also, it turns out that the noise was just a bad line, so is not trixbox

*Assuming the latest firmware is already installed on the FXO
1: Install Trixbox 2.6.x
2: Install the Rhino RPM from: ftp://ftp.rhinoequipment.com/Drivers/Beta/RPMS/trixbox/CE/2.6/
2a: wget ftp://ftp.rhinoequipment.com/Drivers/Beta/RPMS/trixbox/CE/2.6/***...
2b: rpm -ivh rhinorpmname.rpm
3: amportal stop
4: modprobe rcbfx
5: check to see if the module detected the card
5a: dmesg | grep rcbfx
6: genzaptelconf
7: run zttool , the card should say 'OK'
8: edit /etc/zaptel.conf , comment out any of the FXOs that aren't in use. In my case I have an 8 port card and am only using one port on it for now.
9: reboot for good measure (shouldn't be needed AFIK)
10: Use as normal!

So it turns out that I was just messing myself up by reading too many guides with conflicting information when it turns out all I needed was these simple steps!



jfinstrom
Posts: 2008
Member Since:
2007-03-07
Unfortunately the world of

Unfortunately the world of open source is very fluid. The most up to date information on using our products is availible in our knowledge base at:
https://support.rhinoequipment.com
It is very difficult to clean up the internet especially when half the instructions out there belong to others. If you would like directions from the horses mouth the KB is it. In technology any post over a month old is probably well out of date.

--



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.