Merge 95f3d8867a
into 3b58ebc5f3
This commit is contained in:
commit
f595b9bcdd
|
@ -82,7 +82,7 @@ static int console_bufferInput(char *buf, int len, char *cmd, int key);
|
|||
static char *console_fnkeys[12];
|
||||
|
||||
/*
|
||||
* Load from console.conf XML file the section:
|
||||
* Load from switch.conf XML file the section:
|
||||
* <keybindings>
|
||||
* <key name="1" value="show calls"/>
|
||||
* </keybindings>
|
||||
|
|
|
@ -145,25 +145,26 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_lock_hangup(switch_core
|
|||
|
||||
#ifdef SWITCH_DEBUG_RWLOCKS
|
||||
SWITCH_DECLARE(void) switch_core_session_perform_write_lock(switch_core_session_t *session, const char *file, const char *func, int line)
|
||||
{
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, switch_core_session_get_uuid(session), SWITCH_LOG_ERROR, "%s %s Write lock ACQUIRED\n",
|
||||
switch_core_session_get_uuid(session), switch_channel_get_name(session->channel));
|
||||
#else
|
||||
SWITCH_DECLARE(void) switch_core_session_write_lock(switch_core_session_t *session)
|
||||
#endif
|
||||
{
|
||||
#ifdef SWITCH_DEBUG_RWLOCKS
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, switch_core_session_get_uuid(session), SWITCH_LOG_ERROR, "%s %s Write lock ACQUIRED\n",
|
||||
switch_core_session_get_uuid(session), switch_channel_get_name(session->channel));
|
||||
#endif
|
||||
switch_thread_rwlock_wrlock(session->rwlock);
|
||||
}
|
||||
|
||||
#ifdef SWITCH_DEBUG_RWLOCKS
|
||||
SWITCH_DECLARE(void) switch_core_session_perform_rwunlock(switch_core_session_t *session, const char *file, const char *func, int line)
|
||||
{
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, switch_core_session_get_uuid(session), SWITCH_LOG_ERROR, "%s %s Read/Write lock CLEARED\n",
|
||||
switch_core_session_get_uuid(session), switch_channel_get_name(session->channel));
|
||||
#else
|
||||
SWITCH_DECLARE(void) switch_core_session_rwunlock(switch_core_session_t *session)
|
||||
#endif
|
||||
{
|
||||
#ifdef SWITCH_DEBUG_RWLOCKS
|
||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, switch_core_session_get_uuid(session), SWITCH_LOG_ERROR, "%s %s Read/Write lock CLEARED\n",
|
||||
switch_core_session_get_uuid(session), switch_channel_get_name(session->channel));
|
||||
#endif
|
||||
switch_thread_rwlock_unlock(session->rwlock);
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ static char *SAY_GENDER_NAMES[] = {
|
|||
"MASCULINE",
|
||||
"FEMININE",
|
||||
"NEUTER",
|
||||
"UTRUM",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue