mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user