diff options
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c index a0769fa0e..288d759f2 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1418,6 +1418,8 @@ int ast_hangup(struct ast_channel *chan) chan->audiohooks = NULL; } + ast_autoservice_stop(chan); + if (chan->masq) { if (ast_do_masquerade(chan)) ast_log(LOG_WARNING, "Failed to perform masquerade\n"); |