From 19a4928fee5647b78f58d3b5457117360e09c54c Mon Sep 17 00:00:00 2001 From: Jonathan Rose Date: Fri, 23 Dec 2011 20:42:21 +0000 Subject: 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 --- main/features.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/features.c') 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); } /*! -- cgit v1.2.3