I noted this on the dev list but got no response, so I just did it myself.

Lock the call features when being used in chan_sip.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-05-08 16:41:35 +00:00
parent 42a62a3c21
commit 314c874d7d
3 changed files with 22 additions and 6 deletions

View File

@@ -96,6 +96,9 @@ void ast_unregister_feature(struct ast_call_feature *feature);
/*! \brief look for a call feature entry by its sname
\param name a string ptr, should match "automon", "blindxfer", "atxfer", etc. */
struct ast_call_feature *ast_find_call_feature(char *name);
struct ast_call_feature *ast_find_call_feature(const char *name);
void ast_rdlock_call_features(void);
void ast_unlock_call_features(void);
#endif /* _AST_FEATURES_H */