forked from Mirrors/freeswitch
dtmf tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17018 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2898234043
commit
c14a3ea299
@ -2772,6 +2772,7 @@ switch_status_t sofia_glue_activate_rtp(private_object_t *tech_pvt, switch_rtp_f
|
||||
|
||||
if (tech_pvt->te) {
|
||||
switch_rtp_set_telephony_event(tech_pvt->rtp_session, tech_pvt->te);
|
||||
switch_rtp_set_telephony_recv_event(tech_pvt->rtp_session, tech_pvt->te);
|
||||
}
|
||||
|
||||
if (sofia_test_pflag(tech_pvt->profile, PFLAG_SUPPRESS_CNG) ||
|
||||
@ -3517,6 +3518,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Set 2833 dtmf send payload to %u\n", te);
|
||||
if (tech_pvt->rtp_session) {
|
||||
switch_rtp_set_telephony_event(tech_pvt->rtp_session, tech_pvt->te);
|
||||
switch_rtp_set_telephony_recv_event(tech_pvt->rtp_session, tech_pvt->te);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user