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:
Joshua Colp
2006-05-25 20:51:27 +00:00
parent 16d0f580f9
commit 6b185c1bed
3 changed files with 88 additions and 47 deletions

View File

@@ -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