[Asterisk-Users] detect SIP phone availability before dialing
Hello, I need to detect availability of SIP phone before dialing. I need to know if phone is BUSY, CHANUNAVAIL before dialing. If phone is free, then I will dial it. I need for automatic callback (.call files), but I need to know if it is available both SIP phones before calling. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] detect SIP phone availability before dialing
This is a pretty popular question. IIRC SIP phones can't tell you their statuses, you need to send a call to them and determine whether or not they're Busy Now... [EMAIL PROTECTED] wrote: Hello, I need to detect availability of SIP phone before dialing. I need to know if phone is BUSY, CHANUNAVAIL before dialing. If phone is free, then I will dial it. I need for automatic callback (.call files), but I need to know if it is available both SIP phones before calling. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Mojo [EMAIL PROTECTED] Office Manger, Horan Company, LLC (907) 747- x112 ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] detect SIP phone availability before dialing
Use application ChanIsAvail with the s option. This option only exists in CVS-HEAD version, the 1.0.x versions don't have this option. from documentation: If the option 's' is specified (state), will consider channel unavailable when the channel is in use at all, even if it can take another call. This is a pretty popular question. IIRC SIP phones can't tell you their statuses, you need to send a call to them and determine whether or not they're Busy Now... [EMAIL PROTECTED] wrote: Hello, I need to detect availability of SIP phone before dialing. I need to know if phone is BUSY, CHANUNAVAIL before dialing. If phone is free, then I will dial it. ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users