aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-04 16:37:23 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-04 16:37:23 +0000
commitaf572c14ef216abe405947d7166a5a5d7d30196c (patch)
tree807447442c345c8199708a01222b509950c043c4 /include/asterisk
parente9978c62b7c886e937b82cde5fc8ef5291ef291a (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: http://svn.digium.com/svn/asterisk/trunk@63046 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-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 */