From 12d0918cda408a73fac0b48f982ae2ccdf39810b Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 16 Mar 2009 02:15:12 +0000 Subject: [PATCH] reset rtp timer on unhold op git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12617 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_sofia/sofia_glue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 3e4b380d9b..5de6d7dab6 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -2297,6 +2297,7 @@ void sofia_glue_toggle_hold(private_object_t *tech_pvt, int sendonly) switch_yield(250000); if (tech_pvt->max_missed_packets) { + switch_rtp_reset_media_timer(tech_pvt->rtp_session); switch_rtp_set_max_missed_packets(tech_pvt->rtp_session, tech_pvt->max_missed_packets); }