Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-24 Thread Johan Bilien
On Thu, Feb 24, 2005, Peter Svensson wrote:
> On Thu, 24 Feb 2005, Johan Bilien wrote:
> 
> > On the latter, I can choose the linetype to be one of the following:
> > 
> > E1Unframed   - 2 Mbit/sec unframed signal
> > E1   - 2 Mbit/sec framed PCM31 signal
> > E1Crc- 2 Mbit/sec framed PCM31 signal with CRC
> > E1Mf - 2 Mbit/sec framed PCM30 multiframed signal
> > E1CrcMf  - 2 Mbit/sec framed PCM30 multiframed signal with
> > CRC
> > 
> > Since I want to use PRI signaling I have configured zaptel in CCS mode.
> > So I think the right choice on the other equipment would be "E1", am I
> > right? Or is it "E1Mf"?
> 
> The "E1" setting aboe is for an E1 with *no* signalling channel, a very 
> uncommon configuration. Use E1CrcMf and enable CRC on the asterisk box.
> E1:s are almost exclusivly run in multiframe mode and with a dedicated 
> signalling channel.

Ok, I now configured the equipment with the following settings:

E1T1 Interface IO-1/2  :
-
adminon
status   Down
alias
timeslots(0-31)
lineType E1CrcMf
cfa  true
idleCode 0x7e
lineCode HDB3
restoreTime  721E1
lineLen  Not supported for E1
sensitivity  Not supported for E1
gain Not supported for E1
fdl  N/A
dsucsu   Not supported for E1
ifClkTypeCard
ifClkSrc N/A
loopStatus   None
hasCesSignaling  false
RxLineLoop   off
-

and zaptel with CCS/HDB3/CRC4. But the equipment still reports the LOF
alarm and zaptel a yellow alarm :(

One thing, the equipment is an E1/IP tunneling system. I'm not sure
about the hasCesSignaling option, which is described as "E1/T1 has a
Cesoip service that carry its signaling". When set to true, zaptel gets
a red alarm instead. 

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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-24 Thread Peter Svensson
On Thu, 24 Feb 2005, Johan Bilien wrote:

> On the latter, I can choose the linetype to be one of the following:
> 
> E1Unframed   - 2 Mbit/sec unframed signal
> E1   - 2 Mbit/sec framed PCM31 signal
> E1Crc- 2 Mbit/sec framed PCM31 signal with CRC
> E1Mf - 2 Mbit/sec framed PCM30 multiframed signal
> E1CrcMf  - 2 Mbit/sec framed PCM30 multiframed signal with
> CRC
> 
> Since I want to use PRI signaling I have configured zaptel in CCS mode.
> So I think the right choice on the other equipment would be "E1", am I
> right? Or is it "E1Mf"?

The "E1" setting aboe is for an E1 with *no* signalling channel, a very 
uncommon configuration. Use E1CrcMf and enable CRC on the asterisk box.
E1:s are almost exclusivly run in multiframe mode and with a dedicated 
signalling channel.

Peter

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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-24 Thread Johan Bilien
On Thu, Feb 24, 2005, Johan Bilien wrote:
> > Note that a CAT5 crossover cable will not work.  Once you've done this, 
> > set up two spans on your TE410P as you've done it, except that one of 
> > them should be CPE and the other one NET in zapata.conf.  Now calls 
> > originated on any of the 30 channels on one span will appear as incoming 
> > on the other one.  I don't think the clock source as set in zaptel makes 
> > any difference for these purposes, as it's specifying the clock source 
> > for functions like meet-me, not the framing clock which is derived from 
> > the E1 signal itself.
> 
> I did that and was able to pass a call, both signaling and sound, from
> port 1 to port 2. So my TE410P seems to be working.
> 
> > One last thing is to check the jumpers on the card itself to make sure 
> > they are set for E1.  (doesn't look like this is the problem tho)
> 
> Yes they are set to E1.
> 
> > And, finally, actually shut the system all the way down, including 
> > power, and reboot to make sure new settings are loaded into the TE410.  
> > I think this is a design shortcoming in the card that it's possible for 
> > it not to clear it's settings even on a restart (without power down)
> 
> I did that to, but I still get the LOF on the remote equipment and the
> yellow alarm on my side :(

I also tested to loop on the other equipment, and it seems to work. So
the problem only appears when the TE410P tries to speak to the other
equipment.

On the latter, I can choose the linetype to be one of the following:

E1Unframed   - 2 Mbit/sec unframed signal
E1   - 2 Mbit/sec framed PCM31 signal
E1Crc- 2 Mbit/sec framed PCM31 signal with CRC
E1Mf - 2 Mbit/sec framed PCM30 multiframed signal
E1CrcMf  - 2 Mbit/sec framed PCM30 multiframed signal with
CRC

Since I want to use PRI signaling I have configured zaptel in CCS mode.
So I think the right choice on the other equipment would be "E1", am I
right? Or is it "E1Mf"?

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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-24 Thread Johan Bilien
On Wed, Feb 23, 2005, Scott Stingel wrote:
> 
> Note that a CAT5 crossover cable will not work.  Once you've done this, 
> set up two spans on your TE410P as you've done it, except that one of 
> them should be CPE and the other one NET in zapata.conf.  Now calls 
> originated on any of the 30 channels on one span will appear as incoming 
> on the other one.  I don't think the clock source as set in zaptel makes 
> any difference for these purposes, as it's specifying the clock source 
> for functions like meet-me, not the framing clock which is derived from 
> the E1 signal itself.

I did that and was able to pass a call, both signaling and sound, from
port 1 to port 2. So my TE410P seems to be working.

> One last thing is to check the jumpers on the card itself to make sure 
> they are set for E1.  (doesn't look like this is the problem tho)

Yes they are set to E1.

> And, finally, actually shut the system all the way down, including 
> power, and reboot to make sure new settings are loaded into the TE410.  
> I think this is a design shortcoming in the card that it's possible for 
> it not to clear it's settings even on a restart (without power down)

I did that to, but I still get the LOF on the remote equipment and the
yellow alarm on my side :(

Thanks for your help,
Johan.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Scott Stingel
To test the TE410P itself, you can construct a simple cross-over cable 
by hacking up a short CAT-5 cable as you describe:
1 - 4
2 - 5
4 - 1
5 - 2

Note that a CAT5 crossover cable will not work.  Once you've done this, 
set up two spans on your TE410P as you've done it, except that one of 
them should be CPE and the other one NET in zapata.conf.  Now calls 
originated on any of the 30 channels on one span will appear as incoming 
on the other one.  I don't think the clock source as set in zaptel makes 
any difference for these purposes, as it's specifying the clock source 
for functions like meet-me, not the framing clock which is derived from 
the E1 signal itself.

One last thing is to check the jumpers on the card itself to make sure 
they are set for E1.  (doesn't look like this is the problem tho)

And, finally, actually shut the system all the way down, including 
power, and reboot to make sure new settings are loaded into the TE410.  
I think this is a design shortcoming in the card that it's possible for 
it not to clear it's settings even on a restart (without power down)

With the setup above, you should get green lights on the connected 
spans, and should be able to send calls from one to the other.  By the 
way, to initiate outbound calls use the .call file facility (see the Wiki)

Good luck!
Scott Stingel
President
Emerging Voice Technology, Inc.
Palo Alto California and London England
www.evtmedia.com

Johan Bilien wrote:
I guess I need some special equipment to do the tests, right?
Unfortunately I don't have any such tool :( Maybe I can try to connect
the card to some other E1 equipment.
One question: I'm not sure if this equipment requires a "cross" or a
straight cable. I tried with a straight one, and since I got the green
LED I assumed it was correct. But could it be that I need to cross the
cable? I mean send pin 1 and 2 to 4 and 5? If so would the green LED be
lit?
Thanks,
Johan.
Thanks,
Johan.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
.
 

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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Peter Svensson
On Wed, 23 Feb 2005, Johan Bilien wrote:

> But why would I only have a LOF error on one side?

You could have one damaged pair in the cable. I.e. Asterisk can hear the 
other box, but the other box does not hear Asterisk. Ususally you would 
expect a red alarm (Loss of Signal) and not a LOF in that case. The cable 
may be good enough to receive the signal, but with enough errors to 
prevent the framing to be detected. Unusual, but possible.

Of course, it could just be a configuration mismatch. 

Try placing loops at various places and see if the machines can see 
themselves after a round trip.

Peter


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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Peter Svensson
On Wed, 23 Feb 2005, Kevin P. Fleming wrote:

> Peter Svensson wrote:
> 
> > Yellow alarm is the same as "remote alarm" - i.e. the other side is saying 
> > that it cannot hear you. Given the Loss Of Framing on the other end this 
> > seems resonable.
> 
> Actually, "yellow alarm" is most frequently generated when the link 
> (physical layer) is up and running, but the circuit (logical layer) is 
> not "up" (administratively).

Yellow alarm means that the "Alarm Indication" bit is set in the received 
syncronization frame from the far end equipment. As far as I know (and can 
tell from Cisco etc) the AI is most often set on incoming red alarm, i.e. 
loss of signal.

> LOF usually generates "red alarm" in my experience if left uncorrected :-)

LOF would generate a local red alarm and a yellow alarm at the other end, 
if that path is working.

What the original poster is seeing could be as simple as one pair being 
bad. I think a slightly broken rx pair from the remote equipment to his 
Asterisk box would create this pattern of alarm. Of course, it could be a 
broken E1 card as well at either end.

I'd try placing a loopback plug at various places, facing either way, 
along the path between the two pieces of equipment.

Peter


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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Johan Bilien
On Wed, Feb 23, 2005, Kevin P. Fleming wrote:
> >Both end are configured for ccs hdb3. For clock, I used
> >span=1,1,0,ccs,hdb3
> >
> >As I understand this means that the card will get its synchronization
> >source from the other end right? And at the other end I have configured
> >the equipment to take its source from the system clock, or from another
> >E1 link. None of them removed the LOF alarm on the link to my asterisk
> 
> That looks to be correct. Have you done any loopback testing to make 
> that the TE410P is working correctly, and that the E1 ports on the other 
> equipment are working correctly?

I guess I need some special equipment to do the tests, right?
Unfortunately I don't have any such tool :( Maybe I can try to connect
the card to some other E1 equipment.

One question: I'm not sure if this equipment requires a "cross" or a
straight cable. I tried with a straight one, and since I got the green
LED I assumed it was correct. But could it be that I need to cross the
cable? I mean send pin 1 and 2 to 4 and 5? If so would the green LED be
lit?

Thanks,
Johan.

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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Kevin P. Fleming
Johan Bilien wrote:
Both end are configured for ccs hdb3. For clock, I used
span=1,1,0,ccs,hdb3
As I understand this means that the card will get its synchronization
source from the other end right? And at the other end I have configured
the equipment to take its source from the system clock, or from another
E1 link. None of them removed the LOF alarm on the link to my asterisk
That looks to be correct. Have you done any loopback testing to make 
that the TE410P is working correctly, and that the E1 ports on the other 
equipment are working correctly?
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Johan Bilien
On Wed, Feb 23, 2005, Kevin P. Fleming wrote:
> >But why would I only have a LOF error on one side?
> 
> Clocking issues, probably. You have a mismatch in clock source, framing 
> types or the like somewhere :-(

Both end are configured for ccs hdb3. For clock, I used
span=1,1,0,ccs,hdb3

As I understand this means that the card will get its synchronization
source from the other end right? And at the other end I have configured
the equipment to take its source from the system clock, or from another
E1 link. None of them removed the LOF alarm on the link to my asterisk
:(

> 
> >What does the Down mean here? Is it an administrative down state, or one
> >that comes from the alarms?
> 
> Yes, "Down" here means the span is down, Asterisk is not able to 
> communicate over the D-channel to the other end to bring the span up. 
> You will see this even if the link is running perfectly, if the other 
> end has been forced "down" (which is common with telcos when a new 
> circuit is brought up).

The interface is 'admin up' on the other side. 

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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Kevin P. Fleming
Johan Bilien wrote:
But why would I only have a LOF error on one side?
Clocking issues, probably. You have a mismatch in clock source, framing 
types or the like somewhere :-(

What does the Down mean here? Is it an administrative down state, or one
that comes from the alarms?
Yes, "Down" here means the span is down, Asterisk is not able to 
communicate over the D-channel to the other end to bring the span up. 
You will see this even if the link is running perfectly, if the other 
end has been forced "down" (which is common with telcos when a new 
circuit is brought up).
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Johan Bilien
On Wed, Feb 23, 2005, Kevin P. Fleming wrote:
> Peter Svensson wrote:
> 
> >Yellow alarm is the same as "remote alarm" - i.e. the other side is saying 
> >that it cannot hear you. Given the Loss Of Framing on the other end this 
> >seems resonable.
> 
> Actually, "yellow alarm" is most frequently generated when the link 
> (physical layer) is up and running, but the circuit (logical layer) is 
> not "up" (administratively).
> 
> LOF usually generates "red alarm" in my experience if left uncorrected :-)

But why would I only have a LOF error on one side?

Here's the PRI state according to Asterisk:


pstn-gw*CLI> pri show span 1
Primary D-channel: 16
Status: Provisioned, In Alarm, Down, Active

Switchtype: EuroISDN
Type: Network
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
Switchtype: EuroISDN
Switchtype: EuroISDN
Type: Network
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
Switchtype: EuroISDN
Type: Network
(...)

What does the Down mean here? Is it an administrative down state, or one
that comes from the alarms?

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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Kevin P. Fleming
Peter Svensson wrote:
Yellow alarm is the same as "remote alarm" - i.e. the other side is saying 
that it cannot hear you. Given the Loss Of Framing on the other end this 
seems resonable.
Actually, "yellow alarm" is most frequently generated when the link 
(physical layer) is up and running, but the circuit (logical layer) is 
not "up" (administratively).

LOF usually generates "red alarm" in my experience if left uncorrected :-)
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Johan Bilien
On Wed, Feb 23, 2005, Peter Svensson wrote:
> On Wed, 23 Feb 2005, Johan Bilien wrote:
> Yellow alarm is the same as "remote alarm" - i.e. the other side is saying 
> that it cannot hear you. Given the Loss Of Framing on the other end this 
> seems resonable.
> 
> Is the remote end set to use CRC4? Try adding ",crc4" to the end of the 
> span line.

I tried that but kept getting Red alarm / Recovering alternatively. I am
almost sure the other end is configured without CRC.

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


Re: [Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Peter Svensson
On Wed, 23 Feb 2005, Johan Bilien wrote:

> I'm trying to connect a PC with a TE410P to an E1/IP equipment.
> Unfortunately I keep getting a yellow alarm from zaptel (in zttool) 
> and a Loss of Framing alarm on the remote equipment.
> 
> The E1/IP is connected on the other side to a PRI interface on a GSM
> MSC.
> 
> I have configured the span as:
> span=1,1,0,ccs,hdb3 (also tried span=1,0,0,ccs,hdb3)
> 
> and the channels as:
> bchan=1-15,17-31
> dchan=16
> 
> The LED on the port is green.
> 
> I tried to load both the se and us tonezones (I'm in Sweden).
> 
> Is there a way I can know why the yellow alarm was triggered? And do
> you have ideas why the other equipment reports a LOF alarm?

Yellow alarm is the same as "remote alarm" - i.e. the other side is saying 
that it cannot hear you. Given the Loss Of Framing on the other end this 
seems resonable.

Is the remote end set to use CRC4? Try adding ",crc4" to the end of the 
span line.

Peter


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


[Asterisk-Users] Problem connecting a TE410P to an E1/IP equipment

2005-02-23 Thread Johan Bilien
Hi,

I'm trying to connect a PC with a TE410P to an E1/IP equipment.
Unfortunately I keep getting a yellow alarm from zaptel (in zttool) 
and a Loss of Framing alarm on the remote equipment.

The E1/IP is connected on the other side to a PRI interface on a GSM
MSC.

I have configured the span as:
span=1,1,0,ccs,hdb3 (also tried span=1,0,0,ccs,hdb3)

and the channels as:
bchan=1-15,17-31
dchan=16

The LED on the port is green.

I tried to load both the se and us tonezones (I'm in Sweden).

Is there a way I can know why the yellow alarm was triggered? And do
you have ideas why the other equipment reports a LOF alarm?

Here's the content of /proc/zaptel/1:

cat /proc/zaptel/1
Span 1: TE4/0/1 "TE410P (PCI) Card 0 Span 1" HDB3/CCS YELLOW ClockSource
IRQ misses: 4

   1 TE4/0/1/1 Clear (In use)
   2 TE4/0/1/2 Clear (In use)
   3 TE4/0/1/3 Clear (In use)
   4 TE4/0/1/4 Clear (In use)
   (...)
  10 TE4/0/1/10 Clear (In use)
  11 TE4/0/1/11 Clear (In use)
  12 TE4/0/1/12 Clear (In use)
  13 TE4/0/1/13 Clear (In use)
  14 TE4/0/1/14 Clear (In use)
  15 TE4/0/1/15 Clear (In use)
  16 TE4/0/1/16 HDLCFCS (In use)
  17 TE4/0/1/17 Clear (In use)
  18 TE4/0/1/18 Clear (In use)
  (...)
  27 TE4/0/1/27 Clear (In use)
  28 TE4/0/1/28 Clear (In use)
  29 TE4/0/1/29
Thanks,
Johan
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users