]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
dtmf tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 16 Mar 2010 23:04:18 +0000 (23:04 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 16 Mar 2010 23:04:18 +0000 (23:04 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17018 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index 9055d00fdf4be161dc61d7e719d4a845d2fe08f8..baa605a06c7a0a121612b9f0720f04bcd62bf715 100644 (file)
@@ -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);
                                                }
                                        }
                                }