]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
reset rtp timer on unhold op
authorBrian West <brian@freeswitch.org>
Mon, 16 Mar 2009 02:15:12 +0000 (02:15 +0000)
committerBrian West <brian@freeswitch.org>
Mon, 16 Mar 2009 02:15:12 +0000 (02:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12617 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index 3e4b380d9b5a6c4fdab94aaf77548cc252d9b7f9..5de6d7dab6c303a1bec25de55b151c6c91974aab 100644 (file)
@@ -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);
                        }