mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
pass flush indications across to the b leg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13146 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5adbb63da1
commit
61e9cb9999
@ -702,6 +702,11 @@ static switch_status_t channel_receive_message(switch_core_session_t *session, s
|
||||
switch_frame_t *frame = (switch_frame_t *) pop;
|
||||
switch_frame_free(&frame);
|
||||
}
|
||||
/* avoid endless loop by not forwarding it when it came from this same place */
|
||||
if (tech_pvt->other_session && strcmp(msg->_file, __FILE__)) {
|
||||
/* pass message over to the other leg */
|
||||
switch_core_session_receive_message(tech_pvt->other_session, msg);
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user