[asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Steve Edwards
I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard 
TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.

Each "group" of T1's have the primary D on 24 and the secondary D on 96.

The first server (ts20) and the last server (ts22) can playback 
"demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.

If I call via ZAP, dead air. If I call via IAX, I hear the file.

I copied /etc/zaptel.conf, /etc/asterisk/*, 
/var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.

I have seen this in my system log file:

Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0 
D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing -- 
resetting!

I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5, 
zaptel-1.2.20.1.

"show channel zap/?," "zap show channel ?" appear identical between 
working and non-working systems both "on-hook" and "off-hook."

Any clues or clues where to start looking?

Thanks in advance,

Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Steve Edwards
On Wed, 3 Oct 2007, Steve Edwards wrote:

> I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard
> TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.
>
> Each "group" of T1's have the primary D on 24 and the secondary D on 96.
>
> The first server (ts20) and the last server (ts22) can playback
> "demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.
>
> If I call via ZAP, dead air. If I call via IAX, I hear the file.
>
> I copied /etc/zaptel.conf, /etc/asterisk/*,
> /var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.
>
> I have seen this in my system log file:
>
> Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0
> D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing --
> resetting!
>
> I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5,
> zaptel-1.2.20.1.
>
> "show channel zap/?," "zap show channel ?" appear identical between
> working and non-working systems both "on-hook" and "off-hook."
>
> Any clues or clues where to start looking?

Turning on "pri debug span 1" yields:

Oct 3 10:39:17 WARNING[20586]: channel.c:780 channel_find_locked: Avoided 
initial deadlock for '0xb7c202f0', 9 retries!

on the host that doesn't work for every call received.

Thanks in advance,

Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Steve Totaro
Steve Edwards wrote:
> I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard 
> TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.
>
> Each "group" of T1's have the primary D on 24 and the secondary D on 96.
>
> The first server (ts20) and the last server (ts22) can playback 
> "demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.
>
> If I call via ZAP, dead air. If I call via IAX, I hear the file.
>
> I copied /etc/zaptel.conf, /etc/asterisk/*, 
> /var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.
>
> I have seen this in my system log file:
>
> Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0 
> D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing -- 
> resetting!
>
> I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5, 
> zaptel-1.2.20.1.
>
> "show channel zap/?," "zap show channel ?" appear identical between 
> working and non-working systems both "on-hook" and "off-hook."
>
> Any clues or clues where to start looking?
>
> Thanks in advance,
> 
> Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
> Newline Fax: +1-760-731-3000
>
>
>   

Double check both zaptel.conf and zapata.conf and also call the telco to 
make sure they have they have the same NFAS scheme on all T1s setup 
correctly.  Sometimes (let's face it, alot of times, the provider messes 
something up).

Also check that all of your T1 cables are plugged into the correct T1 
port.  I have made that mistake myself when doing 28 T1s off a T3.  I 
got dead air just as you described.

Thanks,
Steve Totaro


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Steve Totaro
Steve Edwards wrote:
> On Wed, 3 Oct 2007, Steve Edwards wrote:
>
>   
>> I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard
>> TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.
>>
>> Each "group" of T1's have the primary D on 24 and the secondary D on 96.
>>
>> The first server (ts20) and the last server (ts22) can playback
>> "demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.
>>
>> If I call via ZAP, dead air. If I call via IAX, I hear the file.
>>
>> I copied /etc/zaptel.conf, /etc/asterisk/*,
>> /var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.
>>
>> I have seen this in my system log file:
>>
>> Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0
>> D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing --
>> resetting!
>>
>> I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5,
>> zaptel-1.2.20.1.
>>
>> "show channel zap/?," "zap show channel ?" appear identical between
>> working and non-working systems both "on-hook" and "off-hook."
>>
>> Any clues or clues where to start looking?
>> 
>
> Turning on "pri debug span 1" yields:
>
> Oct 3 10:39:17 WARNING[20586]: channel.c:780 channel_find_locked: Avoided 
> initial deadlock for '0xb7c202f0', 9 retries!
>
> on the host that doesn't work for every call received.
>
> Thanks in advance,
> 
> Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
> Newline Fax: +1-760-731-3000
>
>
>   
That does not look like PRI Debug output to me, just console verbose.

 From experience, I would say you crossed a couple of cables.  Make sure 
you double check them and then LABEL them.

If you find that is not the solution, call your provider.

Thanks,
Steve Totaro


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Steve Edwards
On Wed, 3 Oct 2007, Steve Totaro wrote:

> Steve Edwards wrote:
>> I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard
>> TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.
>>
>> Each "group" of T1's have the primary D on 24 and the secondary D on 96.
>>
>> The first server (ts20) and the last server (ts22) can playback
>> "demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.
>>
>> If I call via ZAP, dead air. If I call via IAX, I hear the file.
>>
>> I copied /etc/zaptel.conf, /etc/asterisk/*,
>> /var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.
>>
>> I have seen this in my system log file:
>>
>> Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0
>> D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing --
>> resetting!
>>
>> I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5,
>> zaptel-1.2.20.1.
>>
>> "show channel zap/?," "zap show channel ?" appear identical between
>> working and non-working systems both "on-hook" and "off-hook."
>>
>> Any clues or clues where to start looking?

> Double check both zaptel.conf and zapata.conf and also call the telco to
> make sure they have they have the same NFAS scheme on all T1s setup
> correctly.  Sometimes (let's face it, alot of times, the provider messes
> something up).
>
> Also check that all of your T1 cables are plugged into the correct T1
> port.  I have made that mistake myself when doing 28 T1s off a T3.  I
> got dead air just as you described.

I think this is the problem, or at least "a" problem.

When Qwest pointed a number to the group, I noticed that calls arrived on 
ascending channel numbers. I observed...

Accepting call from '202239' to '866205' on channel 0/1, span 1
Executing Answer("Zap/1-1", "") in new stack

Subsequent calls show the following:

Channel SpanZap
0/1 1   1
.
.
.
0/231   23
1/1 1   73
.
.
.
1/231   95
2/1 1   25
.
.
.
2/241   48
3/1 1   49
.
.
.
3/241   72

So it looks to me like the T1 that is plugged into the second jack on the 
card really belongs in the 4th jack. Can I fix this by munging my 
configuration? (I'm in San Diego and the servers are in Phoenix.)

Here's my zaptel.conf:

#
# span 1
span= 1,1,0,esf,b8zs
bchan   = 1-23
dchan   = 24
#
# span 2
span= 2,0,0,esf,b8zs
bchan   = 25-48
#
# span 3
span= 3,0,0,esf,b8zs
bchan   = 49-72
#
# span 4
span= 4,2,0,esf,b8zs
bchan   = 73-95
dchan   = 96
#
# (end of /etc/zaptel.conf)

And my zapata.conf:

[trunkgroups]
 trunkgroup  = 1,24,96
 spanmap = 1,1,0
 spanmap = 2,1,2
 spanmap = 3,1,3
 spanmap = 4,1,1

[channels]
 context = block-ani
 echocancel  = no
 echocancelwhenbridged   = no
 echotraining= no
 group   = 1
 resetinterval   = never
 signalling  = pri_cpe
 switchtype  = dms100
;   switchtype  = 4ess

; span 1 (1-24)
 channel = 1-23
; span 2 (25-48)
 channel = 25-48
; span 3 (49-72)
 channel = 49-72
; span 4 (73-96)
 channel = 73-95
;
; (end of /etc/asterisk/zapata.conf)

Thanks in advance,

Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Kevin P. Fleming
Steve Edwards wrote:

> [trunkgroups]
>  trunkgroup  = 1,24,96
>  spanmap = 1,1,0
>  spanmap = 2,1,2
>  spanmap = 3,1,3
>  spanmap = 4,1,1

You caused the behavior you are seeing by configuring your spanmap this
way; you've got physical span #4 configured as the second span in the
trunkgroup, so Zaptel will treat physical channels 73-95 as logical
channels 1/1 through 1/23.

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Steve Totaro
Steve Edwards wrote:
> On Wed, 3 Oct 2007, Steve Totaro wrote:
>
>   
>> Steve Edwards wrote:
>> 
>>> I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard
>>> TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.
>>>
>>> Each "group" of T1's have the primary D on 24 and the secondary D on 96.
>>>
>>> The first server (ts20) and the last server (ts22) can playback
>>> "demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.
>>>
>>> If I call via ZAP, dead air. If I call via IAX, I hear the file.
>>>
>>> I copied /etc/zaptel.conf, /etc/asterisk/*,
>>> /var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.
>>>
>>> I have seen this in my system log file:
>>>
>>> Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0
>>> D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing --
>>> resetting!
>>>
>>> I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5,
>>> zaptel-1.2.20.1.
>>>
>>> "show channel zap/?," "zap show channel ?" appear identical between
>>> working and non-working systems both "on-hook" and "off-hook."
>>>
>>> Any clues or clues where to start looking?
>>>   
>
>   
>> Double check both zaptel.conf and zapata.conf and also call the telco to
>> make sure they have they have the same NFAS scheme on all T1s setup
>> correctly.  Sometimes (let's face it, alot of times, the provider messes
>> something up).
>>
>> Also check that all of your T1 cables are plugged into the correct T1
>> port.  I have made that mistake myself when doing 28 T1s off a T3.  I
>> got dead air just as you described.
>> 
>
> I think this is the problem, or at least "a" problem.
>
> When Qwest pointed a number to the group, I noticed that calls arrived on 
> ascending channel numbers. I observed...
>
>   Accepting call from '202239' to '866205' on channel 0/1, span 1
>   Executing Answer("Zap/1-1", "") in new stack
>
> So it looks to me like the T1 that is plugged into the second jack on the 
> card really belongs in the 4th jack. Can I fix this by munging my 
> configuration? (I'm in San Diego and the servers are in Phoenix.)
>   
I guess you could work around it by messing with your configuration and 
changing channel numbers and putting your backup D on the correct 
channels. 

I would highly advise against it though.  You should call someone in 
Phoenix (just left there) and have them correct the cabling so it is 
done the proper way.  Even if you do get it working with the channels 
all mangled out of order, it will bite you sometime down the road (or 
someone else) when some sort of problem arises and you are trying to 
troubleshoot it.

Thanks,
Steve Totaro

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Steve Totaro
Kevin P. Fleming wrote:
> Steve Edwards wrote:
>
>   
>> [trunkgroups]
>>  trunkgroup  = 1,24,96
>>  spanmap = 1,1,0
>>  spanmap = 2,1,2
>>  spanmap = 3,1,3
>>  spanmap = 4,1,1
>> 
>
> You caused the behavior you are seeing by configuring your spanmap this
> way; you've got physical span #4 configured as the second span in the
> trunkgroup, so Zaptel will treat physical channels 73-95 as logical
> channels 1/1 through 1/23.
>   
If it were configured as the second span, shouldn't is be channels 25-48 
rather than 1-23?  voip-info was very unclear about this when I looked 
at it over a year ago.  I finally got it working by trying different 
combinations in spanmap. 

Digium should have it's own wiki that is maintained by Digium.  
Voip-info is ok but much of it is old and or incorrect at this point.

Thanks,
Steve Totaro

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-03 Thread Steve Edwards
On Wed, 3 Oct 2007, Steve Totaro wrote:

> Kevin P. Fleming wrote:
>> Steve Edwards wrote:
>>
>>
>>> [trunkgroups]
>>>  trunkgroup  = 1,24,96
>>>  spanmap = 1,1,0
>>>  spanmap = 2,1,2
>>>  spanmap = 3,1,3
>>>  spanmap = 4,1,1
>>>
>>
>> You caused the behavior you are seeing by configuring your spanmap this
>> way; you've got physical span #4 configured as the second span in the
>> trunkgroup, so Zaptel will treat physical channels 73-95 as logical
>> channels 1/1 through 1/23.
>>
> If it were configured as the second span, shouldn't is be channels 25-48
> rather than 1-23?  voip-info was very unclear about this when I looked
> at it over a year ago.  I finally got it working by trying different
> combinations in spanmap.
>
> Digium should have it's own wiki that is maintained by Digium.
> Voip-info is ok but much of it is old and or incorrect at this point.

Qwest and I fiddled for a couple of hours. The channels are answered in 
ascending sequence and "match" between logical span/channel and 
zap/channel. Channels 0/24 (zap/24) and 1/24 (zap/48) are "skipped" 
because they are the primary and secondary D channels.

Still no joy -- no audio.

Here's zaptel.conf:

# span 1
span= 1,1,0,esf,b8zs
bchan   = 1-23
dchan   = 24

# span 2
span= 2,0,0,esf,b8zs
bchan   = 25-47
dchan   = 48

# span 3
span= 3,0,0,esf,b8zs
bchan   = 49-72

# span 4
span= 4,2,0,esf,b8zs
bchan   = 73-96

# (end of /etc/zaptel.conf)

and zapata.conf:

[trunkgroups]
 trunkgroup  = 1,24,48
 spanmap = 1,1,0
 spanmap = 2,1,1
 spanmap = 3,1,2
 spanmap = 4,1,3

[channels]
 context = block-ani
 echocancel  = no
 echocancelwhenbridged   = no
 echotraining= no
 group   = 1
 resetinterval   = never
 signalling  = pri_cpe
 switchtype  = dms100

; span 1 (1-24)
 channel = 1-23
; span 2 (25-48)
 channel = 25-47
; span 3 (49-72)
 channel = 49-72
; span 4 (73-96)
 channel = 73-96

; (end of /etc/asterisk/zapata.conf)

Any more clues on where to look to find my missing audio?

Thanks in advance,

Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-04 Thread Steve Totaro
Steve Edwards wrote:
> On Wed, 3 Oct 2007, Steve Totaro wrote:
>
>   
>> Kevin P. Fleming wrote:
>> 
>>> Steve Edwards wrote:
>>>
>>>
>>>   
 [trunkgroups]
  trunkgroup  = 1,24,96
  spanmap = 1,1,0
  spanmap = 2,1,2
  spanmap = 3,1,3
  spanmap = 4,1,1

 
>>> You caused the behavior you are seeing by configuring your spanmap this
>>> way; you've got physical span #4 configured as the second span in the
>>> trunkgroup, so Zaptel will treat physical channels 73-95 as logical
>>> channels 1/1 through 1/23.
>>>
>>>   
>> If it were configured as the second span, shouldn't is be channels 25-48
>> rather than 1-23?  voip-info was very unclear about this when I looked
>> at it over a year ago.  I finally got it working by trying different
>> combinations in spanmap.
>>
>> Digium should have it's own wiki that is maintained by Digium.
>> Voip-info is ok but much of it is old and or incorrect at this point.
>> 
>
> Qwest and I fiddled for a couple of hours. The channels are answered in 
> ascending sequence and "match" between logical span/channel and 
> zap/channel. Channels 0/24 (zap/24) and 1/24 (zap/48) are "skipped" 
> because they are the primary and secondary D channels.
>
> Still no joy -- no audio.
>
> Here's zaptel.conf:
>
> # span 1
> span= 1,1,0,esf,b8zs
> bchan   = 1-23
> dchan   = 24
>
> # span 2
> span= 2,0,0,esf,b8zs
> bchan   = 25-47
> dchan   = 48
>
> # span 3
> span= 3,0,0,esf,b8zs
> bchan   = 49-72
>
> # span 4
> span= 4,2,0,esf,b8zs
> bchan   = 73-96
>
> # (end of /etc/zaptel.conf)
>
> and zapata.conf:
>
> [trunkgroups]
>  trunkgroup  = 1,24,48
>  spanmap = 1,1,0
>  spanmap = 2,1,1
>  spanmap = 3,1,2
>  spanmap = 4,1,3
>
> [channels]
>  context = block-ani
>  echocancel  = no
>  echocancelwhenbridged   = no
>  echotraining= no
>  group   = 1
>  resetinterval   = never
>  signalling  = pri_cpe
>  switchtype  = dms100
>
> ; span 1 (1-24)
>  channel = 1-23
> ; span 2 (25-48)
>  channel = 25-47
> ; span 3 (49-72)
>  channel = 49-72
> ; span 4 (73-96)
>  channel = 73-96
>
> ; (end of /etc/asterisk/zapata.conf)
>
> Any more clues on where to look to find my missing audio?
>
> Thanks in advance,
> 
> Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
> Newline Fax: +1-760-731-3000
>
>
>   
The wiki page is still as cryptic as ever.  
http://www.voip-info.org/wiki/view/NFAS

As I said before, I just kept changing the values in spanmap until it 
worked.  This was with Global Crossing.  There are only a handfull of 
combinations to try.  I did not use a backup D chan as I figured if one 
D chan went down on a trunk group, both probably would so that adds to 
your mix.

Just keep fiddling with spanmap and testing calls.  If you can get your 
provider to point DID a did to each individual span, it will make 
troubleshooting much easier without needing a tech on the phone.  This 
is how I solved my issue.

 From the wiki:
spanmap => 1,1,3
spanmap => 2,1,1
spanmap => 3,2,2
spanmap => 4,2,0

When we had it configured 0,1,2,3 any calls that came into spans 1 or 2 
worked fine. But spans 0 and 3 did not pass any audio. Switching the 
logical span numbers fixed it. This is because zapspan #1 is suppose to 
be the one that the D-Channel is on. In our case that was actually 
logical span 3. Be sure to watch out for this, we were confused and took 
up a few hours of a GBLX tech's time to get it fixed.

Thanks,
Steve Totaro

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-04 Thread Matthew Fredrickson
Steve Totaro wrote:
> Steve Edwards wrote:
>> I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard 
>> TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.
>>
>> Each "group" of T1's have the primary D on 24 and the secondary D on 96.
>>
>> The first server (ts20) and the last server (ts22) can playback 
>> "demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.
>>
>> If I call via ZAP, dead air. If I call via IAX, I hear the file.
>>
>> I copied /etc/zaptel.conf, /etc/asterisk/*, 
>> /var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.
>>
>> I have seen this in my system log file:
>>
>> Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0 
>> D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing -- 
>> resetting!
>>
>> I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5, 
>> zaptel-1.2.20.1.
>>
>> "show channel zap/?," "zap show channel ?" appear identical between 
>> working and non-working systems both "on-hook" and "off-hook."
>>
>> Any clues or clues where to start looking?
>>
>> Thanks in advance,
>> 
>> Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
>> Newline Fax: +1-760-731-3000
>>
>>
>>   
> 
> Double check both zaptel.conf and zapata.conf and also call the telco to 
> make sure they have they have the same NFAS scheme on all T1s setup 
> correctly.  Sometimes (let's face it, alot of times, the provider messes 
> something up).
> 
> Also check that all of your T1 cables are plugged into the correct T1 
> port.  I have made that mistake myself when doing 28 T1s off a T3.  I 
> got dead air just as you described.

Yes, if you are running NFAS, getting dead air on a call is a symptom of 
not having the logical span identifier correctly corresponding to the 
physical span you have plugged in (spanmap option in zapata.conf, IIRC).

-- 
Matthew Fredrickson
Software/Firmware Engineer
Digium, Inc.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-05 Thread Steve Edwards
On Thu, 4 Oct 2007, Matthew Fredrickson wrote:

> Steve Totaro wrote:
>> Steve Edwards wrote:
>>> I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard
>>> TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.
>>>
>>> Each "group" of T1's have the primary D on 24 and the secondary D on 96.
>>>
>>> The first server (ts20) and the last server (ts22) can playback
>>> "demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.
>>>
>>> If I call via ZAP, dead air. If I call via IAX, I hear the file.
>>>
>>> I copied /etc/zaptel.conf, /etc/asterisk/*,
>>> /var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.
>>>
>>> I have seen this in my system log file:
>>>
>>> Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0
>>> D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing --
>>> resetting!
>>>
>>> I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5,
>>> zaptel-1.2.20.1.
>>>
>>> "show channel zap/?," "zap show channel ?" appear identical between
>>> working and non-working systems both "on-hook" and "off-hook."
>>>
>>> Any clues or clues where to start looking?
>>
>> Double check both zaptel.conf and zapata.conf and also call the telco to
>> make sure they have they have the same NFAS scheme on all T1s setup
>> correctly.  Sometimes (let's face it, alot of times, the provider messes
>> something up).
>>
>> Also check that all of your T1 cables are plugged into the correct T1
>> port.  I have made that mistake myself when doing 28 T1s off a T3.  I
>> got dead air just as you described.
>
> Yes, if you are running NFAS, getting dead air on a call is a symptom of
> not having the logical span identifier correctly corresponding to the
> physical span you have plugged in (spanmap option in zapata.conf, IIRC).

Success (finally). The spanmap that worked (of no value to anyone else) 
is:

 trunkgroup  = 1,96,24
 spanmap = 1,1,1
 spanmap = 2,1,3
 spanmap = 3,1,2
 spanmap = 4,1,0

We were told (by Qwest) that the primary D channel was the 24th channel on 
the first T1 and the secondary D channel was on the 24th channel on the 
second T1. This turned out to be false. We even had the tech drop carrier 
on each T1 (one at a time) so we could identify which T1 was plugged into 
which port on the card.

The "winning" strategy was to configure all 4 T1's as if they had a D 
channel and let Asterisk tell me which T1's actually had a "provisioned 
and up" D channel using the "pri show span x" command. The one that showed 
as "active" I made primary and "standby" as backup.

Once I knew which physical channels were actually D's, setting up the 
trunkgroup was easy.

When I placed a call, I got audio. I nearly fell off my chair. Then the 
next call was dead air. The first call landed on the last channel of a T1 
and the next call was the first channel of the next T1.

I tried to "logically" figure out which zapspan was which logicalspan, but 
in the end I cracked open a beer, made a table of the 26 permutations and 
stepped through them one by one. On my 13th try, I got an "order" that 
gave audio on all 96 channels.

The morals of the story:

) Don't believe the tech if it conflicts with reality.

) Don't accept an NFAS trunk group until you have tested each and every 
channel.

Thanks in advance,

Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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


Re: [asterisk-users] No audio on Zap (T1/PRI) channels

2007-10-05 Thread Steve Totaro
Steve Edwards wrote:
> On Thu, 4 Oct 2007, Matthew Fredrickson wrote:
>
>   
>> Steve Totaro wrote:
>> 
>>> Steve Edwards wrote:
>>>   
 I have 12 T1's going into 3 servers, 4 in each into "Digium, Inc. Wildcard
 TE410P Quad-Span togglable E1/T1/J1 card 3.3v (rev 02)" cards.

 Each "group" of T1's have the primary D on 24 and the secondary D on 96.

 The first server (ts20) and the last server (ts22) can playback
 "demo-congrats" fine. The "middle" server (ts21) cannot -- just dead air.

 If I call via ZAP, dead air. If I call via IAX, I hear the file.

 I copied /etc/zaptel.conf, /etc/asterisk/*,
 /var/lib/asterisk/sounds/demo-congrats.gsm from ts20 to ts21 -- no joy.

 I have seen this in my system log file:

 Oct 2 18:41:49 WARNING[7477]: chan_zap.c:8087 zt_pri_error: [Span 0
 D-Channel 0] PRI: !! Got reject for frame 95, but we have nothing --
 resetting!

 I'm running asterisk-1.2.24, asterisk-addons-1.2.7, libpri-1.2.5,
 zaptel-1.2.20.1.

 "show channel zap/?," "zap show channel ?" appear identical between
 working and non-working systems both "on-hook" and "off-hook."

 Any clues or clues where to start looking?
 
>>> Double check both zaptel.conf and zapata.conf and also call the telco to
>>> make sure they have they have the same NFAS scheme on all T1s setup
>>> correctly.  Sometimes (let's face it, alot of times, the provider messes
>>> something up).
>>>
>>> Also check that all of your T1 cables are plugged into the correct T1
>>> port.  I have made that mistake myself when doing 28 T1s off a T3.  I
>>> got dead air just as you described.
>>>   
>> Yes, if you are running NFAS, getting dead air on a call is a symptom of
>> not having the logical span identifier correctly corresponding to the
>> physical span you have plugged in (spanmap option in zapata.conf, IIRC).
>> 
>
> Success (finally). The spanmap that worked (of no value to anyone else) 
> is:
>
>  trunkgroup  = 1,96,24
>  spanmap = 1,1,1
>  spanmap = 2,1,3
>  spanmap = 3,1,2
>  spanmap = 4,1,0
>
> We were told (by Qwest) that the primary D channel was the 24th channel on 
> the first T1 and the secondary D channel was on the 24th channel on the 
> second T1. This turned out to be false. We even had the tech drop carrier 
> on each T1 (one at a time) so we could identify which T1 was plugged into 
> which port on the card.
>
> The "winning" strategy was to configure all 4 T1's as if they had a D 
> channel and let Asterisk tell me which T1's actually had a "provisioned 
> and up" D channel using the "pri show span x" command. The one that showed 
> as "active" I made primary and "standby" as backup.
>
> Once I knew which physical channels were actually D's, setting up the 
> trunkgroup was easy.
>
> When I placed a call, I got audio. I nearly fell off my chair. Then the 
> next call was dead air. The first call landed on the last channel of a T1 
> and the next call was the first channel of the next T1.
>
> I tried to "logically" figure out which zapspan was which logicalspan, but 
> in the end I cracked open a beer, made a table of the 26 permutations and 
> stepped through them one by one. On my 13th try, I got an "order" that 
> gave audio on all 96 channels.
>
> The morals of the story:
>
> ) Don't believe the tech if it conflicts with reality.
>
> ) Don't accept an NFAS trunk group until you have tested each and every 
> channel.
>
> Thanks in advance,
> 
> Steve Edwards  [EMAIL PROTECTED]  Voice: +1-760-468-3867 PST
> Newline Fax: +1-760-731-3000
>   
Steve,

Glad to hear you got it working! I love that feeling when you are so 
frustrated you just want to quit or smash something and then suddenly 
you succeed!

I like your troubleshooting strategy too, configure them all as if they 
had a D chan and the ones that come up are in fact Ds. So simple, yet I 
probably would not have thought of it. I would have just tried each 
configuration until it worked.

You should update the wiki with your little nugget of troubleshooting 
NFAS wisdom.

Congrats,
Steve Totaro

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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