From: Brian West Date: Mon, 16 Mar 2009 02:15:12 +0000 (+0000) Subject: reset rtp timer on unhold op X-Git-Tag: v1.0.4~1518 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d0918cda408a73fac0b48f982ae2ccdf39810b;p=thirdparty%2Ffreeswitch.git reset rtp timer on unhold op git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12617 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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); }