[asterisk-commits] oej: trunk r216695 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 7 08:06:24 CDT 2009


Author: oej
Date: Mon Sep  7 08:06:19 2009
New Revision: 216695

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=216695
Log:
If there is no session timer in the INVITE, set it to default value (not unset minimum = -1)

Patch by oej

closes issue #15621
Reported by: fnordian
Tested by: atis

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=216695&r1=216694&r2=216695
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Sep  7 08:06:19 2009
@@ -20631,7 +20631,8 @@
 					st_interval = uac_max_se;
 				}
 			} else {
-				st_interval = uac_min_se;
+				/* Set to default max value */
+				st_interval = global_max_se;
 			}
 			break;
 




More information about the asterisk-commits mailing list