mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 00:41:41 +00:00
fix stale calls then fax send/recv in some circumstance
This commit is contained in:
parent
a62282231d
commit
00fce043eb
@ -1,3 +1,4 @@
|
|||||||
|
fix stale calls then fax send/recv in some circumstance
|
||||||
remove SWITCH_RTP_FLAG_AUTO_CNG - works incorrectly.
|
remove SWITCH_RTP_FLAG_AUTO_CNG - works incorrectly.
|
||||||
moves the switch_rtp_request_port() call from the contructor to FSH323Connection::CreateRealTimeLogicalChannel() - fix
|
moves the switch_rtp_request_port() call from the contructor to FSH323Connection::CreateRealTimeLogicalChannel() - fix
|
||||||
rtp port leak. tnx to Peter Olsson.
|
rtp port leak. tnx to Peter Olsson.
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
*
|
*
|
||||||
* mod_h323.cpp -- H323 endpoint
|
* mod_h323.cpp -- H323 endpoint
|
||||||
*
|
*
|
||||||
* Version 0.0.57
|
* Version 0.0.58
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define DEBUG_RTP_PACKETS
|
//#define DEBUG_RTP_PACKETS
|
||||||
@ -1333,7 +1333,19 @@ void FSH323Connection::OnModeChanged(const H245_ModeDescription & newMode)
|
|||||||
const char *uuid = switch_channel_get_variable(m_fsChannel, SWITCH_SIGNAL_BOND_VARIABLE);
|
const char *uuid = switch_channel_get_variable(m_fsChannel, SWITCH_SIGNAL_BOND_VARIABLE);
|
||||||
if (uuid != NULL) {
|
if (uuid != NULL) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"uuid:%s\n",uuid);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"uuid:%s\n",uuid);
|
||||||
switch_channel_set_private(switch_core_session_get_channel(switch_core_session_locate(switch_channel_get_variable(m_fsChannel, SWITCH_SIGNAL_BOND_VARIABLE))), "t38_options", t38_options);
|
|
||||||
|
switch_core_session_t *session = switch_core_session_locate(switch_channel_get_variable(m_fsChannel, SWITCH_SIGNAL_BOND_VARIABLE));
|
||||||
|
if (session) {
|
||||||
|
switch_channel_t * channel = switch_core_session_get_channel(session);
|
||||||
|
if (channel) {
|
||||||
|
switch_channel_set_private(channel, "t38_options", t38_options);
|
||||||
|
}else {
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "no channel?\n");
|
||||||
|
}
|
||||||
|
switch_core_session_rwunlock(session);
|
||||||
|
}else{
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "no session\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
switch_core_session_message_t msg = { 0 };
|
switch_core_session_message_t msg = { 0 };
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
*
|
*
|
||||||
* mod_h323.h -- H323 endpoint
|
* mod_h323.h -- H323 endpoint
|
||||||
*
|
*
|
||||||
* Version 0.0.57
|
* Version 0.0.58
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__GNUC__) && defined(HAVE_VISIBILITY)
|
#if defined(__GNUC__) && defined(HAVE_VISIBILITY)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user