mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 14:44:17 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5181 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
3db8dd0e88
commit
614177acd9
7 files changed
+81
-45
No files matched your search
@@ -690,6 +690,11 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
||||
switch_core_session_t *other_session;
|
||||
switch_channel_t *other_channel;
|
||||
char *ip = NULL, *port = NULL;
|
||||
|
||||
if (switch_channel_get_state(channel) >= CS_HANGUP) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
switch_channel_set_flag(channel, CF_BYPASS_MEDIA);
|
||||
tech_pvt->local_sdp_str = NULL;
|
||||
if ((uuid = switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE))
|
||||
@@ -710,6 +715,11 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
|
||||
break;
|
||||
case SWITCH_MESSAGE_INDICATE_MEDIA:{
|
||||
uint32_t count = 0;
|
||||
|
||||
if (switch_channel_get_state(channel) >= CS_HANGUP) {
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
switch_channel_clear_flag(channel, CF_BYPASS_MEDIA);
|
||||
tech_pvt->local_sdp_str = NULL;
|
||||
if (!switch_rtp_ready(tech_pvt->rtp_session)) {
|
||||
|
||||
Reference in new issue
Block a user