diff options
Diffstat (limited to 'main/features.c')
-rw-r--r-- | main/features.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/features.c b/main/features.c index fff94feeb..a973004ba 100644 --- a/main/features.c +++ b/main/features.c @@ -2117,6 +2117,11 @@ static int builtin_atxfer(struct ast_channel *chan, struct ast_channel *peer, st } else { /* Transferee hung up */ finishup(transferee); + /* At this point both the transferer transferee have hungup, + * so if newchan is up, hang it up as it has no one to talk to */ + if (newchan) { + ast_hangup(newchan); + } return -1; } } |