No incomming and outgoing calls

netvision
Posts: 97
Member Since:
2007-01-11

I installed a rhino RCB8Fxx/1 card in to a fress installed trixbox 2.6

Configure the card using the following commands:
amportal stop
yum -y install rhino-util
setup-rhino
genzaptelcnf
ztcfg -vvvv
amportal start

I got a error saying genzaptelcnf
-bash: genzaptelcnf: command not found

After that I manually configure the zaptel.conf and uncomment rcbfx in /etc/sysconfig/zaptel. and zapata-auto.conf

Running command cat /proc/zaptel/* i get the following response.

Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: RTC) 1" (MASTER)

Span 2: Rhino RCB8FXX/1 "Rhino RCB8FXX/1"

1 FXO/1/0 FXSKS (In use)
2 FXO/1/1 FXSKS (In use)
3 FXO/1/2 FXSKS (In use)
4 FXO/1/3 FXSKS (In use)
5 ---/1/4
6 ---/1/5
7 ---/1/6
8 ---/1/7

going into asterisk command line an running "zap show channels" I get a error command not found.
I temporally replace this card with a grand stream 4 port FXO just to be able to keep going but would like to know what I'm doing wrong. Becouse I do not get any incoming c.q. outgoing call when using the Rhino board.

----------Zaptel.conf-----------------
# Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: RTC) 1" (MASTER)
# Span 2: Rhino RCB8FXX/1 "Rhino RCB8FXX/1"
fxsks=1
fxsks=2
fxsks=3
fxsks=4

# Global data
loadzone = us
defaultzone= us

------------Zapata.conf-----------------
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=no
echocancelwhenbridged=no
;echotraining=800
rxgain=5.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

-------------------zapata-auto.conf---------------------------------

; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: ZTDUMMY/1 "ZTDUMMY/1 (source: RTC) 1" (MASTER)

; Span 2: Rhino RCB8FXX/1 "Rhino RCB8FXX/1"
;;; line="1 FXO/1/0 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
context=default

;;; line="2 FXO/1/1 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 2
context=default

;;; line="3 FXO/1/2 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 3
context=default

;;; line="4 FXO/1/3 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 4
context=default



cvander
Posts: 637
Member Since:
2006-06-26
Can you post the output of

Can you post the output of cat /proc/interrupt with the rhino card installed? Also, I'd recommend you look at my earlier post HERE. There is a script that will modify setup-pstn to configure your channels for you.

So.
1. Install the card
2. amportal stop
3. setup-rhino
4. run the script in the link
5. setup-pstn

that should be it.

-Chris



netvision
Posts: 97
Member Since:
2007-01-11
correct way to install rhino card?

Hi Cris thanks for the info, I did saw your post but I wanted to be sure and asked rhino support to get their official comment on how to install the rhino card. But your script seems to fix the problem. I now get to see some channels when I run zap show channels in asterisk cli. Tomorrow I will connect one pstn line back on to the rhino board and do some test.



cvander
Posts: 637
Member Since:
2006-06-26
Netvision, I'm glad to hear

Netvision,

I'm glad to hear that my script seems to fix your issues. There is a manual command on which this script was created (actually in the same thread linked to above) that was given out by James Finstrom (Rhino's designated community contact member). That said, my script does not guarantee a working result. Please let us know how your situation turns out. Perhaps we can get Rhino to tuck my script into the setup-rhino routine to make it truly a two command setup. (setup-rhino, setup-pstn).

-Chris



netvision
Posts: 97
Member Since:
2007-01-11
It seems to work fine altho

It seems to work fine altho this morning the costumer called me and told me that they can not call local numebrs. I think this is a PSTN problem becouse using a grandstrean FXO gateway gives the same problem.

If james is reading this, James the only thing I want to have is a goog installation instruction. The problem I experience was that running setup-pstn makes a mess of the rhino installation and the only way I got it back to work is to do the fix-setup-pstn

Regards,



cvander
Posts: 637
Member Since:
2006-06-26
Netvision, If you follow the

Netvision,

If you follow the other thread, you'll see that it's really an issue with the modules not being included in the genzaptelconf file. That script is produced and maintained by someone else. The only thing that setup-pstn does is call that script with a couple of parameters. You'll notice that although I call my script fix-setup-pstn.sh, it really fixes (modifies) genzaptelconf. You can also see here, that this has been an issue for a while. If you continue to have issues with dial-out, just let us know (or start another thread in the help forum). I'm sure we can get you going in no time. Just for reference, the script I created also checks to see if your corrections have already been made so that you shouldn't be able to schnocker things up by running it multiple times. I have uses this script on at least half a dozen boxes without issue.

Good Hunting,

Chris



netvision
Posts: 97
Member Since:
2007-01-11
Thanks for the info. I

Thanks for the info. I installed a new box and replaced the current one. This time I follow your instructions before I run the setup-pstn. Everything seems to work fine. I will look into the genzaptelconf script to see what its exacly does. Thanks for your help.

Ivan



blue_calx
Posts: 4
Member Since:
2009-03-11
Hi guys. I used this thread

Hi guys. I used this thread as a reference to setup a 4 port analog Rhino card with the latest trixbox. I did everything as stated yet still can't get it to make calls or pickup incoming. The card detects the ringing and all the channels show up in 'zap show channels'.

We are trying to get a trixbox up and running for our company and for now have 1 POT plugged into channel 1 in a Rhino 4 port FXO card for testing. Using the latest trixbox release, I setup the rhino card using the latest setup-rhino script (1.3) and then ran setup-pstn. I still can not get outgoing or incoming calls via the card to work.
Zttool and the LEDs detect the line ringing for incoming calls, and for outgoing the line goes off-hook but doesn't dial. Here are my config files:

ZAPATA.CONF:

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

ZAPATA-AUTO.CONF:
; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: Rhino RCB4FXO/1 "Rhino RCB4FXO/1" (MASTER)
;;; line="1 FXO/1/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 1
context=default

;;; line="2 FXO/1/1"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 2
context=default

;;; line="3 FXO/1/2"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 3
context=default

;;; line="4 FXO/1/3"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 4
context=default

ZAPTEL.CONF:

# 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 RCB4FXO/1 "Rhino RCB4FXO/1" (MASTER)
fxsks=1
fxsks=2
fxsks=3
fxsks=4

# Global data

loadzone = us
defaultzone = us

Any help would be appreciated as this is my first trixbox install.



cvander
Posts: 637
Member Since:
2006-06-26
Do you have an inbound route

Do you have an inbound route configured? If so, where does it go?



netvision
Posts: 97
Member Since:
2007-01-11
Can you past the zapata.conf

Can you past the zapata.conf zapata_auto.conf and your zaptel.conf configuration. You will find them in /etc and /etc/asterisk.

also do youn see any activity in asterisk when when the rhino card recive the call. issue asterisk -rvvvv from the command promt to see asterisk activity.



blue_calx
Posts: 4
Member Since:
2009-03-11
yes i made a "catch all"

yes i made a "catch all" inbound route of any/any and i have it going to 2 provisioned linksys spa942 phones in a ring group for testing. When i do a inbound call i can see the LED on the channel port flicker and in zttool the bits change to all 1's but there is no activity in the the asterisk CLI the line just rings and asterisk doesn't pick it up and route it to the SIP phones.



netvision
Posts: 97
Member Since:
2007-01-11
your zapata.conf and your

your zapata.conf and your zaptel.conf are both ok. Can you make outbound calls? restart asterisk and go to asterisk cli and issue zap show channels command and see if you still sees the four channels. If you give me ssh access to your box I can take an look. Just send me a private message or e-mail me on ivan at netvision dot an.



blue_calx
Posts: 4
Member Since:
2009-03-11
strange i restarted asterisk

strange i restarted asterisk and now it won't start again:

Quote:

[trixbox1.localdomain ~]# amportal stop

STOPPING ASTERISK
Asterisk Stopped

STOPPING FOP SERVER
FOP Server Stopped
[trixbox1.localdomain ~]# amportal start

SETTING FILE PERMISSIONS
Permissions OK

STARTING ASTERISK
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
mpg123: no process killed
Asterisk ended with exit status 1
Asterisk died with code 1.
Automatically restarting Asterisk.
mpg123: no process killed

-----------------------------------------------------
Asterisk could not start!
Use 'tail /var/log/asterisk/full' to find out why.
-----------------------------------------------------

Here's whats in the log:

Quote:
[trixbox1.localdomain ~]# tail /var/log/asterisk/full
[Mar 12 11:28:03] VERBOSE[4529] logger.c: Asterisk Event Logger Started /var/log/asterisk/event_log
[Mar 12 11:28:04] ERROR[4529] asterisk.c: Asterisk has detected a problem with your Zaptel configuration and will shutdown for your protection.
You have options:
1. You only have to compile Zaptel support into Asterisk if you need it. One option is to recompile without Zaptel support.
2. You only have to load Zaptel drivers if you want to take advantage of Zaptel services. One option is to unload zaptel modules if you don't need them.
3. If you need Zaptel services, you must correctly configure Zaptel.

netvision: i'll PM you ssh info. I appreciate the help!



netvision
Posts: 97
Member Since:
2007-01-11
as the log say's you have a

as the log say's you have a problem with the zaptel configuration and asterisk detected that when you did a restart. and that filed up the log file. I had the same problem a while ago when. as soon I get the info I will log in to take an look



blue_calx
Posts: 4
Member Since:
2009-03-11
well i re-ran setup-pstn and

well i re-ran setup-pstn and asterisk was able to restart again. very strange stuff.



Comment viewing options

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