Index: apps/app_queue.c =================================================================== --- apps/app_queue.c (revision 232810) +++ apps/app_queue.c (working copy) @@ -1838,6 +1838,16 @@ int paused = 0; int found = 0; + if (membername == NULL) { + ast_log(LOG_WARNING, "A realtime field 'membername' is NULL, should be a string"); + return; + } + + if (rt_uniqueid == NULL) { + ast_log(LOG_WARNING, "Realtime field uniqueid for '%s' is NULL, should be numeric", membername); + return; + } + if (penalty_str) { penalty = atoi(penalty_str); if (penalty < 0)