[asterisk-users] hints and server-side DND (do not disturb)

isrlgb at gmail.com isrlgb at gmail.com
Wed Apr 18 01:40:02 CDT 2012


יעע
-----Original Message-----
From: Vieri <rentorbuy at yahoo.com>
Sender: asterisk-users-bounces at lists.digium.com
Date: Tue, 17 Apr 2012 23:27:10 
To: <asterisk-users at lists.digium.com>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
	<asterisk-users at lists.digium.com>
Subject: [asterisk-users] hints and server-side DND (do not disturb)

Hi,

Currently I'm using hints to determine SIP presence. As I understand it, a SIP extension can be labeled as busy, ringing, etc, based on a channel status. So a channel MUST be present. If it isn't then the extension is considered to be "available".

If my statement is correct then is there a way to set the extesnion as "busy" even if there's no channel associated with this extension?
eg. when an extension sets server-side DND (Do Not Disturb), it actually sets a boolean value in astdb. Whenever asterisk tries to route a call to this extension, it first checks this value. Obviously, there's no way I can use hints in this scenario, or is there? Is it possible to somehow create a "dummy" channel whenever an extension sets "server-side DND" (custom context) and delete it whenever it unsets it?

Thanks,

Vieri


--
_____________________________________________________________________
-- 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


More information about the asterisk-users mailing list