zttool is "OK",but no incomming and no outgoing call

tleu
Posts: 12
Member Since:
2008-03-05

I have configured rhino R1 T1 Card,also zttool command shows that rhino status is "OK",but i have no no incomming and no outgoing call

what can be possible problem?



kerryg
Posts: 5533
Member Since:
2006-05-31
what about ztcfg -v

what about ztcfg -v



tleu
Posts: 12
Member Since:
2008-03-05
Re

Zaptel Version: 1.4.7.1-3259
Echo Canceller: OSLEC
Configuration
======================

SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)

31 channels to configure.



kerryg
Posts: 5533
Member Since:
2006-05-31
ok try this: asterisk -rx

ok try this:

asterisk -rx "zap show channels"



ahonea
Posts: 153
Member Since:
2006-12-28
What is the output for the

What is the output for the following?

asterisk -rx "pri show span 1"

Can you attach your /etc/zaptel and /etc/asterisk/zapata.conf and zapata-auto.conf

--

http://www.rhinoequipment.com
Amanda Honea
Support/QA
Rhino Equipment Corp.
Tel: 1-800-785-7073
FAX: +1 (480) 961-1826
:hammer:



tleu
Posts: 12
Member Since:
2008-03-05
RE asterisk -rx "zap show channels"

Chan Extension Context Language MOH Interpret
pseudo from-pstn ru default
1 from-pstn ru default
2 from-pstn ru default
3 from-pstn ru default
4 from-pstn ru default
5 from-pstn ru default
6 from-pstn ru default
7 from-pstn ru default
8 from-pstn ru default
9 from-pstn ru default
10 from-pstn ru default
11 from-pstn ru default
12 from-pstn ru default
13 from-pstn ru default
14 from-pstn ru default
15 from-pstn ru default
17 from-pstn ru default
18 from-pstn ru default
19 from-pstn ru default
20 from-pstn ru default
21 from-pstn ru default
22 from-pstn ru default
23 from-pstn ru default
24 from-pstn ru default
25 from-pstn ru default
26 from-pstn ru default
27 from-pstn ru default
28 from-pstn ru default
29 from-pstn ru default
30 from-pstn ru default
31 from-pstn ru default



tleu
Posts: 12
Member Since:
2008-03-05
RE asterisk -rx "pri show span 1"

Primary D-channel: 16
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T309 Timer: -1
T313 Timer: 4000
N200 Counter: 3



tleu
Posts: 12
Member Since:
2008-03-05
zapata.conf

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]
language=ru
context=from-pstn
;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

switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to unknown.
pridialplan=unknown
signalling=pri_cpe

busydetect=no
callprogress=no

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=400
rxgain=0.0
txgain=0.0

group=1
callgroup=1
pickupgroup=1
immediate=no

channel=>1-15
channel=>17-31

;;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



tleu
Posts: 12
Member Since:
2008-03-05
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

# Global data

span=1,0,0,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31

alaw=1-62

loadzone = us
defaultzone = us



ahonea
Posts: 153
Member Since:
2006-12-28
Try taking the following out

Try taking the following out of your /etc/asterisk/zapata.conf

channel=>1-15
channel=>17-31

Also,

In your /etc/zaptel.conf take out the following line:

alaw=1-62

you cannot specify codecs for zap channels

Then run

ztcfg -vvv | amportal restart

--

http://www.rhinoequipment.com
Amanda Honea
Support/QA
Rhino Equipment Corp.
Tel: 1-800-785-7073
FAX: +1 (480) 961-1826
:hammer:



tleu
Posts: 12
Member Since:
2008-03-05
not working

[tamak.kz ~]# asterisk -rx "zap show channels"
Chan Extension Context Language MOH Interpret
pseudo from-zaptel ru default



tleu
Posts: 12
Member Since:
2008-03-05
pri show spans

no output.
pri show span 1 also outputs no PRI running on span 1



just
Posts: 3
Member Since:
2008-03-30
same problem

Hi,
i've been working with tleu so i'm trying to configure the same asterisk with the same rhino pci card as in previous posts.
few days ago we had to re-install our trixbox, so we did the configurations again...

zttool is showing:

UNCONFIGURED ZTDUMMY/1 (source: RTC) 1
OK Rhino R1T1 E1/PRA Card 0

zaptel.conf is configured according to the rhino's manual and has these lines:

# Span 2: R1T1/0 "Rhino R1T1 E1/PRA Card 0"
span=1,0,0,ccs,hdb3

bchan=1-15,17-31
dchan=16

loadzone=us
defaultzone=us

zapata.conf:

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=pre_cpe
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=1
callgroup=1
pickupgroup=1
immediate=no

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

;Include genzaptelconf configs
#include zapata-auto.conf

group=1
channel=>1-15
channel=>17-31

;Include AMP configs
#include zapata_additional.conf

Don know where the problem is. My asterisk CLI doesn't have zap and pri commands.
Every help is appreciated...



just
Posts: 3
Member Since:
2008-03-30
particularly solved problem

After changing these lines:
span=1,0,0,ccs,hdb3 to span=2,0,0,ccs,hdb3
signalling=pre_cpe to signalling=pri_cpe #(my mistake)
we got incoming calls working... but all outgoing calls fail...
I've noticed that asterisk always uses the same channel while trying to
establish outgoing calls, i see the same debug message:
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/500542
-- Channel 0/1, span 2 got hangup, cause 1
-- Hungup 'Zap/1-1'
something wrong with zapata.conf?



Comment viewing options

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