Revision
17018
Author
anthm
Date
2010-03-16 18:04:18 -0500 (Tue, 16 Mar 2010)

Log Message

dtmf tweak

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (17017 => 17018)


--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	2010-03-16 22:49:54 UTC (rev 17017)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c	2010-03-16 23:04:18 UTC (rev 17018)
@@ -2772,6 +2772,7 @@
 
 		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 @@
 						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);
 						}
 					}
 				}