From: Anthony Minessale Date: Fri, 16 Sep 2011 20:35:16 +0000 (-0500) Subject: more 2833 recover code X-Git-Tag: v1.2-rc1~51^2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4048a087b7f83313aa9f7d4ea1e4181b00d2caa1;p=thirdparty%2Ffreeswitch.git more 2833 recover code --- 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)) {