[commit] r7937 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: mikej Date: Wed Mar 19 17:43:13 2008 New Revision: 7937 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Log: allow hold timeout when regular rtp timeout is not set Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_glue.c Wed Mar 19 17:43:13 2008 @@ -1822,7 +1822,7 @@ 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); }
participants (1)
-
Freeswitch SVN