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