From 4048a087b7f83313aa9f7d4ea1e4181b00d2caa1 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 16 Sep 2011 15:35:16 -0500 Subject: [PATCH] more 2833 recover code --- src/mod/endpoints/mod_sofia/sofia_glue.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 8b0af39523..6fcbbe3bc2 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -5579,6 +5579,14 @@ static int recover_callback(void *pArg, int argc, char **argv, char **columnName } } + if (tech_pvt->te) { + switch_rtp_set_telephony_event(tech_pvt->rtp_session, tech_pvt->te); + } + + if (tech_pvt->recv_te) { + switch_rtp_set_telephony_recv_event(tech_pvt->rtp_session, tech_pvt->recv_te); + } + } if (switch_channel_get_variable(channel, SWITCH_SIGNAL_BOND_VARIABLE)) {