[Asterisk-Users] Asterisk can't create Zap channel - nightmare

Ing CIP Alejandro Celi Mariátegui alex at linux.org.pe
Tue May 17 13:01:17 MST 2005


I have the same problem, I have 4 X100P (FXO) with 4 external lines
(hunting lines), and Asterisk runing on FC3.

Sometimes when 1 or 2 persons are using 2 lines, when I try to make a
call, I receive this message.

        May 17 13:18:53 NOTICE[1857]: app_dial.c:749 dial_exec: Unable
        to create channel of type 'Zap'
          == Everyone is busy/congested at this time
        
I look on zap show channels and zap show channel X and no problem. The
idea is that you can take any of the 4 lines.

But when i can't make a outbound call, if we receive a call, the call
was received good by the Asterisk.

        May 17 14:20:37 NOTICE[6969]: chan_zap.c:5367 ss_thread: Got
        event 2 (Ring/Answered)...
            -- Executing Wait("Zap/4-1", "1") in new stack
            -- Executing Answer("Zap/4-1", "") in new stack
            -- Executing DigitTimeout("Zap/4-1", "5") in new stack
            -- Set Digit Timeout to 5
            -- Executing ResponseTimeout("Zap/4-1", "10") in new stack
            -- Set Response Timeout to 10
            -- Executing BackGround("Zap/4-1", "vm-inicio") in new stack
            -- Playing 'vm-inicio' (language 'en')

and the call success!

/etc/zaptel.conf
################
loadzone = us
defaultzone=us
fxsks=1-4

/etc/asterisk/zapata.conf
#########################
[channels]
 
busydetect=yes
busycount=5
relaxdtmf=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
usecallerid=yes
hidecallerid=no
echotraining=800
echocancel=yes
echocancelwhenbridged=yes
rxgain=8.0
txgain=-5.5
immediate=no
context=local-trunks
signalling=fxs_ks
callerid=asreceived
musiconhold=yes

group=1
callgroup=1
pickupgroup=1
channel => 1
 
signalling=fxs_ks
context=local-trunks
callerid=asreceived
musiconhold=yes
channel => 2
 
signalling=fxs_ks
context=local-trunks
callerid=asreceived
musiconhold=yes
channel => 3
 
signalling=fxs_ks
context=local-trunks
callerid=asreceived
musiconhold=yes
channel => 4

/etc/asterisk/extensions.conf
#############################
[local-trunks]
exten => _9XXXXXXX,1,Dial,Zap/1/${EXTEN:1} ; 
exten => _8XXXXXXXXXXXXX,1,Dial,Zap/1/${EXTEN:1} ; 0800

Hope that you can help us.

Saludos desde PERU....

-- 
Ing CIP Alejandro Celi Mariátegui 
<alex at linux.org.pe>


El jue, 05-05-2005 a las 15:19, Matthew Boehm escribió:
> Before you jump ahead, yes I do have chan_zap.so loaded..
> 
> Call Flow:  Asterisk 1 --IAX2--> Asterisk 2 ---> PRI
> 
>     -- Accepting AUTHENTICATED call from 22.22.22.22:
>        > requested format = ulaw,
>        > requested prefs = (),
>        > actual format = ulaw,
>        > host prefs = (ulaw|alaw|gsm),
>        > priority = mine
>     -- Executing Dial("IAX2/asterisk-alpha at asterisk-alpha-3",
> "Zap/R1d/18005551212|60") in new stack
> May  5 15:21:37 NOTICE[16153]: app_dial.c:968 dial_exec_full: Unable to
> create channel of type 'Zap' (cause 0)
>   == Everyone is busy/congested at this time (1:0/0/1)
>     -- Hungup 'IAX2/asterisk-alpha at asterisk-alpha-3'
> 
> 
> pri debug is irrelevent because the call never makes it to pri. What is
> cause 0? Its not listed in the header files.
> 
> Nothing is busy on that span.
> 
> Any ideas?
> 
> -Matthew







More information about the asterisk-users mailing list