From b0fc1d8fb58a64e59748cbc5b87b982b22d628d1 Mon Sep 17 00:00:00 2001 From: Georgiewskiy Yuriy Date: Tue, 19 Jul 2011 19:23:54 +0400 Subject: [PATCH 01/15] fix small interoperability issues if remote endpoint send progress twice --- src/mod/endpoints/mod_h323/changes.txt | 1 + src/mod/endpoints/mod_h323/mod_h323.cpp | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_h323/changes.txt b/src/mod/endpoints/mod_h323/changes.txt index ff99e50bd6..0076291621 100644 --- a/src/mod/endpoints/mod_h323/changes.txt +++ b/src/mod/endpoints/mod_h323/changes.txt @@ -1,3 +1,4 @@ +fix small interoperability issues if remote endpoint send progress twice make sure dtmfinband gets initialized make gk-identifier and gk-interface settings optional (documentation sayed that about gk-identifier already) fix race condition on destroying signaling thread in h323 library diff --git a/src/mod/endpoints/mod_h323/mod_h323.cpp b/src/mod/endpoints/mod_h323/mod_h323.cpp index 985f6bb375..72846b07dc 100644 --- a/src/mod/endpoints/mod_h323/mod_h323.cpp +++ b/src/mod/endpoints/mod_h323/mod_h323.cpp @@ -1138,8 +1138,7 @@ bool FSH323Connection::OnAlerting(const H323SignalPDU &alertingPDU, const PStrin { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"======>PFSH323Connection::OnAlerting user = %s [%p]\n",(const char *)user,this); unsigned pi; - switch_status_t status = switch_channel_mark_ring_ready(m_fsChannel); - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"----------->OnAlerting return = %d\n",status); + switch_channel_mark_ring_ready(m_fsChannel); if (!alertingPDU.GetQ931().GetProgressIndicator(pi)) pi = 0; @@ -1151,7 +1150,7 @@ bool FSH323Connection::OnAlerting(const H323SignalPDU &alertingPDU, const PStrin m_ChannelProgress = true; } } - return ( status == SWITCH_STATUS_SUCCESS); + return H323Connection::OnAlerting(alertingPDU,user); } void FSH323Connection::AnsweringCall(AnswerCallResponse response) From 1529c0ec8a99643d9884d100e24437a25f647624 Mon Sep 17 00:00:00 2001 From: Matrhieu Rene Date: Tue, 19 Jul 2011 16:14:14 -0400 Subject: [PATCH 02/15] mod_portaudio: move load_config a bit lower since it needs to use the hashtables --- src/mod/endpoints/mod_portaudio/mod_portaudio.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 793989a557..bc4c19b614 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -1311,10 +1311,6 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_portaudio_load) memset(&globals, 0, sizeof(globals)); - if ((status = load_config()) != SWITCH_STATUS_SUCCESS) { - return status; - } - switch_core_hash_init(&globals.call_hash, module_pool); switch_core_hash_init(&globals.sh_streams, module_pool); switch_core_hash_init(&globals.endpoints, module_pool); @@ -1336,6 +1332,10 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_portaudio_load) globals.dual_streams = 0; #endif + if ((status = load_config()) != SWITCH_STATUS_SUCCESS) { + return status; + } + if (dump_info(0)) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Couldn't find any audio devices!\n"); return SWITCH_STATUS_TERM; From 2f6f71d4a9eb5b7e06341413446c17b807140dce Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Tue, 19 Jul 2011 18:49:04 -0400 Subject: [PATCH 03/15] flex client: the hotkeys js is broken, get rid of it --- clients/flex/freeswitch.html | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/clients/flex/freeswitch.html b/clients/flex/freeswitch.html index 9d5b54e1f3..0c2aeebefc 100644 --- a/clients/flex/freeswitch.html +++ b/clients/flex/freeswitch.html @@ -11,7 +11,6 @@ -