allow hold timeout when regular rtp timeout is not set

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7937 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-03-19 21:43:13 +00:00
parent fdd4320b1a
commit 9ed0da04b5
1 changed files with 1 additions and 1 deletions

View File

@ -1822,7 +1822,7 @@ uint8_t sofia_glue_negotiate_sdp(switch_core_session_t *session, sdp_session_t *
switch_set_flag_locked(tech_pvt, TFLAG_SIP_HOLD);
switch_channel_presence(tech_pvt->channel, "unknown", "hold");
if (tech_pvt->max_missed_packets) {
if (tech_pvt->max_missed_hold_packets) {
switch_rtp_set_max_missed_packets(tech_pvt->rtp_session, tech_pvt->max_missed_hold_packets);
}