problem with Rhino R4FXO VOIP Card Can not initialize the trunk

rbagga21
Posts: 11
Member Since:
2008-04-15

i am a new user of trixbox
I have installed a RHINO R4FXO VOIP card. I am using trixbox V2.6. the card has already been detected by the trixbox during new installation and we can also see that card in the hardware list but we can not see any trunk in the panel section.
We can see a trunk ZAP/go in trunk section but can not see in the PANEL section.
what could be the problem behind that. can anybody help me with that.

Thanks
Raj

--

Rajesh



jfinstrom
Posts: 1031
Member Since:
2007-03-07
can you post the output

can you post the output of:

cat /proc/zaptel/*



rbagga21
Posts: 11
Member Since:
2008-04-15
I have got this reply

First of all thanks James
thanks for your reply

I gave got this reply

eth0: http://192.168.2.136

For help on trixbox commands you can use from this
command shell type help-trixbox.

[trixbox1.localdomain ~]# cat /proc/zaptel/*
Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: RTC) 1"

[trixbox1.localdomain ~]#

am I right in doing so or is that what you are asking for. please let me know thanks
Raj

--

Rajesh



jfinstrom
Posts: 1031
Member Since:
2007-03-07
It appears the card is not

It appears the card is not loaded.

Try the following commands:

yum -y install rhino-util
setup-rhino
--------------------
Go into /etc/sysconfig/zaptel:
nano -w /etc/sysconfig/zaptel

Uncomment the line MODULES="$MODULES rcbfx"
Ctrl+x to quit
Answer Yes to save
Press ENTER at the file name.
-------------------
modprobe rcbfx
genzaptelconf
ztcfg -vvv
amportal stop
amportal start



rbagga21
Posts: 11
Member Since:
2008-04-15
I think i have some problem with the installation of drivers

Hello James

I have got this message

trixbox - HELP

Commands Descriptions
---------------------------------------------------------------------
config set the local time zone and keyboard type
netconfig configure ethernet interface
passwd-maint set master password for web GUI
passwd set root password for console login
setup-cisco create a SIPDefault.cnf in /tftpboot
setup-aastra create a aastra.cfg in /tftpboot
setup-grandstream setup for autoconfiguration of Grandstream
setup-linksys setup for configuration of Linksys phones
setup-polycom setup for polycom phones
setup-snom setup for snom phones
setup-dhcp set up a dhcp server
setup-samba set up a Samba server (Microsoft file sharing)
setup-mail configure sendmail
setup-pstn detect and setup supported PSTN interface cards
asterisk -r Asterisk CLI

[trixbox1.localdomain ~]# setup-pstn

--------------------------------------------------------------
Detecting PSTN cards
--------------------------------------------------------------

ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 13: Unable to register tone zone 'us'

STOPPING ASTERISK

Disconnected from Asterisk server
Asterisk Stopped

STOPPING FOP SERVER
FOP Server Stopped
ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 13: Unable to register tone zone 'us'
Unloading zaptel hardware drivers:.
Loading zaptel framework: [ OK ]
Waiting for zap to come online...OK
Loading zaptel hardware modules: tor2.
wct4xxp.
wcte12xp.
wct1xxp.
wcte11xp.
wctdm24xxp.
wcfxo.
wctdm.
wcusb.
xpp_usb.
No functioning zap hardware found in /proc/zaptel, loading ztdummy
Running ztcfg: ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 13: Unable to register tone zone 'us'
[ OK ]

Checking for zapata-auto.conf
Creating symlink for zapata-auto.conf
ln: creating symbolic link `/etc/asterisk/zapata-auto.conf' to `/etc/asterisk/zapata-channels.conf': File exists

SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk Started

STARTING FOP SERVER
FOP Server Started
Chan Extension Context Language MOH Interpret
pseudo from-zaptel en default

This shows that there is no Zap Hardware present but trixbox built in Hardware infromation shows that it has

"Network controller: Rhino Equiment Corp. RCB4FXO 4-channel FXO analog telphony card"

what does this mean. Can you help me with that

thanks
Raj

--

Rajesh



rbagga21
Posts: 11
Member Since:
2008-04-15
I got this reply from nano -w /etc/sysconfig/zaptel

Hello James

I got this reply from the nano command
which module is for me to unmessage

************
TELEPHONY=yes
# DEBUG: Pass debug=1 to modules you load.
# May break xpp_usb.
#DEBUG=yes
#
#Alternatively set: options zaptel debug=1
#in /etc/modprobe.d/zaptel or /etc/modprobe.conf.
#
# ZTCFG: The full path to ztcfg. default: /sbin/ztcfg .
#ZTCFG=/usr/local/sbin/ztcfg
#
# ZTCFG_CMD: allow adding extra parameters to the ztcfg command.
# May be handy for -v, but mostly for:
#ZTCFG_CMD=/sbin/ztcfg -c /home/tzafrir/myzaptel.conf
#
# XPP_SYNC: Can be used to set an explicit Astribank unit as the
# synchronizing Astribank. Passed to xpp_sync(8) .
# Default is 'auto' and is almost always a good choice.
#XPP_SYNC=01

# Un-comment as per your requirements; modules to load/unload
#Module Name Hardware
MODULES="$MODULES tor2" # T400P - Quad Span T1 Card
# E400P - Quad Span E1 Card

MODULES="$MODULES wct4xxp" # TE405P - Quad Span T1/E1 Card (5v version)
# TE410P - Quad Span T1/E1 Card (3.3v version)
#wct4xxp_ARGS="t1e1override=15" # Additional parameters for TE4xxP driver
# or use /etc/modprobe.d/zaptel or /etc/modprobe.conf .

MODULES="$MODULES wcte12xp" # TE120P - Single Span T1/E1 Card

MODULES="$MODULES wct1xxp" # T100P - Single Span T1 Card
# E100P - Single Span E1 Card

MODULES="$MODULES wcte11xp" # TE110P - Single Span T1/E1 Card

MODULES="$MODULES wctdm24xxp" # TDM2400P - Modular FXS/FXO interface (1-24 ports)

MODULES="$MODULES wcfxo" # X100P - Single port FXO interface
# X101P - Single port FXO interface

[ Read 73 lines ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

***************

Please let me know

thanks
Raj

--

Rajesh



jfinstrom
Posts: 1031
Member Since:
2007-03-07
Either you haven't scrolled

Either you haven't scrolled down far enough or the rpm isn't installed...

There should be a line at the bottom that says MODULES="$MODULES rcbfx"



rbagga21
Posts: 11
Member Since:
2008-04-15
I think the rhino rpm is not getting installed

Hello James
thanks for your support

I tried that after we

setup-rhino

I am getting this response

[trixbox1.localdomain ~]# setup-rhino
/usr/local/sbin/setup-rhino: line 60: [: 2549: unary operator expected
ERROR: Module r1t1 does not exist in /proc/modules
ERROR: Module rxt1 does not exist in /proc/modules
Loading "installonlyn" plugin
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package rhino-2.6.18-53.1.4.el5.i386 0:2.2.5.4-2 set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
rhino-2.6.18-53.1.4.el5 i386 2.2.5.4-2 installed 2.4 M

Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 1 Package(s)

Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Removing : rhino-2.6.18-53.1.4.el5 ######################### [1/1]

Removed: rhino-2.6.18-53.1.4.el5.i386 0:2.2.5.4-2
Complete!
--20:51:11-- http://dist.rhinoequipment.com/2.6.18-53.1.4.el5/1.4.7/
Resolving dist.rhinoequipment.com... 74.54.1.27
Connecting to dist.rhinoequipment.com|74.54.1.27|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://ftp.rhinoequipment.com/Drivers/RPMS/trixbox/CE/2.4/rhino-2... [following]
--20:51:16-- http://ftp.rhinoequipment.com/Drivers/RPMS/trixbox/CE/2.4/rhino-2...
Resolving ftp.rhinoequipment.com... 74.54.1.27
Connecting to ftp.rhinoequipment.com|74.54.1.27|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1015282 (991K) [text/plain]
Saving to: `rhino-2.6.18-53.1.4.el5-1.4.7.rpm'

100%[====================================================================================>] 1,015,282 87.6K/s in 11s

20:51:27 (87.0 KB/s) - `rhino-2.6.18-53.1.4.el5-1.4.7.rpm' saved [1015282/1015282]

Preparing... ########################################### [100%]
1:rhino-2.6.18-53.1.4.el5########################################### [100%]
ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 13: Unable to register tone zone 'us'
ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 13: Unable to register tone zone 'us'
ioctl(ZT_LOADZONE) failed: Invalid argument
Notice: Configuration file is /etc/zaptel.conf
line 13: Unable to register tone zone 'us'
Rhino has installed the appropriate RPM for your system
You shoulld be able to run setup-pstn and restart asterisk
You can see the channel assignments by running cat /proc/zaptel/*
If you have an analog/digital mixed enviroment you will want to load the modules
from /etc/rc.local. If you have analog only you can simply uncomment the rcbfx line
in /etc/sysconfig/zaptel to ensure the module loads at boot.
You can adjust module parameters in /etc/modprobe.conf or on CENTOS5 systems
/etc/modprobe.d/modprobe.rhino
Thank you for choosing Rhino Equipment

from this I think that rhino rpm is not getting installed due to some reason. it is getting removed. thats why we are not getting the required module in the list.

what can i do to resolve this could you please help me for that.

thanks
Rajesh

--

Rajesh



rbagga21
Posts: 11
Member Since:
2008-04-15
Cannot get the required modules in the list

Hello James
Can you please help me regarding this issue.

with thanks
Rajesh

--

Rajesh



jfinstrom
Posts: 1031
Member Since:
2007-03-07
yum update zaptel-modules

yum update zaptel-modules



rbagga21
Posts: 11
Member Since:
2008-04-15
TRUNKS ARE WORKING

Hello James

trunks are working now I was just to do one extra thing with all you told me to do and that was to change the context to "from pstn" instead of "from zaptel" in the file

/etc/zaptel.conf

thanks for your help

you made my day

have a nice day
thanks
Rajesh

--

Rajesh



Comment viewing options

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