Commit d0964e76 authored by Pekka Pessi's avatar Pekka Pessi

test_100rel.c: check that UPDATE has Session-Expires header

darcs-hash:20070411110543-65a35-6a2129c3e3ef9cd108d8e2fb76ac5dcab9d16835.gz
parent d34ddc9b
......@@ -163,6 +163,7 @@ int test_180rel(struct context *ctx)
nua_set_params(ctx->b.nua,
NUTAG_EARLY_MEDIA(1),
NUTAG_SESSION_TIMER(180),
TAG_END());
run_b_until(ctx, nua_r_set_params, until_final_response);
......@@ -970,6 +971,8 @@ int test_preconditions(struct context *ctx)
TEST_1(e = e->next); TEST_E(e->data->e_event, nua_r_update);
TEST(e->data->e_status, 200);
TEST_1(sip = sip_object(e->data->e_msg));
TEST_1(sip->sip_session_expires);
TEST_1(e = e->next); TEST_E(e->data->e_event, nua_i_state);
TEST(callstate(e->data->e_tags), nua_callstate_proceeding);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment