diff options
Diffstat (limited to 'apps/app_mixmonitor.c')
-rw-r--r-- | apps/app_mixmonitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 52128942a..cf7b93518 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -461,7 +461,7 @@ static int startmon(struct ast_channel *chan, struct ast_audiohook *audiohook) if (!res) { ast_channel_lock(chan); if (ast_channel_is_bridged(chan)) { - ast_softhangup_nolock(chan, AST_SOFTHANGUP_UNBRIDGE); + ast_channel_set_unbridged_nolock(chan, 1); } ast_channel_unlock(chan); } |