]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
more 2833 recover code
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 16 Sep 2011 20:35:16 +0000 (15:35 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 16 Sep 2011 20:35:16 +0000 (15:35 -0500)
src/mod/endpoints/mod_sofia/sofia_glue.c

index 8b0af395236de8c1870fade62580e64adb1015e2..6fcbbe3bc220bd949fdfe7782a8d6498c102c4b5 100644 (file)
@@ -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)) {