VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mailinglist at linuxis... Guest
|
Posted: Sat Feb 27, 2016 7:44 pm Post subject: [asterisk-users] Handle a call if one phone of a ring group |
|
|
Hi List
I have a phone in my living room (ext. 111), a phone in the kitchen
(ext. 222) and a phone in my bedroom (ext. 333).
Both phones are part of a ring group.
exten => 7654321,1,Dial(SIP/111&SIP/222&SIP/333)
Everything work fine and, as expected, all phones are ringing by an
incoming call and I can answer the call on the nearest phone.
Problem: if there is a second incoming call while I'm talking on one of
the three phones, the other phones ring and I cannot answer the second
call since I cannot be at two places at the same time.
Question: How to give a "busy signal" back to the caller if one
extension of a ring group is in use? Or redirect the call to voice mail?
Any hint?
Thanks in advance
Frank
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
mailinglist at linuxis... Guest
|
Posted: Sun Feb 28, 2016 9:35 am Post subject: [asterisk-users] Handle a call if one phone of a ring group |
|
|
On Sun, 2016-02-28 at 01:43 +0100, Frank wrote:
Quote: | Question: How to give a "busy signal" back to the caller if one
extension of a ring group is in use? Or redirect the call to voice mail?
|
Found a solution!
exten => 7654321,1,GotoIf($["${DEVICE_STATE(SIP/111)}"="INUSE"]?Busy,1)
exten => 7654321,n,GotoIf($["${DEVICE_STATE(SIP/222)}"="INUSE"]?Busy,1)
exten => 7654321,n,GotoIf($["${DEVICE_STATE(SIP/333)}"="INUSE"]?Busy,1)
exten => 7654321,n,Dial(SIP/111&SIP/222&SIP/333)
exten => Busy,1,BUSY(10)
exten => Busy,n,Hangup
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|