Merged revisions 53143 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Mon, 5 Feb 2007 00:30:03 +0000 (00:30 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 5 Feb 2007 00:30:03 +0000 (00:30 +0000)
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

index 2360f7a..5f981d4 100644 (file)
@@ -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)
 {