Hi,

A newbie here trying to learn Asterisk.  I've installed PiAF v.1.3(PBX in A 
Flash) and trying to set up the TDM808E card as a test.  For now I only have 
one analog line.  I went into the FreePBX interface and created a ZAP trunk 
with 1 as the Zap Identifier.  

When I try to call out, I get the error "CHANUNAVAIL" and the "All Circuits are 
busy" message.  If I try to call in, Asterisk doesn't pick up.  

What am I doing wrong?? I been at this for days now and I don't see where the 
issue is at!  

TIA!

------------------------------
Output from Asterisk CLI
------------------------------
    -- Executing [EMAIL PROTECTED]:19] Dial("SIP/5134-088a9c90", 
"ZAP/1/7593548|300|") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [EMAIL PROTECTED]:20] Goto("SIP/5134-088a9c90", 
"s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [EMAIL PROTECTED]:1] GotoIf("SIP/5134-088a9c90", "1?noreport") 
in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,3)
    -- Executing [EMAIL PROTECTED]:3] NoOp("SIP/5134-088a9c90", "TRUNK Dial 
failed due to CHANUNAVAIL (hangupcause: 0) - failing through to other trunks") 
in new stack
    -- Executing [EMAIL PROTECTED]:5] Macro("SIP/5134-088a9c90", "outisbusy|") 
in new stack
    -- Executing [EMAIL PROTECTED]:1] Playback("SIP/5134-088a9c90", 
"all-circuits-busy-now|noanswer") in new stack
    -- <SIP/5134-088a9c90> Playing 'all-circuits-busy-now' (language 'en')
  == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 
'SIP/5134-088a9c90' in macro 'outisbusy'
  == Spawn extension (macro-outisbusy, s, 1) exited non-zero on 
'SIP/5134-088a9c90'


--------------------------------------------
[EMAIL PROTECTED]:/etc/asterisk $ ztcfg -vvvvv
--------------------------------------------
Zaptel Version: 1.4.12.1
Echo Canceller: MG2
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Slaves: 08)

8 channels to configure.


-------------------------------------
[EMAIL PROTECTED]:/etc $ cat /proc/zaptel/*
--------------------------------------
Span 1: WCTDM/0 "Wildcard TDM800P Board 1" (MASTER)
        IRQ misses: 1

           1 WCTDM/0/0 FXSKS
           2 WCTDM/0/1 FXSKS RED
           3 WCTDM/0/2 FXSKS RED
           4 WCTDM/0/3 FXSKS RED
           5 WCTDM/0/4 FXSKS RED
           6 WCTDM/0/5 FXSKS RED
           7 WCTDM/0/6 FXSKS RED
           8 WCTDM/0/7 FXSKS RED


--------------------------------
/etc/asterisk/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-channels.conf

;Include AMP configs
#include zapata_additional.conf

------------------------
/etc/zaptel.conf
------------------------
# Autogenerated by /usr/local/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: WCTDM/0 "Wildcard TDM800P Board 1" (MASTER)
fxsks=1
fxsks=2
fxsks=3
fxsks=4
fxsks=5
fxsks=6
fxsks=7
fxsks=8

# Global data

loadzone        = us
defaultzone     = us



      

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to