From 17af1bd4c83125d343612eb90eefff9ce0779d3d Mon Sep 17 00:00:00 2001
From: Olle Johansson <oej@edvina.net>
Date: Mon, 5 Feb 2007 00:30:03 +0000
Subject: [PATCH] Merged revisions 53143 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53143 | oej | 2007-02-05 01:18:34 +0100 (Mon, 05 Feb 2007) | 3 lines

Add some comments on queue system behaviour and how it affects the
SIP channel

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53144 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 2360f7a2a1..5f981d47b5 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -15378,6 +15378,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)
 {
-- 
GitLab