[Freeswitch-trunk] [commit] r12732 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nua
FreeSWITCH SVN
mikej at freeswitch.org
Tue Mar 24 08:32:08 PDT 2009
Author: mikej
Date: Tue Mar 24 10:32:08 2009
New Revision: 12732
Log:
Thu Mar 5 10:20:11 CST 2009 Pekka Pessi <first.last at nokia.com>
* check_nua: s2_setup_logs() now turns on transport logging, too
Ignore-this: 4ad4dc1efaf76c34a46038586a00e084
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_nua.c
Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update (original)
+++ freeswitch/trunk/libs/sofia-sip/.update Tue Mar 24 10:32:08 2009
@@ -1 +1 @@
-Tue Mar 24 10:29:44 CDT 2009
+Tue Mar 24 10:30:39 CDT 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_nua.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_nua.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_nua.c Tue Mar 24 10:32:08 2009
@@ -295,6 +295,11 @@
su_log_soft_set_level(nea_log, level);
su_log_soft_set_level(nta_log, level);
su_log_soft_set_level(tport_log, level);
+
+ if (getenv("TPORT_LOG") == NULL && getenv("S2_TPORT_LOG") == NULL) {
+ if (s2sip)
+ tport_set_params(s2sip->master, TPTAG_LOG(level > 1), TAG_END());
+ }
}
nua_t *s2_nua_setup(char const *label,
More information about the Freeswitch-trunk
mailing list