Re: [asterisk-users] Ringing a group of phones but not if they are busy
Chris Bagnall ha scritto: 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? I've done this in the past by disabling call waiting on the phones and put all 8 phones into a ringall queue. Then, when you call that queue, the phones already on calls return SIP BUSY,whilst the others ring as normal. It's not perfect, but for most of our users the call waiting noise in the earpiece is an annoyance anyway. Hope that helps. Regards, Chris If you disable call waiting, then you don't need a queue. With grandstream gxp-2000 phones, calling Dial(SIP/phone1SIP/phone2SIP/phone3) rings only off-hook phones. However, I have also SPA-941 phones. Is it possible to disable the call waiting feature on Linksys SPA-941? I haven't succeeded so far... and the multiple Dial() method or the Queue are not working either. I had to change my extensions.conf macro to do ChanIsAvail sequentially, that is, for each phone I call ChanIsAvail and then check the results to see if the phone is busy. If not, I add it to the dialstring to pass to Dial() eventually. Since there are 10 phones to check, and the process is not atomic, it can (very rarely) occur that a phone is included in the dialstring but has just become busy, and the user gets the annoying call waiting tone. Any clue? -- -- Alberto Pastore B-Press Srl - Gruppo MSoft P.IVA 01697420030 P.le Lombardia, 4 - 28100 Novara - Italy Tel. 0321-499508 Fax 0321-492974 http://www.msoft.it ___ --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
Re: [asterisk-users] Ringing a group of phones but not if they are busy
Try something like this: exten = s,1,Dial(Local/[EMAIL PROTECTED]Local/[EMAIL PROTECTED]Local/[EMAIL PROTECTED]) [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 [EMAIL PROTECTED] 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 ___ --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
[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 signature.asc Description: This is a digitally signed message part ___ --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
Re: [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 ___ --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
Re: [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/100SIP/101SIP/102SIP/103SIP/104SIP/105SIP106) 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 signature.asc Description: This is a digitally signed message part ___ --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