Tue Mar 3 10:49:51 CST 2009 Pekka Pessi <first.last@nokia.com>

* test_nta.c: timer C now CANCELs INVITE transaction
  Ignore-this: 8de2e5747e7ae0e62e2d8ad9aeb0cbed
  
  408 response is not generated (unless CANCEL times out, too.)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12383 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-03-03 17:23:31 +00:00
parent b38b9edd99
commit 82a42fc678
2 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
Tue Mar 3 11:22:42 CST 2009
Tue Mar 3 11:23:11 CST 2009

View File

@ -530,7 +530,7 @@ until_server_canceled(client_t *c)
{
agent_t *ag = c->c_ag;
for (ag->ag_canceled = 0; !ag->ag_canceled;) {
for (ag->ag_canceled = 0; !ag->ag_canceled || c->c_status < 200;) {
if (tstflags & tst_verbatim) {
fputs(".", stdout); fflush(stdout);
}
@ -3612,8 +3612,9 @@ int test_prack(agent_t *ag)
SIPTAG_PAYLOAD(sdp),
TAG_END()));
/* Run until 1) server gets CANCEL and 2) client gets 408 */
TEST_1(!client_run_until_canceled(ctx, 408));
/* Run until 1) server gets CANCEL and 2) client gets 487 */
/* Note: this has been changed in 1.12.11 */
TEST_1(!client_run_until_canceled(ctx, 487));
TEST_1(ag->ag_canceled != 0);
TEST_P(ag->ag_latest_leg, ag->ag_server_leg);