mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Cleaning up a few things in detect disconnect patch
Initialized ast_call_feature in detect_disconnect to avoid accessing uninitialized memory. Cleaned up /param tags in features.h. No longer send dynamic features in ast_feature_detect. issue #11583 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@183386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -101,7 +101,11 @@ char *ast_pickup_ext(void);
|
||||
int ast_bridge_call(struct ast_channel *chan, struct ast_channel *peer,struct ast_bridge_config *config);
|
||||
|
||||
/*! \brief detect a feature before bridging
|
||||
\param chan, ast_flags ptr, code, ast_call_feature ptr to be set if found */
|
||||
\param chan
|
||||
\param ast_flags ptr
|
||||
\param char ptr of input code
|
||||
\retval ast_call_feature ptr to be set if found
|
||||
\return result, was feature found or not */
|
||||
int ast_feature_detect(struct ast_channel *chan, struct ast_flags *features, char *code, struct ast_call_feature *feature);
|
||||
|
||||
/*! \brief Pickup a call */
|
||||
|
Reference in New Issue
Block a user