Index: main/channel.c =================================================================== --- main/channel.c (revision 89085) +++ main/channel.c (working copy) @@ -1709,6 +1709,8 @@ detach_spies(chan); /* get rid of spies */ + ast_autoservice_stop(chan); + if (chan->masq) { if (ast_do_masquerade(chan)) ast_log(LOG_WARNING, "Failed to perform masquerade\n");