Call multiple extensions

I’m a little new to asterisk and I’m learning how to program with phpagi and I can’t figure out how to make calls to multiple extensions. The combination of extensions to call is going to be dynamic so I can’t predetermine which are going to ring.

Example: We have a lead generation site with a form. When the form is filled out, a call is made to each agent who is logged in, has asked for leads in the new leads region, and is available. So who gets the call depends on the leads details.

I try setting the channel to “SIP/100&SIP/104&SIP/107”, and I get extension not found.

You’ll need to run the Dial application with that parameter. That will almost certainly involve using a Local channel if you are using Originate or call files.