Index: apps/app_queue.c =================================================================== --- apps/app_queue.c (revision 164978) +++ apps/app_queue.c (working copy) @@ -706,8 +706,8 @@ char *tmp_interface; char *slash_pos; tmp_interface = ast_strdupa(cur->state_interface); - if ((slash_pos = strchr(interface, '/'))) - if ((slash_pos = strchr(slash_pos + 1, '/'))) + if ((slash_pos = strchr(tmp_interface, '/'))) + if (!strncasecmp(tmp_interface, "Local", 5) && (slash_pos = strchr(slash_pos + 1, '/'))) *slash_pos = '\0'; if (strcasecmp(interface, tmp_interface)) {