cannot pass 2833 on a transcoded call

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8386 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-05-13 20:36:23 +00:00
parent 81157864bd
commit 40efe06a2f
19 changed files with 1042 additions and 7 deletions

View File

@@ -750,6 +750,12 @@ static switch_status_t sofia_receive_message(switch_core_session_t *session, swi
TAG_END());
}
break;
case SWITCH_MESSAGE_INDICATE_TRANSCODING_NECESSARY:
if (tech_pvt->rtp_session && switch_rtp_test_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_PASS_RFC2833)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Cannot pass 2833 on a transcoded call.\n");
switch_rtp_clear_flag(tech_pvt->rtp_session, SWITCH_RTP_FLAG_PASS_RFC2833);
}
break;
case SWITCH_MESSAGE_INDICATE_BROADCAST: {