[Freeswitch-svn] [commit] r8005 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN mikej at freeswitch.org
Wed Apr 2 16:49:43 EDT 2008


Author: mikej
Date: Wed Apr  2 16:49:42 2008
New Revision: 8005

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Log:
fix sip session timers on inbound calls when setting from profile param.

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Wed Apr  2 16:49:42 2008
@@ -326,7 +326,7 @@
 	private_object_t *tech_pvt = (private_object_t *) switch_core_session_get_private(session);
 	switch_channel_t *channel = switch_core_session_get_channel(session);
 	switch_status_t status;
-	uint32_t session_timeout = 0;
+	uint32_t session_timeout = tech_pvt->profile->session_timeout;
 	const char *val;
 
 	if (switch_test_flag(tech_pvt, TFLAG_ANS) || switch_channel_test_flag(channel, CF_OUTBOUND)) {



More information about the Freeswitch-svn mailing list