add handy functions

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9641 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2008-09-24 21:19:29 +00:00
parent b4ed07c5c5
commit 99ba73c4a0
2 changed files with 17 additions and 0 deletions

View File

@@ -112,6 +112,9 @@ SWITCH_DECLARE(switch_call_cause_t) switch_channel_str2cause(_In_ const char *st
*/
SWITCH_DECLARE(switch_call_cause_t) switch_channel_get_cause(_In_ switch_channel_t *channel);
SWITCH_DECLARE(switch_call_cause_t) switch_channel_cause_q850(switch_call_cause_t cause);
SWITCH_DECLARE(switch_call_cause_t) switch_channel_get_cause_q850(switch_channel_t *channel);
/*!
\brief return a cause string for a given cause
\param cause the code to check