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

Freeswitch SVN mikej at freeswitch.org
Sat Feb 2 15:55:15 EST 2008


Author: mikej
Date: Sat Feb  2 15:55:15 2008
New Revision: 7494

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

Log:
use session_timeout when doing invites.

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	Sat Feb  2 15:55:15 2008
@@ -865,6 +865,7 @@
 		extra_headers = stream.data;
 	}
 	
+	session_timeout = tech_pvt->profile->session_timeout;
 	if ((val = switch_channel_get_variable(channel, SOFIA_SESSION_TIMEOUT))) {
 		int v_session_timeout = atoi(val);
 		if (v_session_timeout >= 0) {



More information about the Freeswitch-svn mailing list