Wed Jan 21 14:32:32 CST 2009 Pekka Pessi <first.last@nokia.com>

* check_nua: fiddled with some timing issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11842 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-02-11 17:11:20 +00:00
parent 4fd9addba6
commit 8fb926d3ac
3 changed files with 6 additions and 2 deletions

View File

@ -244,6 +244,8 @@ START_TEST(SIP_CC_OE_CE_TI_008)
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));

View File

@ -2391,7 +2391,7 @@ START_TEST(bye_4_2_2)
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 @@ START_TEST(bye_4_2_2)
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);

View File

@ -125,6 +125,8 @@ void s2_fast_forward(unsigned long seconds)
_su_time = _su_time_fast_forwarder;
time_offset += seconds;
su_root_step(s2->root, 0);
}
/* -- NUA events -------------------------------------------------------- */