Dear D'Arcy J.M. Cain and asterisk friends,

On Tue, Aug 30, 2016 at 09:56:05AM -0400, D'Arcy J.M. Cain wrote:
> I have an extension that looks like this:
> 
> exten => 5555551111,1,Verbose(Door buzzer calling)
>   same => n,Dial(SIP/user1&SIP/user2&SIP/user3)
> 
> The idea is that any of the three users can answer the phone to let
> someone in.  The problem is that if, say, user2 unplugs his phone then
> the call immediately goes to his voice mail and the other two do not
> have the ability to open the door.
> 
> Is there any way to direct only to phones in a list that are currently
> registered?  I am sure that I can write a rather convoluted extension
> to check for registrations and create a dial command but I am hoping
> that there is an easier way so that I can create these types of
> extensions for other clients easily as well as being able to add and
> remove destinations quickly.
> 

To my opinion, you need a queue with dynamic agents. 

SIP/userX subscribes and checkouts manually, or better SIP/userX adds to 
the specific queue at the moment she or he registers to the system. I know 
how to do the former, but I would like to know about the latter. If someone 
could comment on that, I would highly appreciate.

-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,

Will

*************************************
 W.K. Offermans

                                       Powered by ....

                                            (__)
                                         \\\'',)
                                           \/  \ ^
                                           .\._/_)

                                       www.FreeBSD.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016
      http://www.asterisk.org/community/astricon-user-conference

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to