Carlos Chavez
2006-Nov-17 16:52 UTC
[asterisk-users] Ringing a group of phones but not if they are busy
I need to ring a group of 8 phones, but not if they are already on another call. How can I determine which of those 8 phones are busy so I only ring the others? -- Telecomunicaciones Abiertas de Mexico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061117/95ac8121/attachment.pgp
Steven Ringwald
2006-Nov-17 17:05 UTC
[asterisk-users] Ringing a group of phones but not if they are busy
Carlos Chavez wrote:> I need to ring a group of 8 phones, but not if they are already on > another call. How can I determine which of those 8 phones are busy so I > only ring the others?chanIsAvail Steve
Carlos Chavez
2006-Nov-17 17:43 UTC
[asterisk-users] Ringing a group of phones but not if they are busy
On Fri, 2006-11-17 at 16:03 -0800, Steven Ringwald wrote:> Carlos Chavez wrote: > > I need to ring a group of 8 phones, but not if they are already on > > another call. How can I determine which of those 8 phones are busy so I > > only ring the others? > > > chanIsAvail >The problem with ChanIsAvail is that if ig give it a line like this: s,1,ChanIsAvail(SIP/100&SIP/101&SIP/102&SIP/103&SIP/104&SIP/105&SIP&106) the resulting variable only lists the first available channel and not all the available channels so I cannot ring all the available channels. -- Telecomunicaciones Abiertas de Mexico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061117/a170169f/attachment.pgp
C F
2006-Nov-18 19:09 UTC
[asterisk-users] Ringing a group of phones but not if they are busy
Try something like this: exten => s,1,Dial(Local/123@callphones&Local/124@callphones&Local/125@callphones) [callphones] exten => _X.,1,ChanIsAvail(Sip/${EXTEN},js) exten => _X.,2,Dial(Sip/${EXTEN}) exten => _X.,102,Noop(${EXTEN} is on a call) On 11/17/06, Carlos Chavez <cursor@telecomabmex.com> wrote:> I need to ring a group of 8 phones, but not if they are already on > another call. How can I determine which of those 8 phones are busy so I > only ring the others? > > -- > Telecomunicaciones Abiertas de Mexico S.A. de C.V. > Carlos Ch?vez Prats > Director de Tecnolog?a > +52-55-91169161 ext 2001 > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >