diff options
author | Jonathan Rose <jrose@digium.com> | 2011-12-23 20:42:21 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2011-12-23 20:42:21 +0000 |
commit | 19a4928fee5647b78f58d3b5457117360e09c54c (patch) | |
tree | c4fa60642e82ac9556f660e7cb539d3cec14df3a /main/features.c | |
parent | 03596bcb47858095a6f42492768808def97dcbbe (diff) |
INFO/Record request configurable to use dynamic features
Adds two new options to SIP peers allowing them to specify features (dynamic or builtin)
to use when sending INFO/record requests. Recordonfeature activates whatever feature
is specified when recieving a record: on request while recordofffeature activates
whatever feature is specified when receiving a record: off request. Both of these
features can be disabled by setting the feature to an empty string.
(closes issue ASTERISK-16507)
Reported by: Jon Bright
Review: https://reviewboard.asterisk.org/r/1634/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@349098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/features.c')
-rw-r--r-- | main/features.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c index ca6286bdc..7b595fb49 100644 --- a/main/features.c +++ b/main/features.c @@ -3015,7 +3015,8 @@ struct ast_call_feature *ast_find_call_feature(const char *name) if (!strcasecmp(name, builtin_features[x].sname)) return &builtin_features[x]; } - return NULL; + + return find_dynamic_feature(name); } /*! |