diff options
author | Terry Wilson <twilson@digium.com> | 2009-02-02 23:57:25 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2009-02-02 23:57:25 +0000 |
commit | 34be09bf5cf2ca54c844e62b74c09fa0e7a582b2 (patch) | |
tree | 29aa9f3a4613afa988d1f6973e996309c4a08c1d /main/features.c | |
parent | c668cbfbfc400456a0420ed13d5b376b0a578e6a (diff) |
Merged revisions 173066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r173066 | twilson | 2009-02-02 17:48:06 -0600 (Mon, 02 Feb 2009) | 2 lines
Fix a feature inheritance bug I added after code review
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@173067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/features.c')
-rw-r--r-- | main/features.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/features.c b/main/features.c index 6ad1c12a9..a7be7a648 100644 --- a/main/features.c +++ b/main/features.c @@ -2326,6 +2326,10 @@ static void add_features_datastores(struct ast_channel *caller, struct ast_chann ast_channel_lock(caller); ast_channel_datastore_add(caller, ds_caller_features); ast_channel_unlock(caller); + } else { + /* If we don't return here, then when we do a builtin_atxfer we will copy the disconnect + * flags over from the atxfer to the caller */ + return; } ast_channel_lock(callee); |