Index: main/pbx.c =================================================================== --- main/pbx.c (revision 89465) +++ main/pbx.c (working copy) @@ -3749,6 +3749,7 @@ } if (!prev_exten) { /* change the root... */ con->root = next_node; + con->root_tree = 0; } else { prev_exten->next = next_node; /* unlink */ }