Merged revisions 81381 via svnmerge from
[asterisk/asterisk.git] / 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);
                }
        }