[Asterisk-Users] my zap channel not ringing

yusuf yusuf at ecntelecoms.com
Thu Mar 2 10:40:31 MST 2006


ADEGOKE ARUNA wrote:
> 
> I need your help
> 
> I have a sangoma A104D on my dell server; I got card status ok with no alarm
> If I dialed the extension 6210006, it shows the output as stated below, but
> there is no ringing from the pstn number nor the iax softphone am using on
> my pc.
> 
> I will be glad if someone can give me a working config?
> 
> What I want to achieve is to send all my call to the pstn on A104D?
> 
> The pstn am talking to is alcatel S12 and the pri status on their switch is
> showing the channel is external blocked meaning that the channels are
> blocked from my asterisk box.
> .
> 
> 
> Output from asterisk cli
> 
> -- Accepting AUTHENTICATED call from 10.80.1.151:
>        > requested format = ulaw,
>        > requested prefs = (),
>        > actual format = gsm,
>        > host prefs = (),
>        > priority = mine
>     -- Executing Answer("IAX2/marko-3", "") in new stack
>     -- Executing Dial("IAX2/marko-3", "Zap/g1/6210006,60,r") in new stack
>     -- Called g1/6210006,60,r
>     -- Zap/1-1 answered IAX2/marko-3
>     -- Hungup 'Zap/1-1'
>   == Spawn extension (default, 6210006, 2) exited non-zero on 'IAX2/marko-3'
>     -- Hungup 'IAX2/marko-3'
> 
> Extension.conf (extract)
> 
> exten => _621XXXX,1,Answer()
> exten => _621XXXX,n,Dial,Zap/g1/${EXTEN),60,r
> ;exten => _621XXXX,n,Voicemail(u${EXTEN})
> exten => _621XXXX,n,Hangup()
> 
> Zaptel.conf
> 
> span=1,1,0,ccs,hdb3,crc4
> span=1,2,0,ccs,hdb3,crc4
> span=1,3,0,ccs,hdb3,crc4
> span=1,4,0,ccs,hdb3,crc4
> bchan = 1-15, 17-31, 32-46, 48-62, 63-77, 79-93, 94-108, 110-124
> dchan = 16, 47, 78, 109
> 
> Zapata.conf
> 
> [channels]
> language=en
> context=default
> switchtype=qsig
> signalling=pri_cpe
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> rxgain=0.0
> txgain=0.0
> group=1
> channel =>1-15, 17-31
> ;callgroup=1
> ;pickupgroup=1
> immediate=no
> ;callerid=6216000
> ; signalling = pri_cpe
> group = 2
> channel => 32-46, 48-62
> 
> group = 3
> channel => 63-77, 79-93
> 
> group = 4
> channel => 94-108, 110-124
> 
> 
> 
> the channel status
> 
> *CLI> zap show status
> Description                              Alarms     IRQ        bpviol
> CRC4
> wanpipe1 card 0                          OK         0          0          0
> wanpipe2 card 1                          RED        0          0          0
> wanpipe3 card 2                          RED        0          0          0
> wanpipe4 card 3                          RED        0          0          0
> 
> 
> 
> 1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm cleared
> on channel 1
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 2
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 3
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 4
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 5
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 6
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 7
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 8
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 9
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 10
> Mar  1 19:33:14 NOTICE[17314]: chan_zap.c:6342 handle_init_event: Alarm
> cleared on channel 11
> For all the 31 channels
> 
> goksie
Hi,

maybe this is just been pedantic but why do you answer the channel 
first, you dont use IVR, so why answer it. and use dial like this:

exten => _621XXXX,1,Dial(Zap/g1/${EXTEN),60,r)

everything else looks good though, it should work.  I also have a
sangoma A104D.

also, should'nt be (could be wrong, but i have it like this):

  span=1,1,0,ccs,hdb3,crc4
  span=2,2,0,ccs,hdb3,crc4
  span=3,3,0,ccs,hdb3,crc4
  span=4,4,0,ccs,hdb3,crc4
  bchan = 1-15, 17-31, 32-46, 48-62, 63-77, 79-93, 94-108, 110-124
  dchan = 16, 47, 78, 109



yusuf



More information about the asterisk-users mailing list