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


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

Reply via email to