[Freeswitch-svn] [commit] r8046 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua
Freeswitch SVN
mikej at freeswitch.org
Mon Apr 7 13:05:41 EDT 2008
Author: mikej
Date: Mon Apr 7 13:05:41 2008
New Revision: 8046
Modified:
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c
Log:
Mon Apr 7 13:01:00 EDT 2008 Pekka.Pessi at nokia.com
* nua_session.c: if timer is Require'd default to local refresher if Session-Expires has no refresher parameter
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c Mon Apr 7 13:05:41 2008
@@ -4168,6 +4168,10 @@
else if (strcasecmp(x->x_refresher, "uas") == 0)
t->remote.refresher = uas ? nua_local_refresher : nua_remote_refresher;
}
+ else if (t->remote.require) {
+ /* Require: timer but no refresher parameter in Session-Expires header */
+ t->remote.refresher = nua_local_refresher;
+ }
}
if (sip->sip_min_se)
More information about the Freeswitch-svn
mailing list