mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
add msleep
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10484 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e7755a78f3
commit
369e606564
@ -373,6 +373,7 @@ SWITCH_DECLARE(void) consoleCleanLog(char *msg);
|
|||||||
|
|
||||||
SWITCH_DECLARE(void) console_log(char *level_str, char *msg);
|
SWITCH_DECLARE(void) console_log(char *level_str, char *msg);
|
||||||
SWITCH_DECLARE(void) console_clean_log(char *msg);
|
SWITCH_DECLARE(void) console_clean_log(char *msg);
|
||||||
|
SWITCH_DECLARE(void) msleep(uint32_t ms);
|
||||||
|
|
||||||
/** \brief bridge the audio of session_b into session_a
|
/** \brief bridge the audio of session_b into session_a
|
||||||
*
|
*
|
||||||
|
@ -1090,6 +1090,12 @@ SWITCH_DECLARE(void) console_clean_log(char *msg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWITCH_DECLARE(void) msleep(uint32_t ms)
|
||||||
|
{
|
||||||
|
switch_sleep(ms * 1000);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
SWITCH_DECLARE(void) bridge(CoreSession &session_a, CoreSession &session_b)
|
SWITCH_DECLARE(void) bridge(CoreSession &session_a, CoreSession &session_b)
|
||||||
{
|
{
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "bridge called, session_a uuid: %s\n", session_a.get_uuid());
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "bridge called, session_a uuid: %s\n", session_a.get_uuid());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user