Re: [asterisk-users] Handle a call if one phone of a ring, group is busy

2016-02-28 Thread Andre Gronwald
I do it via a group count: main call handling: exten => sub123,n,Set(GROUP()=11122345) ... the main routine calls subroutine: exten => general,1,GotoIf($["${busyonbusy}"="YES"]?100:200) exten => general,100,GotoIf($[ ${GROUP_COUNT()} > 1 ]?110:200) exten => general,110,Hangup(17) ; fehlercode

Re: [asterisk-users] Handle a call if one phone of a ring group is busy

2016-02-28 Thread Frank Vanoni
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 =>

[asterisk-users] Handle a call if one phone of a ring group is busy

2016-02-27 Thread Frank
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/222/333) Everything work fine and, as expected, all phones are ringing by an incoming call and I