diff --git a/apps/app_queue.c b/apps/app_queue.c
index 5e166f2651529d3e7a3de7245bf7dfd08f7b53b2..ed13c3d5bed9531eb111ff1d6031b9c2cd387bb1 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -842,7 +842,7 @@ static struct member *create_queue_member(const char *interface, const char *mem
 			ast_copy_string(cur->membername, interface, sizeof(cur->membername));
 		if (!strchr(cur->interface, '/'))
 			ast_log(LOG_WARNING, "No location at interface '%s'\n", interface);
-		cur->status = ast_device_state(interface);
+		cur->status = ast_device_state(state_interface);
 	}
 
 	return cur;