Re: [asterisk-users] Channel failover

2010-05-11 Thread Jack Bates
On Tue, May 04, 2010 at 08:46:39AM +0100, Steve Howes wrote:
 On 4 May 2010, at 03:44, Jack Bates wrote:
  We recently got VoIP, so when we make a call, Asterisk should first try
  to make the call with VoIP, but in case either our VoIP or our internet
  service are down, Asterisk should then try to make the call with our old
  school analog phone line
 
 Well, first you try to dial it with the VoIP line.. Then the analogue one...
 So you just put the two dial commands on separate lines..

Thanks Steve - but wouldn't this mean that when the person we called hangs up,
Asterisk will call them again, with the analog phone line?

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Channel failover

2010-05-11 Thread Tim Nelson
- Jack Bates ms...@freezone.co.uk wrote:
 On Tue, May 04, 2010 at 08:46:39AM +0100, Steve Howes wrote:
  On 4 May 2010, at 03:44, Jack Bates wrote:
   We recently got VoIP, so when we make a call, Asterisk should
 first try
   to make the call with VoIP, but in case either our VoIP or our
 internet
   service are down, Asterisk should then try to make the call with
 our old
   school analog phone line
  
  Well, first you try to dial it with the VoIP line.. Then the
 analogue one...
  So you just put the two dial commands on separate lines..
 
 Thanks Steve - but wouldn't this mean that when the person we called
 hangs up,
 Asterisk will call them again, with the analog phone line?
 

When the call hangs up, you're no longer in the same context. Your dialplan for 
the 'h' context would then apply.

--Tim

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Channel failover

2010-05-04 Thread Steve Howes

On 4 May 2010, at 03:44, Jack Bates wrote:
 We recently got VoIP, so when we make a call, Asterisk should first try
 to make the call with VoIP, but in case either our VoIP or our internet
 service are down, Asterisk should then try to make the call with our old
 school analog phone line

Well, first you try to dial it with the VoIP line.. Then the analogue one... So 
you just put the two dial commands on separate lines..

S
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


[asterisk-users] Channel failover

2010-05-03 Thread Jack Bates
How do you configure Asterisk to dial, in order, each channel from a
group of channels until it either finds an available channel, or runs
out of channels?

We recently got VoIP, so when we make a call, Asterisk should first try
to make the call with VoIP, but in case either our VoIP or our internet
service are down, Asterisk should then try to make the call with our old
school analog phone line

I searched for configuration parameters to put channels in a group, and
then dial that group in order until an available channel is found - no
luck

I also searched the sample configurations for an example, likewise
without luck

Finally I expected that this topic would be covered in the O'Reilly
Asterisk book, http://asteriskdocs.org/

- but again, I found nothing on this topic specifically

How do you configure Asterisk to accomplish this?

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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