From 8e07358edfdd9192f830bc510acedb5f140d5c0b Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 5 Feb 2007 00:18:34 +0000 Subject: [PATCH] Add some comments on queue system behaviour and how it affects the SIP channel git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53143 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 334a33a424..7d96fb3f20 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -15135,6 +15135,12 @@ static int sip_poke_peer(struct sip_peer *peer) If we return AST_DEVICE_UNKNOWN, the device state engine will try to find out a state by walking the channel list. + The queue system (\ref app_queue.c) treats a member as "active" + if devicestate is != AST_DEVICE_UNAVAILBALE && != AST_DEVICE_INVALID + + When placing a call to the queue member, queue system sets a member to busy if + != AST_DEVICE_NOT_INUSE and != AST_DEVICE_UNKNOWN + */ static int sip_devicestate(void *data) {