summaryrefslogtreecommitdiff
path: root/include/asterisk/features.h
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-05-04 16:37:23 +0000
committerSteve Murphy <murf@digium.com>2007-05-04 16:37:23 +0000
commit3ee0077f0410d80e9c4f40c5915c32d8dfed2c2c (patch)
tree807447442c345c8199708a01222b509950c043c4 /include/asterisk/features.h
parent1b15d8852d46c5810271619518dfd70488be14d0 (diff)
Added a small bit of code to support the SNOM 360's Record button. Made the find_feature func in res_features.c public, so I could use it to find the automon dial sequence as configured by the user. When the INFO packet has a Record: header with on/off, the sequence is sent as consecutive DTMF frames on the phone's channel, triggering the automon functionality. The user has to configure the automon in features.conf, and set up his dialplan accordingly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/features.h')
-rw-r--r--include/asterisk/features.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/features.h b/include/asterisk/features.h
index db25e7d23..02b8fa5fd 100644
--- a/include/asterisk/features.h
+++ b/include/asterisk/features.h
@@ -94,4 +94,8 @@ void ast_register_feature(struct ast_call_feature *feature);
\param feature the ast_call_feature object which was registered before*/
void ast_unregister_feature(struct ast_call_feature *feature);
+/*! \brief look for a feature entry by its sname
+ \param name a string ptr, should match "automon", "blindxfer", "atxfer", etc. */
+struct ast_call_feature *find_feature(char *name);
+
#endif /* _AST_FEATURES_H */