diff options
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_local.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index f23dc8f2d..f574eab32 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -546,6 +546,9 @@ static int local_hangup(struct ast_channel *ast) } else { p->owner = NULL; ast_module_user_remove(p->u_owner); + if (p->chan) { + ast_queue_hangup(p->chan); + } } ast->tech_pvt = NULL; |