mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 05:39:39 +00:00
Merge in branch which gives you the ability to set the hangup causecode using the Hangup application. (issue #7160 reported by kmilitzer branch by jcollie)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1011,6 +1011,13 @@ int ast_channel_masquerade(struct ast_channel *original, struct ast_channel *clo
|
||||
*/
|
||||
const char *ast_cause2str(int state);
|
||||
|
||||
/*! Convert the string form of a cause code to a number */
|
||||
/*!
|
||||
* \param name string form of the cause
|
||||
* Returns the cause code
|
||||
*/
|
||||
int ast_str2cause(const char *name);
|
||||
|
||||
/*! Gives the string form of a given channel state */
|
||||
/*!
|
||||
* \param state state to get the name of
|
||||
|
Reference in New Issue
Block a user