Hello, is there a way to put a certain SIP peer on state "busy" ? I know you can do this by pressing "DND" on your IP-phone, but can this state also be set in the dialplan ? Thanks. Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120424/7a139d75/attachment.htm>
Hello, can someone please tell me if this is possible and how ? Kind regards, Jonas. On 04/24/2012 12:59 PM, Jonas Kellens wrote:> Hello, > > is there a way to put a certain SIP peer on state "busy" ? > > I know you can do this by pressing "DND" on your IP-phone, but can > this state also be set in the dialplan ? > > > Thanks. > > Jonas.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120426/3461f63d/attachment.htm>
Check the command "Busy()" of the dialplan, it return the busy state at the calling party. Leandro 2012/4/26 Jonas Kellens <jonas.kellens at telenet.be>> ** > Hello, > > can someone please tell me if this is possible and how ? > > > Kind regards, > Jonas. > > > > On 04/24/2012 12:59 PM, Jonas Kellens wrote: > > Hello, > > is there a way to put a certain SIP peer on state "busy" ? > > I know you can do this by pressing "DND" on your IP-phone, but can this > state also be set in the dialplan ? > > > Thanks. > > Jonas. > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120426/f8f546ef/attachment.htm>
I've found this bit of information, maybe it'll help: http://www.voip-info.org/wiki/view/PBX+Do+Not+Disturb On Tue, Apr 24, 2012 at 12:59 PM, Jonas Kellens <jonas.kellens at telenet.be>wrote:> ** > Hello, > > is there a way to put a certain SIP peer on state "busy" ? > > I know you can do this by pressing "DND" on your IP-phone, but can this > state also be set in the dialplan ? > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120426/23af7235/attachment.htm>
Jonas Kellens <jonas.kellens at telenet.be> writes:> I know you can do this by pressing "DND" on your IP-phone, but can this > state also be set in the dialplan ?You cannot actually achieve this by pressing "DND" on your IP-phone. All that will accomplish is that the phone answers all calls with "busy", but Asterisk will keep bombarding it with calls if it happens to be member of a queue. This can be detrimental to the health of the Asterisk-server. /Benny
Two "hammer" options you could use - #1 use the sip notify to periodically reset the phone #2 set up a dialplan snippet to change the credentials of the peer and do a sip reload so it is disabled. (of course you would need a corresponding snippet to re-enable the phone). -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Benny Amorsen Sent: Thursday, April 26, 2012 8:41 AM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] Set SIP peer state busy Jonas Kellens <jonas.kellens at telenet.be> writes:> I know you can do this by pressing "DND" on your IP-phone, but can > this state also be set in the dialplan ?You cannot actually achieve this by pressing "DND" on your IP-phone. All that will accomplish is that the phone answers all calls with "busy", but Asterisk will keep bombarding it with calls if it happens to be member of a queue. This can be detrimental to the health of the Asterisk-server. /Benny -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users