Index: main/pbx.c =================================================================== --- main/pbx.c (revision 69258) +++ main/pbx.c (working copy) @@ -991,7 +991,7 @@ else { /* look in contexts */ tmp = NULL; while ((tmp = ast_walk_contexts(tmp)) ) { - if (!strcmp(tmp->name, context)) + if (context && !strcmp(tmp->name, context)) break; } if (!tmp)