backport per-session loglevel from stkn's branch

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16390 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene
2010-01-18 19:29:39 +00:00
parent 94d69ee290
commit edcf706d2a
9 changed files with 128 additions and 7 deletions

View File

@@ -2649,6 +2649,12 @@ SWITCH_DECLARE(switch_status_t) switch_channel_get_variables(switch_channel_t *c
return status;
}
SWITCH_DECLARE(switch_core_session_t*) switch_channel_get_session(switch_channel_t *channel)
{
switch_assert(channel);
return channel->session;
}
SWITCH_DECLARE(switch_status_t) switch_channel_set_timestamps(switch_channel_t *channel)
{
switch_status_t status = SWITCH_STATUS_SUCCESS;