[asterisk-users] using asterisk on a shared line

2009-07-23 Thread Bill Lovett
Can Asterisk be configured to hang up if another phone picks up?

I'm a bit lost as far as terminology goes, but here's my setup. At  
home, I have asterisk answering calls from the pstn and sending them  
through to a sip extension or voicemail. All that is working fine.

The box running Asterisk isn't on 24/7 so I have a secondary phone  
connected to the line as well. If Asterisk is not running, I can  
answer an incoming call from that phone. If asterisk is running, I can  
answer the call from a sip extension.

Can I have it both ways? Can Asterisk back off if the secondary phone  
answers the call? Currently, if a call comes in and I answer it from  
the secondary phone Asterisk will continue to ring the sip extension  
and eventually drop into voicemail. 

___
-- 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] using asterisk on a shared line

2009-07-23 Thread Steve Totaro
On Thu, Jul 23, 2009 at 8:34 PM, Trevor Hammonds tre...@concipient.netwrote:

 Bill Lovett wrote:
 
 Can Asterisk be configured to hang up if another phone picks up?
 
 I'm a bit lost as far as terminology goes, but here's my setup. At
 home, I have asterisk answering calls from the pstn and sending them
 through to a sip extension or voicemail. All that is working fine.
 
 The box running Asterisk isn't on 24/7 so I have a secondary phone
 connected to the line as well. If Asterisk is not running, I can
 answer an incoming call from that phone. If asterisk is running, I can
 answer the call from a sip extension.
 
 Can I have it both ways? Can Asterisk back off if the secondary phone
 answers the call? Currently, if a call comes in and I answer it from
 the secondary phone Asterisk will continue to ring the sip extension
 and eventually drop into voicemail.

 Asterisk is a PBX, not an answering machine, so I would advise against
 this.
 It would be best to have Asterisk handle the phone line exclusively, 24/7.
 However, with that said, it is possible to accomplish what you are asking.

 Placing a telephone privacy/exclusion adapter on the line cord into
 Asterisk
 will cut off the phone line whenever a parallel telephone on the same line
 is picked up.  This means that the instant you pick up any other phone on
 the line, it would cut off the line to Asterisk.

 Radio Shack used to sell a couple varieties of these.  One was a two-way
 adapter with one side for phone and the other answering machine.  You
 do
 not need to plug anything into the phone side for the device to work.
  The
 second device was just an inline exclusion device.  I was unable to find
 these at Radio Shack's website.  However, I found something similar at the
 following URLs:

 (See SER2A, SER2D, and SER3P at Sandman.com)
 http://www.sandman.com/lineshar.html

 http://www.trianglecables.com/telanmacorph.html

 http://www.iec-usa.com/cgi-bin/iec/COM9928

 http://www.iec-usa.com/cgi-bin/iec/COM0006

 Good luck!

 Sincerely,
 Trevor Hammonds


Thanks, filed away in memory bank.  I will probably order one very soon.

Not for Asterisk of course but for annoying answering machines that pick up
if you don't grab the phone in time and record your whole darn conversation.


Get close and the feedback is a killer.

-- 
Thanks,
Steve Totaro
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)
___
-- 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] using asterisk on a shared line

2009-07-23 Thread John Novack
Short answer - no.

Leave the box on 24/7, and run the POTS phone through an ATA, or another 
SIP phone.
If power consumption and wear and tear is a consideration, use AstLinux 
on a thin client, and reduce your power consumption to under 30 Watts.

John Novack


Bill Lovett wrote:
 Can Asterisk be configured to hang up if another phone picks up?

 I'm a bit lost as far as terminology goes, but here's my setup. At  
 home, I have asterisk answering calls from the pstn and sending them  
 through to a sip extension or voicemail. All that is working fine.

 The box running Asterisk isn't on 24/7 so I have a secondary phone  
 connected to the line as well. If Asterisk is not running, I can  
 answer an incoming call from that phone. If asterisk is running, I can  
 answer the call from a sip extension.

 Can I have it both ways? Can Asterisk back off if the secondary phone  
 answers the call? Currently, if a call comes in and I answer it from  
 the secondary phone Asterisk will continue to ring the sip extension  
 and eventually drop into voicemail. 

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

   

-- 
Dog is my co-pilot


___
-- 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] using asterisk on a shared line

2009-07-23 Thread Tom Browning
An exclusion adapter is overkill.  My Asterisk line card is the $10 Win
modem card that I got from ebay.

When you call my copper line, two devices see the inbound ringer:

1.  The Uniden 5.8Ghz cordless phone base station that answers 95% of the
calls
2.  Asterisk with a win modem line card that: a. runs a perl AGI script to
parse caller-id name and number b. rings a sip extension or c. answers the
call and plays funny messages and DTMF tones at the telemarketers.

Just make sure that Asterisk only RINGS the sip extensions but never sends
the call to play a message or voicemail or any other Asterisk feature that
will issue an implicit Answer and take the call.
___
-- 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] using asterisk on a shared line

2009-07-23 Thread Tom Browning
Shorter answer is yes :-).

This is exactly how mine runs.  The secret is that the copper interface
will ring a SIP extension but just exit from the dialplan on noanswer.

[main-copper]
exten = s,1,Dial(SIP/22,69)

and then nothing in my case.

Generally my wife answers using a cordless phone set that is sharing the
copper line with my Asterisk line card.

The other benefit is that I actually parse caller-id name and number and
optionally have Asterisk answer and torture telemarketers if there is a
match.  Otherwise it just rings my SIP extensions and will not seize the
line unless I pickup extension 22.
___
-- 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] using asterisk on a shared line

2009-07-23 Thread Trevor Hammonds
Bill Lovett wrote:

Can Asterisk be configured to hang up if another phone picks up?

I'm a bit lost as far as terminology goes, but here's my setup. At  
home, I have asterisk answering calls from the pstn and sending them  
through to a sip extension or voicemail. All that is working fine.

The box running Asterisk isn't on 24/7 so I have a secondary phone  
connected to the line as well. If Asterisk is not running, I can  
answer an incoming call from that phone. If asterisk is running, I can  
answer the call from a sip extension.

Can I have it both ways? Can Asterisk back off if the secondary phone  
answers the call? Currently, if a call comes in and I answer it from  
the secondary phone Asterisk will continue to ring the sip extension  
and eventually drop into voicemail. 

Asterisk is a PBX, not an answering machine, so I would advise against this.
It would be best to have Asterisk handle the phone line exclusively, 24/7.
However, with that said, it is possible to accomplish what you are asking.  

Placing a telephone privacy/exclusion adapter on the line cord into Asterisk
will cut off the phone line whenever a parallel telephone on the same line
is picked up.  This means that the instant you pick up any other phone on
the line, it would cut off the line to Asterisk.  

Radio Shack used to sell a couple varieties of these.  One was a two-way
adapter with one side for phone and the other answering machine.  You do
not need to plug anything into the phone side for the device to work.  The
second device was just an inline exclusion device.  I was unable to find
these at Radio Shack's website.  However, I found something similar at the
following URLs:

(See SER2A, SER2D, and SER3P at Sandman.com)
http://www.sandman.com/lineshar.html

http://www.trianglecables.com/telanmacorph.html

http://www.iec-usa.com/cgi-bin/iec/COM9928

http://www.iec-usa.com/cgi-bin/iec/COM0006

Good luck!

Sincerely,
Trevor Hammonds



___
-- 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] using asterisk on a shared line

2009-07-23 Thread Bill Lovett
I get how everything is connected with your setup, but if you pick up  
the cordless phone to answer a call does the sip extension just keep  
ringing until it times out?

I like the exclusion adapter idea because it sounds like it would let  
me keep my dialplan intact. But I do take John and Trevor's point  
about putting everything through asterisk and running it 24/7. It  
would make things a lot simpler.

On Jul 23, 2009, at 8:58 PM, Tom Browning wrote:


 An exclusion adapter is overkill.  My Asterisk line card is the $10  
 Win modem card that I got from ebay.

 When you call my copper line, two devices see the inbound ringer:

 1.  The Uniden 5.8Ghz cordless phone base station that answers 95%  
 of the calls
 2.  Asterisk with a win modem line card that: a. runs a perl AGI  
 script to parse caller-id name and number b. rings a sip extension  
 or c. answers the call and plays funny messages and DTMF tones at  
 the telemarketers.

 Just make sure that Asterisk only RINGS the sip extensions but never  
 sends the call to play a message or voicemail or any other Asterisk  
 feature that will issue an implicit Answer and take the call.



 ___
 -- 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] using asterisk on a shared line

2009-07-23 Thread Steve Totaro
On Thu, Jul 23, 2009 at 8:58 PM, Tom Browning ttbrown...@gmail.com wrote:


 An exclusion adapter is overkill.  My Asterisk line card is the $10 Win
 modem card that I got from ebay.

 When you call my copper line, two devices see the inbound ringer:

 1.  The Uniden 5.8Ghz cordless phone base station that answers 95% of the
 calls
 2.  Asterisk with a win modem line card that: a. runs a perl AGI script to
 parse caller-id name and number b. rings a sip extension or c. answers the
 call and plays funny messages and DTMF tones at the telemarketers.

 Just make sure that Asterisk only RINGS the sip extensions but never sends
 the call to play a message or voicemail or any other Asterisk feature that
 will issue an implicit Answer and take the call.


Yeah, except in the OP he mentions that he wants or is at least using
Asterisk VM so your solution does not meet his needs.

@~$7 for the privacy adaptor does not seem like overkill to me, at least
price wise.  Easy solution so OP can Can I have it both ways

-- 
Thanks,
Steve Totaro
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)
___
-- 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] using asterisk on a shared line

2009-07-23 Thread Steve Totaro
If you don't have an objection to 24/7 then that is by far the best way,
just get some fxs ports and each POTS phone can have it's own extension if
you want.

Certainly the way to go if there is no reason stopping you.

On Thu, Jul 23, 2009 at 9:20 PM, Bill Lovett b...@ilovett.com wrote:

 I get how everything is connected with your setup, but if you pick up
 the cordless phone to answer a call does the sip extension just keep
 ringing until it times out?

 I like the exclusion adapter idea because it sounds like it would let
 me keep my dialplan intact. But I do take John and Trevor's point
 about putting everything through asterisk and running it 24/7. It
 would make things a lot simpler.

 On Jul 23, 2009, at 8:58 PM, Tom Browning wrote:

 
  An exclusion adapter is overkill.  My Asterisk line card is the $10
  Win modem card that I got from ebay.
 
  When you call my copper line, two devices see the inbound ringer:
 
  1.  The Uniden 5.8Ghz cordless phone base station that answers 95%
  of the calls
  2.  Asterisk with a win modem line card that: a. runs a perl AGI
  script to parse caller-id name and number b. rings a sip extension
  or c. answers the call and plays funny messages and DTMF tones at
  the telemarketers.
 
  Just make sure that Asterisk only RINGS the sip extensions but never
  sends the call to play a message or voicemail or any other Asterisk
  feature that will issue an implicit Answer and take the call.
 

___
-- 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] using asterisk on a shared line

2009-07-23 Thread Dana Harding
 The box running Asterisk isn't on 24/7 so I have a secondary phone
 connected to the line as well. If Asterisk is not running, I can
 answer an incoming call from that phone. If asterisk is running, I can
 answer the call from a sip extension.

 Can I have it both ways? Can Asterisk back off if the secondary phone
 answers the call? Currently, if a call comes in and I answer it from
 the secondary phone Asterisk will continue to ring the sip extension
 and eventually drop into voicemail.

You don't say how your Asterisk is currently connected to the PSTN line.

Running Asterisk 24/7 would probably be the simplest.
If adding some hardware is an option, it can be done by using an ATA for 
your secondary phone.

Use an ATA that has both an FXO and FXS port, and bridges the two when power 
is lost. (such as the SPA-3102)
You can either do some fancy wiring to power off the ATA when the asterisk 
box is shut down,  or simply use a power bar. (shut down the asterisk box 
properly before killing it's power)

Normal operation:   PSTN line rings,   Asterisk sees this and calls the sip 
extensions,  including the sip extension of your secondary phone (via the 
ATA).The ATA will also see the line ringing on it's FXO port,  but is 
configured to do nothing.

Asterisk-off operation:  PSTN line rings,  asterisk is off so it does 
nothing, ATA is also off and has automatically bridged PSTN to the secondary 
phone.

This approach also ensures that the secondary phone can still be used in 
emergencies if the Asterisk box has crashed,  or during a power outage (* 
provided that the secondary phone does not, itself, require power to 
operate). 


___
-- 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] using asterisk on a shared line

2009-07-23 Thread Pascal Bruno
Just a little clarification for people refering to Asterisk as a PBX  
and not an Answering Machine:

In fact, Asterisk is neither a PBX nor an Answering Machine. Asterisk  
is a Telephony Toolkit. You can choose to use it as a PBX or an  
Answering Machine or both or even in some case as a something  
different than a PBX or Answering Machine. You should know that  
already, so this is just a reminder :-)

Sent from my iPod

On Jul 23, 2009, at 8:34 PM, Trevor Hammonds tre...@concipient.net  
wrote:

 Bill Lovett wrote:

 Can Asterisk be configured to hang up if another phone picks up?

 I'm a bit lost as far as terminology goes, but here's my setup. At
 home, I have asterisk answering calls from the pstn and sending them
 through to a sip extension or voicemail. All that is working fine.

 The box running Asterisk isn't on 24/7 so I have a secondary phone
 connected to the line as well. If Asterisk is not running, I can
 answer an incoming call from that phone. If asterisk is running, I  
 can
 answer the call from a sip extension.

 Can I have it both ways? Can Asterisk back off if the secondary phone
 answers the call? Currently, if a call comes in and I answer it from
 the secondary phone Asterisk will continue to ring the sip extension
 and eventually drop into voicemail.

 Asterisk is a PBX, not an answering machine, so I would advise  
 against this.
 It would be best to have Asterisk handle the phone line exclusively,  
 24/7.
 However, with that said, it is possible to accomplish what you are  
 asking.

 Placing a telephone privacy/exclusion adapter on the line cord into  
 Asterisk
 will cut off the phone line whenever a parallel telephone on the  
 same line
 is picked up.  This means that the instant you pick up any other  
 phone on
 the line, it would cut off the line to Asterisk.

 Radio Shack used to sell a couple varieties of these.  One was a two- 
 way
 adapter with one side for phone and the other answering  
 machine.  You do
 not need to plug anything into the phone side for the device to  
 work.  The
 second device was just an inline exclusion device.  I was unable to  
 find
 these at Radio Shack's website.  However, I found something similar  
 at the
 following URLs:

 (See SER2A, SER2D, and SER3P at Sandman.com)
 http://www.sandman.com/lineshar.html

 http://www.trianglecables.com/telanmacorph.html

 http://www.iec-usa.com/cgi-bin/iec/COM9928

 http://www.iec-usa.com/cgi-bin/iec/COM0006

 Good luck!

 Sincerely,
 Trevor Hammonds



 ___
 -- 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] using asterisk on a shared line

2009-07-23 Thread Trevor Hammonds
Pascal Bruno wrote:

Just a little clarification for people refering to Asterisk as a PBX  
and not an Answering Machine:

In fact, Asterisk is neither a PBX nor an Answering Machine. Asterisk  
is a Telephony Toolkit. You can choose to use it as a PBX or an  
Answering Machine or both or even in some case as a something  
different than a PBX or Answering Machine. You should know that  
already, so this is just a reminder :-)

Pascal,

I agree with you that Asterisk is a telephony applications toolkit, and not
a simple answering machine.  However, Asterisk IS a PBX.  

The term answering machine in the context of this thread implies a device
that has only basic answering functionality.  Since Asterisk is capable of
so much more than this basic functionality, I encouraged the OP to use it
full time, rather than as an adjunct device.  

First line at:
http://www.asterisk.org/

Asterisk is the world's leading open source PBX, telephony engine, and
telephony applications toolkit.

Sincerely,
Trevor Hammonds



___
-- 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] using asterisk on a shared line

2009-07-23 Thread Pascal Bruno
That's right, they say it is a PBX because it is mostly used as  such, but
it is more than just a PBX.  Some people use it as a VoiceMail tool or to
handle just conference, some use it to add functionalities to other legacy
PBX systems.  Calling cards applications for example, a plain PBX wont be
able to do that.  Thats why I dont usually refer to it as a PBX.


Pascal,

 I agree with you that Asterisk is a telephony applications toolkit, and not
 a simple answering machine.  However, Asterisk IS a PBX.

 The term answering machine in the context of this thread implies a device
 that has only basic answering functionality.  Since Asterisk is capable of
 so much more than this basic functionality, I encouraged the OP to use it
 full time, rather than as an adjunct device.

 First line at:
 http://www.asterisk.org/

 Asterisk is the world's leading open source PBX, telephony engine, and
 telephony applications toolkit.

 Sincerely,
 Trevor Hammonds



 ___
 -- 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] using asterisk on a shared line

2009-07-23 Thread Tom Browning
 Yeah, except in the OP he mentions that he wants or is at least using
 Asterisk VM so your solution does not meet his needs.



Ah, yes.  My config would not allow Asterisk to be a part time voicemail
destination.  In my config, the POTS line has its own voicemail (it is
actually a Comcast line and Comcast provided voicemail).  I need Comcast
provided voicemail to be the final destination on that line if noone answers
and if the house is totally offline (power or broadband).  (Comcast has
bigger batteries than I do)
___
-- 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] using asterisk on a shared line

2009-07-23 Thread Tom Browning
 I get how everything is connected with your setup, but if you pick up
 the cordless phone to answer a call does the sip extension just keep
 ringing until it times out?


Actually no, the SIP extension stops ringing and Asterisk takes no further
action.


 I like the exclusion adapter idea because it sounds like it would let
 me keep my dialplan intact. But I do take John and Trevor's point
 about putting everything through asterisk and running it 24/7. It
 would make things a lot simpler.


A 24/7 box is great as long as you have some runtime on batteries to smooth
out the occasional power failures and have a separate box to tinker with.
If you are the only person expecting calls on that line, then a predictable
result is less critical.  (ie: Asterisk/voicemail is off and you don't
answer and no other voicemail - ring no answer)
___
-- 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