[Asterisk-Users] my zap channel not ringing & source from internal to telco line

ADEGOKE ARUNA goksie at gmail.com
Thu Mar 2 11:21:12 MST 2006


Yes, I think I made a progress,

I got this from my pri status, but my sync source is till saying "internally
blocked" I have made several attempt at changing it to line but no success
yet.

How can I change my clock source from internal to telco line

My debugs are as follows:

gnugk*CLI> pri show span 1
Primary D-channel: 16
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE
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



gnugk*CLI> pri intense debug spanX
< [ 02 01 7f ]

< Unnumbered frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
<   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode
extended) ]
< 0 bytes of data
-- Got SABME from network peer.
Sending Unnumbered Acknowledgement

> [ 02 01 73 ]

> Unnumbered frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
>   M3: 3   P/F: 1 M2: 0 11: 3  [ UA (unnumbered acknowledgement) ]
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
  == Primary D-Channel on span 1 up
    -- 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|Ttr") in new stack
    -- Requested transfer capability: 0x00 - SPEECH

> [ 00 01 00 00 08 02 00 0a 05 04 03 80 90 a3 18 03 a9 83 81 6c 07 21 81 31
31 31 31 31 70 08 a1 36 32 31 30 30 30 36 a1 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 000   0: 0
> N(R): 000   P: 0
> 35 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=35
> Call Ref: len= 2 (reference 10/0xA) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16)
>                              Ext: 1  User information layer 1: A-Law (35)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
>                       Ext: 1  Channel: 1 ]
> [6c 07 21 81 31 31 31 31 31]
> Calling Number (len= 9) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user
number passed network screening (1) '11111' ]
> [70 08 a1 36 32 31 30 30 30 36]
> Called Number (len=10) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '6210006' ]
> [a1]
> Sending Complete (len= 1)
    -- Called g1/6210006
gnugk*CLI> pri intense debug spanX
< [ 02 01 7f ]

< Unnumbered frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
<   M3: 3   P/F: 1 M2: 3 11: 3  [ SABME (set asynchronous balanced mode
extended) ]
< 0 bytes of data
-- Got SABME from network peer.
Sending Unnumbered Acknowledgement

> [ 02 01 73 ]

> Unnumbered frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
>   M3: 3   P/F: 1 M2: 0 11: 3  [ UA (unnumbered acknowledgement) ]
> 0 bytes of data
-- Restarting T203 counter
  == Primary D-Channel on span 1 up
gnugk*CLI> pri intense debug spanX


gnugk*CLI>
> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 000   0: 0
> N(R): 000   P: 0
> 35 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=35
> Call Ref: len= 2 (reference 12/0xC) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode
(16)
>                              Ext: 1  User information layer 1: A-Law (35)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel Type:
3
>                       Ext: 1  Channel: 1 ]
> [6c 07 21 81 31 31 31 31 31]
> Calling Number (len= 9) [ Ext: 0  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user
number passed network screening (1) '11111' ]
> [70 08 a1 36 32 31 30 30 30 34]
> Called Number (len=10) [ Ext: 1  TON: National Number (2)  NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '6210004' ]
> [a1]CLI>
> Sending Complete (len= 1)
    -- Called g1/6210004
gnugk*CLI>


I have changed the extension.conf as advised.

goksie






-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of yusuf
Sent: Thursday, March 02, 2006 6:41 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] my zap channel not ringing

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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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




More information about the asterisk-users mailing list