mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
res_parking: Remove setting useless flag.
........ Merged revisions 401271 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -203,14 +203,12 @@ void parked_call_retrieve_enable_features(struct ast_channel *chan, struct parki
|
|||||||
|
|
||||||
ast_channel_lock(chan);
|
ast_channel_lock(chan);
|
||||||
existing_features = ast_bridge_features_ds_get(chan);
|
existing_features = ast_bridge_features_ds_get(chan);
|
||||||
|
|
||||||
if (existing_features) {
|
if (existing_features) {
|
||||||
feature_flags = *existing_features;
|
feature_flags = *existing_features;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lot->cfg->parkedcalltransfers & recipient_mode) {
|
if (lot->cfg->parkedcalltransfers & recipient_mode) {
|
||||||
ast_set_flag(&feature_flags, AST_FEATURE_REDIRECT);
|
ast_set_flag(&feature_flags, AST_FEATURE_REDIRECT);
|
||||||
ast_set_flag(&feature_flags, AST_FEATURE_ATXFER);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lot->cfg->parkedcallreparking & recipient_mode) {
|
if (lot->cfg->parkedcallreparking & recipient_mode) {
|
||||||
|
Reference in New Issue
Block a user