Re: [asterisk-users] really sorry about this - E1 vs T1

2007-10-16 Thread Matthew Fredrickson
Andreas van dem Helge wrote:
 On 10/11/07, Matthew Fredrickson [EMAIL PROTECTED] wrote:
 
 Yes, see the t1e1override module parameter in wct4xxp/base.c. IIRC, it's
 0xff to hard code to E1 mode, and set it to 0 for T1 mode.  -1 is to use
 the jumper settings.
 
 Seems like a bad design. Why not just make it a software choice??
 

That is a software choice.  So you can either use the jumpers, or your 
can override it in software.

-- 
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] really sorry about this - E1 vs T1

2007-10-15 Thread Andreas van dem Helge
On 10/11/07, Matthew Fredrickson [EMAIL PROTECTED] wrote:

 Yes, see the t1e1override module parameter in wct4xxp/base.c. IIRC, it's
 0xff to hard code to E1 mode, and set it to 0 for T1 mode.  -1 is to use
 the jumper settings.

Seems like a bad design. Why not just make it a software choice??

___
--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] really sorry about this - E1 vs T1

2007-10-15 Thread Andrew Kohlsmith
On Monday 15 October 2007 17:18:00 Andreas van dem Helge wrote:
 On 10/11/07, Matthew Fredrickson [EMAIL PROTECTED] wrote:
  Yes, see the t1e1override module parameter in wct4xxp/base.c. IIRC, it's
  0xff to hard code to E1 mode, and set it to 0 for T1 mode.  -1 is to use
  the jumper settings.

 Seems like a bad design. Why not just make it a software choice??

Did he not just give you the software choice?

-A.

___
--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] really sorry about this - E1 vs T1

2007-10-13 Thread Tzafrir Cohen
On Sat, Oct 13, 2007 at 04:41:11AM +0200, Philipp Kempgen wrote:

  Yes, see the t1e1override module parameter in wct4xxp/base.c. IIRC, it's 
  0xff to hard code to E1 mode, and set it to 0 for T1 mode.  -1 is to use 
  the jumper settings.
 
 ztcfg -vv
 will tell you the number of channels, so you can tell whether
 the card is in T1 or E1 mode.

Actually this will tell you the number of channels you wrote in
zaptel.conf . If you got no error, then chances are the configuration is
connect.

It is simpler to look directly at the representation of the span in
under /proc/zaptel . 24 channels means T1 (or J1?) and 31 channels mean
E1.

This is what genzaptelconf and zapconf do .

-- 
   Tzafrir Cohen   
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--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] really sorry about this - E1 vs T1

2007-10-12 Thread James Collier
The cards ship configured for T1.  If you didn?t change the jumpers, it is
set for T1.

If it is set for T1 and you really want an E1 and you configure your
zapata.conf as you would for an E1, you will get an error around channel 25,
which tells you that you forgot to change the jumpers, and you have to call
the guy on site and ask him (again) to close the jumpers on the card
This has never happened to me of course, but it happens regularly to this
guy that I know..



-Mensaje original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nombre de Julian
Lyndon-Smith
Enviado el: viernes, 12 de octubre de 2007 0:08
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Asunto: [asterisk-users] really sorry about this - E1 vs T1


I am *really* sorry about hijacking this thread, but the only way I can
post to the -user list is by replying to another thread. (btw, this is
getting really annoying. Please, Digium, sort the filters out!)

I installed my super-duper new TE412P card today, without remembering to
check the settings for T1/E1.

As the server is now a hundred miles away, is there

a) Any way of checking what setting is in place
b) Changing that setting

without having to physically remove the card and see ?

Julian.


___
--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


___
--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] really sorry about this - E1 vs T1

2007-10-12 Thread Philipp Kempgen
Matthew Fredrickson wrote:

 Julian Lyndon-Smith wrote:
 I am *really* sorry about hijacking this thread, but the only way I can 
 post to the -user list is by replying to another thread. (btw, this is 
 getting really annoying. Please, Digium, sort the filters out!)

 I installed my super-duper new TE412P card today, without remembering to 
 check the settings for T1/E1.

 As the server is now a hundred miles away, is there

 a) Any way of checking what setting is in place
 b) Changing that setting

 without having to physically remove the card and see ?
 
 Yes, see the t1e1override module parameter in wct4xxp/base.c. IIRC, it's 
 0xff to hard code to E1 mode, and set it to 0 for T1 mode.  -1 is to use 
 the jumper settings.

ztcfg -vv
will tell you the number of channels, so you can tell whether
the card is in T1 or E1 mode.

You can use

rmmod wct4xxp
modprobe wct4xxp t1e1override=0xFF
ztcfg -s
ztcfg -vv

to switch all port on the card to E1 or 0x00 to switch to T1.
(*not* permanent)

To do a permanent change you could edit /etc/default/zaptel
(Debian and CentOS) or /etc/sysconfig/zaptel (CentOS).
Look for wct4xxp_ARGS.

Regards,
  Philipp Kempgen

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
  Asterisk? - http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998

___
--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] really sorry about this - E1 vs T1

2007-10-11 Thread Matthew Fredrickson
Julian Lyndon-Smith wrote:
 I am *really* sorry about hijacking this thread, but the only way I can 
 post to the -user list is by replying to another thread. (btw, this is 
 getting really annoying. Please, Digium, sort the filters out!)
 
 I installed my super-duper new TE412P card today, without remembering to 
 check the settings for T1/E1.
 
 As the server is now a hundred miles away, is there
 
 a) Any way of checking what setting is in place
 b) Changing that setting
 
 without having to physically remove the card and see ?

Yes, see the t1e1override module parameter in wct4xxp/base.c. IIRC, it's 
0xff to hard code to E1 mode, and set it to 0 for T1 mode.  -1 is to use 
the jumper settings.

-- 
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