Merged revisions 81381 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Thu, 30 Aug 2007 15:36:43 +0000 (15:36 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 30 Aug 2007 15:36:43 +0000 (15:36 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81381 | mmichelson | 2007-08-30 10:35:51 -0500 (Thu, 30 Aug 2007) | 3 lines

Changed some manager event messages to reflect whether a queue member is a realtime member or not

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81382 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index b797b37..c879aed 100644 (file)
@@ -601,7 +601,7 @@ static void *handle_statechange(struct statechange *sc)
                                        "LastCall: %d\r\n"
                                        "Status: %d\r\n"
                                        "Paused: %d\r\n",
-                                       q->name, cur->interface, cur->membername, cur->dynamic ? "dynamic" : "static",
+                                       q->name, cur->interface, cur->membername, cur->dynamic ? "dynamic" : cur->realtime ? "realtime" : "static",
                                        cur->penalty, cur->calls, (int)cur->lastcall, cur->status, cur->paused);
                        }
                }
@@ -1657,7 +1657,7 @@ static int update_status(struct call_queue *q, struct member *member, int status
                                "LastCall: %d\r\n"
                                "Status: %d\r\n"
                                "Paused: %d\r\n",
-                               q->name, cur->interface, cur->membername, cur->dynamic ? "dynamic" : "static",
+                               q->name, cur->interface, cur->membername, cur->dynamic ? "dynamic" : cur->realtime ? "realtime": "static",
                                cur->penalty, cur->calls, (int)cur->lastcall, cur->status, cur->paused);
                }
        }