[Asterisk-Users] Having trouble calling out from Zap channel

Michael Sampson msampson at yourccsteam.com
Fri Dec 16 09:33:23 MST 2005


I'm trying to dial from an SIP phone to another PBX through a PRI line

The SIP phone gets the recording "All circuits are busy now"

Here is the error at the CLI

---------------------------
    -- Executing SetVar("SIP/200-cbca", "OUTNUM=9304752") in new stack
    -- Executing Cut("SIP/200-cbca", "custom=OUT_1|:|1") in new stack
    -- Executing GotoIf("SIP/200-cbca", "0?16") in new stack
    -- Executing Dial("SIP/200-cbca", "ZAP/g0/9304752") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Goto("SIP/200-cbca", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing NoOp("SIP/200-cbca", "Dial failed due to CHANUNAVAIL") 
in new s  
----------------------------

the log file /var/log/asterisk/full has the error "unable to create 
channel of type 'Zap'" in it.

The PRI span appears to be up and functioning.
here is the output from "pri show span 1"
---------------------------------
asterisk1*CLI> pri show span 1
Primary D-channel: 24
Status: Provisioned, Up, Active
Switchtype: Lucent 5E
Type: Network
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
T313 Timer: 4000
N200 Counter: 3
-----------------------------


Here is the output from pri intense debug span 1
------------------------------------
 > Supervisory frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
 > N(R): 000 P/F: 1
 > 0 bytes of data
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 01 ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 000 P/F: 1
< 0 bytes of data
-- ACKing all packets from 0 to (but not including) 0
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (0)

 > [ 02 01 01 01 ]

 > Supervisory frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
 > N(R): 000 P/F: 1
 > 0 bytes of data
-- Restarting T203 counter
asterisk1*CLI>
< [ 02 01 01 01 ]

< Supervisory frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 000 P/F: 1
< 0 bytes of data
-- ACKing all packets from 0 to (but not including) 0
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 counter

-----------------------------------------



I'm brand new to asterisk and using Asterisk at Home. Does anyone know what 
the next step in debuging this problem would be?

-- 
Michael Sampson
Information Systems Manager
Customer Contact Services
msampson at yourccsteam.com
952-936-4000




More information about the asterisk-users mailing list