This fixes multiple issues dealing with sms from registered endpoints to other destinations.

This commit is contained in:
William King 2012-11-13 16:56:58 -08:00
parent 580e63ecfa
commit 5fffdc2936
1 changed files with 1 additions and 1 deletions

View File

@ -1766,8 +1766,8 @@ SWITCH_DECLARE(switch_status_t) switch_loadable_module_init(switch_bool_t autolo
switch_loadable_module_runtime();
chat_globals.running = 1;
memset(&chat_globals, 0, sizeof(chat_globals));
chat_globals.running = 1;
chat_globals.pool = loadable_modules.pool;
switch_mutex_init(&chat_globals.mutex, SWITCH_MUTEX_NESTED, chat_globals.pool);