Analog Card, ZAP Channels & Inbound Routes; All circuits are busy?

csierra
Posts: 85
Member Since:
2008-02-22

Hello, today I´ve got installed the ZMA-800P (Zap Micro, 3 FXO's, 5 FXS's) and is recognized, as follows:
------------------------------------------------------------------------------
holex*CLI> zap show status
Description Alarms IRQ bpviol CRC4
ZMA8xx REV E Board 1 OK 0 0 0
------------------------------------------------------------------------------

Then, I went to setup a ZAP Trunk, using the default ZAP/g0, added 3 channels (card has 3 FXO´s on it) and updated changes, the zapata.conf content as follows:
-------------------------------------------------------------------------------
;
; 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=128
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
-------------------------------------------------
Then, I created an Outbound Route, assigned the Trunk Sequence for ZAP/g0 in first place, indicating a dial pattern to, password protected.

When dialing 9|phonenum form my SIP ext, Trixbox ask for pword and pound; after that, I get a 'All Circuits are busy'.

Another thing, I´ve registered a ZAP extention, num 6004, channel 4. When I query CLI
ZAPTEL SHOW CHANNELS, I GET:

holex*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo from-internal en default
4 from-internal en default
holex*CLI>

My questions is what should I look for? Something is missing here?

Thanks in advance.

--

VOIP Newbie



csierra
Posts: 85
Member Since:
2008-02-22
RE: Analog Card, ZAP Channels

ZAPATA-CHANNELS.CONF This file is also here etc/asterisk

-----------
; 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: WCTDM/0 "ZMA8xx REV E Board 1"
;;; line="1 WCTDM/0/0"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 1
context=default

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

;;; line="3 WCTDM/0/2"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
context=default

;;; line="4 WCTDM/0/3"
signalling=fxo_ks
callerid="Channel 4"
mailbox=6004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default

;;; line="5 WCTDM/0/4"
signalling=fxo_ks
callerid="Channel 5"
mailbox=6005
group=5
context=from-internal
channel => 5
callerid=
mailbox=
group=
context=default

;;; line="6 WCTDM/0/5"
signalling=fxo_ks
callerid="Channel 6"
mailbox=6006
group=5
context=from-internal
channel => 6
callerid=
mailbox=
group=
context=default

;;; line="7 WCTDM/0/6"
signalling=fxo_ks
callerid="Channel 7"
mailbox=6007
group=5
context=from-internal
channel => 7
callerid=
mailbox=
group=
context=default

;;; line="8 WCTDM/0/7"
signalling=fxo_ks
callerid="Channel 8"
mailbox=6008
group=5
context=from-internal
channel => 8
callerid=
mailbox=
group=
context=default
--------------------

I assume it should be #INCLUDE ed in zapata.conf, right? if so, why it is not? and if so, where should I add this include directive?

Thanks again

--

VOIP Newbie



Comment viewing options

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