[asterisk-users] Handle a call if one phone of a ring group is busy
Frank Vanoni
mailinglist at linuxista.com
Sun Feb 28 08:34:37 CST 2016
On Sun, 2016-02-28 at 01:43 +0100, Frank wrote:
> 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
More information about the asterisk-users
mailing list