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

Ing CIP Alejandro Celi Mariátegui alex at linux.org.pe
Thu May 19 13:58:43 MST 2005


Ahhh, OIC, I see my n00b error, thank you for the help.

Regards,

Alex

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


El jue, 19-05-2005 a las 10:09, steve at daviesfam.org escribió:
> 
> Hi,
> 
> You must dial "Zap/g1/${EXTEN}", not "Zap/1/${EXTEN}".  
> 
> Otherwise you are just dialling on channel one, not on the group.
> 
> Steve
> 
> 
> On Tue, 17 May 2005, Ing CIP Alejandro Celi [ISO-8859-1] Mariátegui wrote:
> 
> > 
> > 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....
> > 
> > 





More information about the asterisk-users mailing list