diff options
Diffstat (limited to 'main/manager.c')
-rw-r--r-- | main/manager.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/manager.c b/main/manager.c index f5314af54..dd920e26d 100644 --- a/main/manager.c +++ b/main/manager.c @@ -3902,7 +3902,10 @@ static int action_atxfer(struct mansession *s, const struct message *m) return 0; } - if (!(atxfer_feature = ast_find_call_feature("atxfer"))) { + ast_rdlock_call_features(); + atxfer_feature = ast_find_call_feature("atxfer"); + ast_unlock_call_features(); + if (!atxfer_feature) { astman_send_error(s, m, "No attended transfer feature found"); return 0; } |