RE: [Asterisk-Users] Line Override Device

2003-07-14 Thread jltaylor
This power failure thing does not have to be complicated.
A few solutions come to mind:

1) A 3,5,12 (whatever is needed) power supply (wall wart)used with a relay (DPDT).  
When the wall wart has power, the computer takes the call.  When power fails, the POTS 
line falls in to place.
Now, this does not delay while the computer is booting up.

2) A basic stamp computer - about $25-30.  It has 8 programmable i/o pins that will 
drive relays. One pin monitors either a wall wart or 5v from one of the plugs on your 
computer's power supply.  When pin 1 goes low (no power) relay kicks in to bypass 
computer and connect POTS line direct.  When power returns program jumps to a sleep 
or delay statement for xMINS until computer boots. And then releases relay for 
normal operation.  www.parallaxinc.com and resellers.

James Taylor
[EMAIL PROTECTED]
903-793-1953

-- Original Message --
From: Steven Critchfield [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date: 13 Jul 2003 17:35:55 -0500

On Sun, 2003-07-13 at 15:55, John Laur wrote:
  You can build a UPS for that, but the better option here is to attach
 a
  phone to the phone side of the X100P that is always connected to the
  POTS line so that even when the computer goes down you can send and
  receive calls.
 
 If you don't want it to ring *unless* the power is out, you could wire
 it through a normally-closed relay hooked to something simple like the
 parallel port (there are schematics everywhere for this). When the
 computer is off, the relay closes, and the phone rings with the line.
 Heck, if you have an analog set on FXS you want to ring when power goes,
 you could get a SPDT relay and wire one line into open and one line into
 closed and switch between them. If you don't care much about incoming
 calls during the outage, just plugging a phone into the other end of
 X100p and turning off the ringer will do the trick.

It is easier to wire to a 12 volt(yellow) wire off of the PSU, plus this
lets you drive larger relays.

  The specs are available on the net to show you how to wire POE (Power
  over ethernet). In fact I did my own so I can use the 7960 before we
  found a suitable wall wart. Basicaly all I did was punch down a
 keystone
  with the ethernet data lines, then punched down the power lines so
 that
  one side had power and the other didn't so I didn't chance blowing up
 my
  switch that was made before they thought of doing POE. I used the
 power
  supply from a CAC AB1 that had the ringer module broke on it. It
  produces 1amp of 48volts and was more than adequate for the 7960. If I
  had a lot of phones to power, I have a 6amp 48volt PSU from a Premisys
  channel bank that I picked up at a hamfest for $10.
 
 If you do this and plug anything other than the 7960 into it like a NIC
 you can easily damage it! (google for 'etherkiller' for more) Real power
 over ethernet injectors provide power only to devices that 'ask' for it,
 but for small setups they are very much more expensive than the price of
 a UPS that could power the 7960 for hours (a $30 ups running only the
 7960 should go for at least a couple hours) - Compare this to paying
 $100+ per port for PoE injectors! Putting 'raw' 48V on the Ethernet in
 an office environment where someone else might accidentally plug
 something into the wall jack incorrectly would be a disaster! Of course
 there are some cost savings associated with not having to maintain and
 upkeep 48 UPS's for 48 phones that make PoE worth it, but I'd say that
 for less than 12 users it becomes harder to justify.

etherkillers are 110 volts AC to data pins, POE is 48 volts DC on non
data pins. This should not blow devices that are not expecting PoE.
Think about it, how would a device ask for power if it doesn't have
power to make the request?  


-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


--
James Taylor
[EMAIL PROTECTED]
903-793-1953

--
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


X100P mod or USB relay box, RE: [Asterisk-Users] Line Override Device

2003-07-14 Thread Reed Wade


The best solution would be an enhancement to the X100P card.

If the 2nd RJ jack was a pass through for the line except
when the card had power and was initialized. Some kind of
watchdog functionality would also be nice so that if, for
example, Asterisk dies then pass through functionality would
take effect after n seconds.
This would probably mean adding a relay to the board which
would raise to cast a little. But, as the original poster
indicated this is critical for a serious system.
An alternative would be an extra relay box, maybe powered by
USB. One mode could be to switch based on presence of power,
another mode could require periodic watchdog pings via the
USB. I always wanted to build something using a USB flavored
PIC...
I can see this for small offices (like ours). We have 4 incoming
lines in a hunt group. If Asterisk is not running I want one of
those lines to ring the receptionist (maybe using a simple dedicated
phone since they'd otherwise have an IP phone) and the others looped
for busy.
I can see a box with USB and 12 RJ jacks (4 x (1 in, 2 outs)) to make
that work.
Would anyone buy a product like that?

-reed



At 07:12 AM 7/14/2003 -0500, jltaylor wrote:
This power failure thing does not have to be complicated.
A few solutions come to mind:
1) A 3,5,12 (whatever is needed) power supply (wall wart)used with a relay 
(DPDT).  When the wall wart has power, the computer takes the call.  When 
power fails, the POTS line falls in to place.
Now, this does not delay while the computer is booting up.

2) A basic stamp computer - about $25-30.  It has 8 programmable i/o 
pins that will drive relays. One pin monitors either a wall wart or 5v 
from one of the plugs on your computer's power supply.  When pin 1 goes 
low (no power) relay kicks in to bypass computer and connect POTS line 
direct.  When power returns program jumps to a sleep or delay statement 
for xMINS until computer boots. And then releases relay for normal 
operation.  www.parallaxinc.com and resellers.

James Taylor
[EMAIL PROTECTED]
903-793-1953




___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: X100P mod or USB relay box, RE: [Asterisk-Users] Line Override Device

2003-07-14 Thread Reed Wade


At 11:34 AM 7/14/2003 -0500, Steven Critchfield wrote:


One wouldn't use a X100P in a serious system.


How so? I assume you're talking about scale and not
reliability. We get a relatively small number of calls
but any one of them could be worth a large stack of
cash for our business. A stinky phone system can make
us look bad.
The main reason I'm looking at Asterisk is to improve
the reliability and control over our phone system.
All the other great things it provides really are
secondary for the folks who pay my salary.



Only if you aren't pulling power from the USB bus. There isn't much
there.
There may be just enough depending on how many relays are needed,
but it would be too close. I agree, better off not trying to get
power from there.
I do like the idea of some kind of watchdog functionality. Simply
having power isn't sufficient to trust that a call is getting
routed.
-reed





___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: X100P mod or USB relay box, RE: [Asterisk-Users] Line Override Device

2003-07-14 Thread Reed Wade


At 12:57 PM 7/14/2003 -0500, you wrote:
This makes me think that you could take this a step further too and
incorporate an external power supply and a relay that could interupt
mains power so that you could power cycle the PC if the watchdog had
power to operate and the PC wasn't responding or generating pings.


i like that

-reed



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: X100P mod or USB relay box, RE: [Asterisk-Users] Line Override Device

2003-07-14 Thread Anthony Wood
The Voicetronix Openline6 and Openline12 cards have the functionality you want built 
in.
You can configure (jumpers) which ports are FXO and which are FXS (in groups of 2 
IIRC) and 1st FXO
goes to 1st FXS etc. in case of power failure.

Apparently these cards work with Asterisk (chan_vpb).

I think cost is AU$1500 and AU$3000 for 6 and 12.

cheers,
Wooody

On Mon, Jul 14, 2003 at 02:17:59PM -0400, Reed Wade wrote:
 
 
 At 12:57 PM 7/14/2003 -0500, you wrote:
 This makes me think that you could take this a step further too and
 incorporate an external power supply and a relay that could interupt
 mains power so that you could power cycle the PC if the watchdog had
 power to operate and the PC wasn't responding or generating pings.
 
 
 i like that
 
 -reed
 
 
 
 ___
 Asterisk-Users mailing list
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
Woody
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Line Override Device

2003-07-13 Thread Steven Critchfield
Please understand that most mailing lists don't like HTML messages, and
specifically when your chosen font size makes the text way to small to
be read. The font size may be fine for your screen, but in the big wide
world of the net you will find people who use bigger monitors and fonts
tuned specifically for normal font sizes to be just readable at the
normal sitting distance from their monitor. When your mailer adjusts the
size to smaller than normal, it becomes a problem.

On Sun, 2003-07-13 at 13:16, Shawn L. Djernes wrote:
 Hello,
  
 I am trying to solve a problem that I can foresee when I deploy
 Asterisk into a few SOHO situations soon.  In Nebraska and in my area
 of Western Pennsylvania we have violent thunderstorms in spring and
 summer and sometimes very heavy wet snow in Winter.  Both type of
 event will take out the power of a period of 30sec to 36-hours.  So no
 UPS system would be able to handle a system for over an hour.  So what
 I am wanting to build or buy is a device that when normal power is on
 and we have battery output on a FXS that the line dumb analog phone
 talks to asterisk, but when the UPS has shutdown and our phone system
 goes down, thus no battery signal on the line it switches that same
 dumb analog phone to the outside Analog trunk.  This was the users can
 make and receive any emergency calls while the power is out. 

You can build a UPS for that, but the better option here is to attach a
phone to the phone side of the X100P that is always connected to the
POTS line so that even when the computer goes down you can send and
receive calls.

 I have the basic concept of how this thing should work but not enough
 knowledge of telephone electronics to build it.  I think this should
 be an essential part of any PBX that supports analog lines and would
 be willing to pay a reasonable price for it.
  
 Next sort of on the same topic.  Does anyone have a diagram or know of
 some where you can buy a single or dual port Cisco power inserter.  I
 want to put the Power Adapter for my 7960 over on the UPS so that the
 phone on my desk doesn't die right away when the power flickers or
 goes out.  My battery a APC Back UPS Pro 650 holds the Asterisk server
 (Athlon 850 w/ 384 mb ram, X100P, Netgear FA311 10/100, Kinkston 10mb
 ne2k-pci clone, S3 Savage clone video, IBM 15GB, IBM 60GB, IBM 80GB
 IDE drives and four fans) Westtel DSL modem, Netgear 10mb hub (outside
 interfaces), Intel Pro 8-port managed switch (inside interfaces) for
 25-30 minutes and that is usually enough for the power company
 equipment to reset around here.

The specs are available on the net to show you how to wire POE (Power
over ethernet). In fact I did my own so I can use the 7960 before we
found a suitable wall wart. Basicaly all I did was punch down a keystone
with the ethernet data lines, then punched down the power lines so that
one side had power and the other didn't so I didn't chance blowing up my
switch that was made before they thought of doing POE. I used the power
supply from a CAC AB1 that had the ringer module broke on it. It
produces 1amp of 48volts and was more than adequate for the 7960. If I
had a lot of phones to power, I have a 6amp 48volt PSU from a Premisys
channel bank that I picked up at a hamfest for $10.

BTW, for the UPS, we have some powerware UPSs that have plugs for
external batteries. In our former server room we have one with 5 car
battery sized batteries attached to it. We feel we had about a 10 hour
run time. 

-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Line Override Device

2003-07-13 Thread Shawn L. Djernes
Sorry about that.  I had just got rid of Outlooks annoying feature of using
MS Word as the editor and so the font size should have been about 14pt
Arial.  I know this because I am legally blind (meaning that I can't read
anything under 14pt) but looks like it screwed up again.

Shawn

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steven
Critchfield
Sent: Sunday, July 13, 2003 15:10
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] Line Override Device


Please understand that most mailing lists don't like HTML messages, and
specifically when your chosen font size makes the text way to small to
be read. The font size may be fine for your screen, but in the big wide
world of the net you will find people who use bigger monitors and fonts
tuned specifically for normal font sizes to be just readable at the
normal sitting distance from their monitor. When your mailer adjusts the
size to smaller than normal, it becomes a problem.

On Sun, 2003-07-13 at 13:16, Shawn L. Djernes wrote:
 Hello,

 I am trying to solve a problem that I can foresee when I deploy
 Asterisk into a few SOHO situations soon.  In Nebraska and in my area
 of Western Pennsylvania we have violent thunderstorms in spring and
 summer and sometimes very heavy wet snow in Winter.  Both type of
 event will take out the power of a period of 30sec to 36-hours.  So no
 UPS system would be able to handle a system for over an hour.  So what
 I am wanting to build or buy is a device that when normal power is on
 and we have battery output on a FXS that the line dumb analog phone
 talks to asterisk, but when the UPS has shutdown and our phone system
 goes down, thus no battery signal on the line it switches that same
 dumb analog phone to the outside Analog trunk.  This was the users can
 make and receive any emergency calls while the power is out.

You can build a UPS for that, but the better option here is to attach a
phone to the phone side of the X100P that is always connected to the
POTS line so that even when the computer goes down you can send and
receive calls.

 I have the basic concept of how this thing should work but not enough
 knowledge of telephone electronics to build it.  I think this should
 be an essential part of any PBX that supports analog lines and would
 be willing to pay a reasonable price for it.

 Next sort of on the same topic.  Does anyone have a diagram or know of
 some where you can buy a single or dual port Cisco power inserter.  I
 want to put the Power Adapter for my 7960 over on the UPS so that the
 phone on my desk doesn't die right away when the power flickers or
 goes out.  My battery a APC Back UPS Pro 650 holds the Asterisk server
 (Athlon 850 w/ 384 mb ram, X100P, Netgear FA311 10/100, Kinkston 10mb
 ne2k-pci clone, S3 Savage clone video, IBM 15GB, IBM 60GB, IBM 80GB
 IDE drives and four fans) Westtel DSL modem, Netgear 10mb hub (outside
 interfaces), Intel Pro 8-port managed switch (inside interfaces) for
 25-30 minutes and that is usually enough for the power company
 equipment to reset around here.

The specs are available on the net to show you how to wire POE (Power
over ethernet). In fact I did my own so I can use the 7960 before we
found a suitable wall wart. Basicaly all I did was punch down a keystone
with the ethernet data lines, then punched down the power lines so that
one side had power and the other didn't so I didn't chance blowing up my
switch that was made before they thought of doing POE. I used the power
supply from a CAC AB1 that had the ringer module broke on it. It
produces 1amp of 48volts and was more than adequate for the 7960. If I
had a lot of phones to power, I have a 6amp 48volt PSU from a Premisys
channel bank that I picked up at a hamfest for $10.

BTW, for the UPS, we have some powerware UPSs that have plugs for
external batteries. In our former server room we have one with 5 car
battery sized batteries attached to it. We feel we had about a 10 hour
run time.

--
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Line Override Device

2003-07-13 Thread John Laur
 You can build a UPS for that, but the better option here is to attach
a
 phone to the phone side of the X100P that is always connected to the
 POTS line so that even when the computer goes down you can send and
 receive calls.

If you don't want it to ring *unless* the power is out, you could wire
it through a normally-closed relay hooked to something simple like the
parallel port (there are schematics everywhere for this). When the
computer is off, the relay closes, and the phone rings with the line.
Heck, if you have an analog set on FXS you want to ring when power goes,
you could get a SPDT relay and wire one line into open and one line into
closed and switch between them. If you don't care much about incoming
calls during the outage, just plugging a phone into the other end of
X100p and turning off the ringer will do the trick.


 The specs are available on the net to show you how to wire POE (Power
 over ethernet). In fact I did my own so I can use the 7960 before we
 found a suitable wall wart. Basicaly all I did was punch down a
keystone
 with the ethernet data lines, then punched down the power lines so
that
 one side had power and the other didn't so I didn't chance blowing up
my
 switch that was made before they thought of doing POE. I used the
power
 supply from a CAC AB1 that had the ringer module broke on it. It
 produces 1amp of 48volts and was more than adequate for the 7960. If I
 had a lot of phones to power, I have a 6amp 48volt PSU from a Premisys
 channel bank that I picked up at a hamfest for $10.

If you do this and plug anything other than the 7960 into it like a NIC
you can easily damage it! (google for 'etherkiller' for more) Real power
over ethernet injectors provide power only to devices that 'ask' for it,
but for small setups they are very much more expensive than the price of
a UPS that could power the 7960 for hours (a $30 ups running only the
7960 should go for at least a couple hours) - Compare this to paying
$100+ per port for PoE injectors! Putting 'raw' 48V on the Ethernet in
an office environment where someone else might accidentally plug
something into the wall jack incorrectly would be a disaster! Of course
there are some cost savings associated with not having to maintain and
upkeep 48 UPS's for 48 phones that make PoE worth it, but I'd say that
for less than 12 users it becomes harder to justify.

 BTW, for the UPS, we have some powerware UPSs that have plugs for
 external batteries. In our former server room we have one with 5 car
 battery sized batteries attached to it. We feel we had about a 10 hour
 run time.

Even a lot of the UPS's that don't have plugs for this stuff can still
be run with external batteries if they have a good charge controller
that can deal with it. I have seen a lot of weird setups that use car
and tractor batteries glommed into APC ups's that run lots of important
systems! Go for it if you can justify the risk.. 

John

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Line Override Device

2003-07-13 Thread Steven Critchfield
On Sun, 2003-07-13 at 15:00, Shawn L. Djernes wrote:
 Sorry about that.  I had just got rid of Outlooks annoying feature of using
 MS Word as the editor and so the font size should have been about 14pt
 Arial.  I know this because I am legally blind (meaning that I can't read
 anything under 14pt) but looks like it screwed up again.
 

The problem is that pt size isn't a good metric for cross screen setups.
Even at that if you look at the source of the HTML that was produced,
you would see that it is setting font size=2.  
-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Line Override Device

2003-07-13 Thread Steven Critchfield
On Sun, 2003-07-13 at 15:55, John Laur wrote:
  You can build a UPS for that, but the better option here is to attach
 a
  phone to the phone side of the X100P that is always connected to the
  POTS line so that even when the computer goes down you can send and
  receive calls.
 
 If you don't want it to ring *unless* the power is out, you could wire
 it through a normally-closed relay hooked to something simple like the
 parallel port (there are schematics everywhere for this). When the
 computer is off, the relay closes, and the phone rings with the line.
 Heck, if you have an analog set on FXS you want to ring when power goes,
 you could get a SPDT relay and wire one line into open and one line into
 closed and switch between them. If you don't care much about incoming
 calls during the outage, just plugging a phone into the other end of
 X100p and turning off the ringer will do the trick.

It is easier to wire to a 12 volt(yellow) wire off of the PSU, plus this
lets you drive larger relays.

  The specs are available on the net to show you how to wire POE (Power
  over ethernet). In fact I did my own so I can use the 7960 before we
  found a suitable wall wart. Basicaly all I did was punch down a
 keystone
  with the ethernet data lines, then punched down the power lines so
 that
  one side had power and the other didn't so I didn't chance blowing up
 my
  switch that was made before they thought of doing POE. I used the
 power
  supply from a CAC AB1 that had the ringer module broke on it. It
  produces 1amp of 48volts and was more than adequate for the 7960. If I
  had a lot of phones to power, I have a 6amp 48volt PSU from a Premisys
  channel bank that I picked up at a hamfest for $10.
 
 If you do this and plug anything other than the 7960 into it like a NIC
 you can easily damage it! (google for 'etherkiller' for more) Real power
 over ethernet injectors provide power only to devices that 'ask' for it,
 but for small setups they are very much more expensive than the price of
 a UPS that could power the 7960 for hours (a $30 ups running only the
 7960 should go for at least a couple hours) - Compare this to paying
 $100+ per port for PoE injectors! Putting 'raw' 48V on the Ethernet in
 an office environment where someone else might accidentally plug
 something into the wall jack incorrectly would be a disaster! Of course
 there are some cost savings associated with not having to maintain and
 upkeep 48 UPS's for 48 phones that make PoE worth it, but I'd say that
 for less than 12 users it becomes harder to justify.

etherkillers are 110 volts AC to data pins, POE is 48 volts DC on non
data pins. This should not blow devices that are not expecting PoE.
Think about it, how would a device ask for power if it doesn't have
power to make the request?  


-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users