[Freeswitch-svn] [commit] r11842 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua
FreeSWITCH SVN
mikej at freeswitch.org
Wed Feb 11 09:11:20 PST 2009
Author: mikej
Date: Wed Feb 11 11:11:20 2009
New Revision: 11842
Log:
Wed Jan 21 14:32:32 CST 2009 Pekka Pessi <first.last at nokia.com>
* check_nua: fiddled with some timing issues
Modified:
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_etsi.c
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_session.c
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/test_s2.c
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_etsi.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_etsi.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_etsi.c Wed Feb 11 11:11:20 2009
@@ -244,6 +244,8 @@
fail_unless(s2_check_callstate(nua_callstate_ready));
fail_unless(s2_check_request(SIP_METHOD_ACK));
+ s2_fast_forward(5);
+
respond_with_sdp(invite, d1, SIP_200_OK, TAG_END());
fail_unless(s2_check_request(SIP_METHOD_ACK));
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_session.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_session.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/check_session.c Wed Feb 11 11:11:20 2009
@@ -2391,7 +2391,7 @@
s2_fast_forward(300);
invite_timer_round(nh, "300", NULL);
- s2_fast_forward(300);
+ s2_fast_forward(140);
nua_bye(nh, TAG_END());
@@ -2403,7 +2403,7 @@
s2_free_message(bye);
fail_unless(s2_check_event(nua_r_bye, 407));
- s2_fast_forward(300);
+ s2_fast_forward(160);
nua_authenticate(nh, NUTAG_AUTH(s2_auth_credentials), TAG_END());
bye = s2_wait_for_request(SIP_METHOD_BYE);
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/test_s2.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/test_s2.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/test_s2.c Wed Feb 11 11:11:20 2009
@@ -125,6 +125,8 @@
_su_time = _su_time_fast_forwarder;
time_offset += seconds;
+
+ su_root_step(s2->root, 0);
}
/* -- NUA events -------------------------------------------------------- */
More information about the Freeswitch-svn
mailing list